-
Notifications
You must be signed in to change notification settings - Fork 213
Add session properties configuration #348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
00e0d97 to
9de3d47
Compare
|
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
9de3d47 to
6b5e665
Compare
|
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
|
hi @nineinchnick is there any. blockers? |
|
No, except for the signed CLA. They're processed every 2-3 weeks, and I'd expect the next batch to be processed in a few days. |
6b5e665 to
1e7113a
Compare
|
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
1e7113a to
43a44d3
Compare
|
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
43a44d3 to
9d3984f
Compare
|
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
d3a875d to
8ac7c68
Compare
|
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
|
@sudohainguyen you know you can run tests locally, right? :-) |
|
@nineinchnick my bad, been trying to run test script in local but got this |
|
Which version of bash do you use? If you have 3.x, try upgrading to 5.x. Bash 3 is 21 years old. |
|
ah right, that's it! let me try |
|
|
8ac7c68 to
432505b
Compare
|
passed in local with the change but got |
|
@cla-bot check |
|
The cla-bot has been summoned, and re-checked this pull request! |
432505b to
406832d
Compare
d662ed6 to
3352e10
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for mounting Trino session property configurations via a file or properties, aligned with the official session property manager.
- Introduce a
sessionPropertykey in Helm chart values with two modes (configmaporproperties). - Update the coordinator ConfigMap template to generate
session-property-config.propertiesand JSON based on the chosen mode. - Add examples in
values.yaml, tests, and a README entry for the newsessionPropertyconfiguration.
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| tests/trino/test-values.yaml | Added sessionProperty and sample session properties JSON; inserted system_session_properties. |
| charts/trino/values.yaml | Defined sessionProperty in default values with commented examples for both modes. |
| charts/trino/templates/configmap-coordinator.yaml | Render session-property configuration files when sessionProperty is set. |
| charts/trino/README.md | Documented the new sessionProperty top-level value. |
Comments suppressed due to low confidence (4)
charts/trino/templates/configmap-coordinator.yaml:120
- The condition
if .Values.sessionPropertyis always true (defaults to{}), causing Helm to fail when notypeis set. Change the guard to check for the presence of.Values.sessionProperty.typeinstead.
{{- if .Values.sessionProperty }}
tests/trino/test-values.yaml:349
- This duplicate
sessionPropertiesblock does not match the chart's expectedsessionPropertyschema. Rename or remove it to keep test values aligned with the Helm chart values.
sessionProperties: |-
charts/trino/README.md:352
- [nitpick] Expand this entry to document the
sessionPropertysub-fields (type,sessionPropertiesConfig,properties) and include usage examples for both modes.
* `sessionProperty` - object, default: `{}`
tests/trino/test-values.yaml:325
- Add a test scenario for the
propertiesmode (settingtype: propertiesandpropertiesblock) to validate that both template branches for sessionProperty are covered.
sessionProperty:
|
mind reviewing again @nineinchnick ? |
Signed-off-by: Harry <[email protected]>
0ccf8af to
df31052
Compare
|
I think plural |
The MR is about to support passing file-based session property config and mount to config path which is default by
/etc/trino