microsoft / microsoft/mssql-python
[QUESTION/FEATURE] How to cancel a query?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 473
- Forks
- 60
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 36
Description
Context: I'm creating an implementation of dbt-fabric that uses this driver.
How would I cancel a submitted query? Does the query cancel when the thread that is running cursor.execute gets killed?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no source files or tests; it only identifies cursor.execute and a dbt-fabric driver implementation. Start by tracing the query-submission and cursor execution entry points, then determine whether cancellation is supported or needs a new design. Done should clearly establish the supported cancellation behavior, including what happens when the executing thread is terminated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- database
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100