Closed wugeer closed 2 weeks ago
Attention: Patch coverage is 78.57143%
with 6 lines
in your changes missing coverage. Please review.
Project coverage is 83.92%. Comparing base (
76d897e
) to head (4c933e1
). Report is 895 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
superset/db_engine_specs/base.py | 50.00% | 4 Missing :warning: |
superset/db_engine_specs/impala.py | 90.00% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Only @villebro 's review can unblock this now... thanks to both of you for following up on this!
@villebro Could you please take some time to review my code? Thanks a lot!
Looking good, however, in the interest of legibility, I would prefer a slightly more explicit name for the new property.
@villebro have Done! :)
feat: cancel sqllab impala query on stop
SUMMARY
Currently, when executing an Impala query in SQL Lab, clicking the cancel button only cancels the query in Superset, but the query is not canceled on the Impala side, and the resources are not released. This commit resolves the issue by ensuring that when an Impala query is canceled in SQL Lab, the query is also canceled on the Impala side, achieving the goal of releasing resources.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
before impala_sql_lab_cancel_before.webm
after impala_cancel_query.webm
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION