-
Notifications
You must be signed in to change notification settings - Fork 15
Stopping queries running with Gitbase doesn't work #35
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
Comments
More context: queries seem to be cancelled correctly from superset point of view, there are no errors reported to the user. But the query will continue running in gitbase, which means superset cancels by forgetting about the results, but not calling |
Superset doesn't really stop query. The model: https://github.com/src-d/superset-compose/blob/master/superset/superset/models/sql_lab.py#L36 Running query calls There is no hook to check status and cancel the query on EngineSpec level. I'm currently exploring how difficult it is to add query cancelation support. |
I implemented cancellation: https://github.com/src-d/superset-compose/pull/53/files The PR also doesn't have tests. Most probably after tests are written it makes sense to rebase on superset master and suggest the change to upstream. |
fixed |
No description provided.
The text was updated successfully, but these errors were encountered: