-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
Stop button for queries doesn't work in SQL Lab when using SQL Lab with impala engine #20950
Comments
Same issue here. error log: 2022-08-03 15:15:05,486:INFO:backoff:Backing off stop_query(...) for 0.5s (superset.exceptions.SupersetCancelQueryException: Could not cancel query)
2022-08-03 15:15:06,052:INFO:backoff:Backing off stop_query(...) for 0.8s (superset.exceptions.SupersetCancelQueryException: Could not cancel query)
[2022-08-03 15:15:06 +0200] [2279240] [DEBUG] GET /superset/queries/1659532434199.468
2022-08-03 15:15:06,850:INFO:backoff:Backing off stop_query(...) for 0.6s (superset.exceptions.SupersetCancelQueryException: Could not cancel query)
2022-08-03 15:15:07,433:INFO:backoff:Backing off stop_query(...) for 0.1s (superset.exceptions.SupersetCancelQueryException: Could not cancel query)
2022-08-03 15:15:07,601:ERROR:backoff:Giving up stop_query(...) after 5 tries (superset.exceptions.SupersetCancelQueryException: Could not cancel query) |
Same issue here |
I already have a solution,The following code in superset/db_engine_specs/impala.py @classmethod
@staticmethod @classmethod
|
A clear and concise description of what the bug is.
I am currently having a problem: Stop button for queries doesn't work in SQL Lab when I use SQL Lab with impala engine.
How to reproduce the bug
1.Run any query in SQL Lab with impala-thriftserver as backend processing engine.
2.Press STOP button on the UI.
3.Check the query engine, the query will still be running. You will still get the results on front end when the query finishes.
Expected results
The query should be killed on the query processing engine.
Actual results
Query keeps running on the processing engine. You will still get the results on the front end when the query finishes.
Screenshots
Environment
browser type and version: Chrome/Firefox
superset version: latest
python version: 3.8
Checklist
Make sure to follow these steps before submitting your issue - thank you!
[√] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[√] I have reproduced the issue with at least the latest released version of superset.
[√] I have checked the issue tracker for the same issue and I haven't found one similar.
The text was updated successfully, but these errors were encountered: