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: Explicitly close connection after adding a connection #1381

Open
wants to merge 14 commits into
base: develop
Choose a base branch
from

Conversation

nj1973
Copy link
Contributor

@nj1973 nj1973 commented Jan 2, 2025

This PR adds code to explicitly close client connections after adding a connection.

When connecting to an Impala cluster hosted in Docker we were getting an exception on variable clean up in SQL Alchemy. Closing clients before exiting prevented these exceptions.

I also took this opportunity to add some integration tests for Impala and raised a few new issues as a result of running them.

TODO: I don't know how to have the Impala tests run as part of a "gcbrun" test execution. I presume I don't have the necessary privileges to see it. We need to resolve this alongside the PR.

@nj1973 nj1973 linked an issue Jan 2, 2025 that may be closed by this pull request
@nj1973
Copy link
Contributor Author

nj1973 commented Jan 2, 2025

/gcbrun

@nj1973 nj1973 marked this pull request as ready for review January 3, 2025 11:58
@nj1973 nj1973 requested a review from a team as a code owner January 3, 2025 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem connecting to Impala
1 participant