mirror of
https://github.com/apache/superset.git
synced 2026-09-05 23:12:01 +00:00
Databricks queries run through the Python Connector previously had no "stop query" support. The connector's only cancellation mechanism is Cursor.cancel(), which needs a full command identifier from the same backend session; the default Thrift backend's identifier includes a secret that's never exposed via any public/documented accessor, so it can't be reconstructed on the fresh cursor Superset uses to issue cancellation. The newer, opt-in SEA (Statement Execution API) backend uses a plain statement id instead, which can be captured and reused safely, so cancellation is implemented for that case only. Co-Authored-By: Claude <noreply@anthropic.com>