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

fix : Ensure rows, conn and db are closed on all error paths #6321

Merged
merged 3 commits into from
Dec 23, 2024

Conversation

k-anshul
Copy link
Member

@k-anshul k-anshul commented Dec 20, 2024

Also removed otelsql wrapping around db.
Since we don't use sql APIs there are no traces being collected for snowflake db operations.
We have also seen some memory leak issues around otelsql so better to remove it. This is just a precautionary change.

@k-anshul k-anshul self-assigned this Dec 20, 2024
@k-anshul k-anshul merged commit 5e70c2e into main Dec 23, 2024
7 checks passed
@k-anshul k-anshul deleted the snowflake_close_cleanups branch December 23, 2024 16:55
k-anshul added a commit that referenced this pull request Dec 23, 2024
* ensure rows, conn and db are closed on all error paths

* revert otelsql change
k-anshul added a commit that referenced this pull request Jan 6, 2025
* ensure rows, conn and db are closed on all error paths

* revert otelsql change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants