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

connection remaining open from databricks sql after timeout #13

Open
avelino opened this issue Aug 1, 2024 · 0 comments
Open

connection remaining open from databricks sql after timeout #13

avelino opened this issue Aug 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@avelino
Copy link
Member

avelino commented Aug 1, 2024

When executing a query that takes a long time to run, there will come a point where Metabase will kill the query and send a "close" signal to Databricks SQL, but Databricks ignores "close" via JDBC.

proposed solution

Identify the id of the query that received a timeout exception, perform the "close" (as done today) and make a request to the Databricks SQL API to kill the query.

Databricks API: Cancel statement execution

@avelino avelino added the bug Something isn't working label Aug 1, 2024
avelino added a commit that referenced this issue Aug 1, 2024
we implemented it, but it was not being used
it will not solve the issue of keeping the connection open
described in issue #13, but it keeps the JDBC implementation
organized

Signed-off-by: Avelino <[email protected]>
avelino added a commit that referenced this issue Aug 9, 2024
we implemented it, but it was not being used
it will not solve the issue of keeping the connection open
described in issue #13, but it keeps the JDBC implementation
organized

Signed-off-by: Avelino <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant