-
Notifications
You must be signed in to change notification settings - Fork 73
Document using colon instead of equals sign in session properties #146
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
base: master
Are you sure you want to change the base?
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 |
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.
Thanks for fixing this. I introduced this breaking change in #127
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 |
Hey team @divinerapier @nineinchnick , just a quick note: |
Hi @Flgado Thanks for raising this important point about URL encoding and silent failures—it's a great catch! 😊 I agree this potential edge case deserves attention. However, since this PR primarily focuses on fixing documentation consistency (aligning session_properties syntax with Trino's actual behavior), I propose we handle it in two steps: Merge the current doc fix to avoid user confusion. ✅ Open a dedicated issue to deeply investigate: |
Totally agree! Just wanted to share this with you both because I was also caught by surprise. Let's open an issue—I'm happy to pair up and help fix this 😃 Thanks! |
Signed-off-by: divinerapier <[email protected]>
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 team, especially @nineinchnick and @Flgado 👋 Quick CLA update: I've submitted my signed CLA to [email protected] from I've pushed an important fix addressing the intermittent unit test failures we observed
Root cause identified: Fix implemented: This resolves the flaky tests while preserving the original session_properties documentation correction. Would you mind taking another look when convenient? |
@@ -474,6 +491,7 @@ func integrationOpen(t *testing.T, dsn ...string) *sql.DB { | |||
if err != nil { | |||
t.Fatal(err) | |||
} | |||
waitForTrinoReady(t, db) |
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.
This method should not be receiving t
, and logging of any errors should happen here.
Also, it because it queries the system catalog, it makes some tests redundant, like TestIntegrationSelectQueryIterator
. Would executing a SELECT 1
query be sufficient? If yes, can we execute this query using the trino
command inside the container, after https://github.com/trinodb/trino-go-client/blob/master/trino/integration_test.go ? This way it'll be independent of the correctness of this driver.
In any case, this should be done in a separate commit.
How does the failure manifest itself? We use a single node instance in these tests.
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.
Regarding the recent changes to the integration test logic:
Reason for modification
I encountered intermittent No nodes available to run query
errors during local test execution. While we check container health via waitForContainerHealth, there appears to be a gap between container readiness and actual service availability. My changes address this by adding explicit service-level verification before executing queries.
CI pipeline issue
For the GitHub CI failure observed here, I'm currently investigating but would appreciate your insights.
@cla-bot check |
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 |
The cla-bot has been summoned, and re-checked this pull request! |
Correct inaccuracies in the documentation regarding session_properties configuration.