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

Stop button for queries doesn't work in SQL Lab. #18787

Closed
3 tasks done
saurabh3091 opened this issue Feb 17, 2022 · 2 comments · Fixed by #18789
Closed
3 tasks done

Stop button for queries doesn't work in SQL Lab. #18787

saurabh3091 opened this issue Feb 17, 2022 · 2 comments · Fixed by #18789
Labels
#bug Bug report

Comments

@saurabh3091
Copy link
Contributor

saurabh3091 commented Feb 17, 2022

The issue concerns hive/spark-thriftserver(maybe also presto but not tested) as the processing engine.
When a user runs a query on SQL Lab and later for any reason wants to stop it, it just stops on the frontend as solved here.
The query on the processing engines mentioned above still runs.
This PR aimed to solve the issue for other DBs but not hive. After it this PR was added to fix it but it still doesn't worrk.

How to reproduce the bug

  1. Run any query in SQL Lab with hive/spark-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.

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.
@rpmahesh2022
Copy link

SQL-Lab - query does not stop with the stop button. received the error "Failed at stopping query. 'UuFm_F97lp'"

the query continues to run even after I reboot the server.
Screen Shot 2022-02-18 at 8 43 49 PM

@saurabh3091
Copy link
Contributor Author

@rpmahesh2022 which backend do you use for query execution and which version of superset?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug Bug report
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants