-
Notifications
You must be signed in to change notification settings - Fork 121
Closed
Description
We are currently using
databricks-sql-python/examples/README.md
Line 34 in a5b1ab0
- **`query_cancel.py`** shows how to cancel a query assuming that you can access the `Cursor` executing that query from a different thread. This is necessary because `databricks-sql-connector` does not yet implement an asynchronous API; calling `.execute()` blocks the current thread until execution completes. Therefore, the connector can't cancel queries from the same thread where they began. |
Metadata
Metadata
Assignees
Labels
No labels