Skip to content
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

SNOW-1563083: snowflakeConn creates/manages its own context #1196

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

joellubi
Copy link
Contributor

@joellubi joellubi commented Aug 12, 2024

Description

SNOW-1563083 Avoid persisting query context in snowflakeConn, using it only for dialing purposes as described in docs.

Fixes: #1186

Checklist

  • Created tests which fail without the change
  • Extended the README / documentation (yes, inline comments added)

Copy link

github-actions bot commented Aug 12, 2024

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@joellubi joellubi changed the title [WIP] snowflakeConn creates/manages its own context SNOW-1563083: [WIP] snowflakeConn creates/manages its own context Aug 12, 2024
@joellubi
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@joellubi joellubi changed the title SNOW-1563083: [WIP] snowflakeConn creates/manages its own context SNOW-1563083: snowflakeConn creates/manages its own context Aug 12, 2024
@joellubi joellubi marked this pull request as ready for review August 12, 2024 14:04
@joellubi joellubi requested a review from a team as a code owner August 12, 2024 14:04
@sfc-gh-dheyman-1
Copy link
Collaborator

@joellubi Thank you for the contribution! You're actually right, we shouldn't propagate the context to build the connection. I'm running this PR against our CI tests and we'll get back to you (probably on Friday).

@sfc-gh-dheyman-1 sfc-gh-dheyman-1 merged commit 5649c7a into snowflakedb:master Aug 20, 2024
40 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Aug 20, 2024
@sfc-gh-dheyman-1
Copy link
Collaborator

Hi @joellubi, sorry for the delay - there were some issues with one of our CI tests environments but these are fixed and all tests are passing. This will be released in the upcoming version later this month. Thank you once again for the contribution!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SNOW-1563083: database/sql driver caches cancelled context
3 participants