You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
(This section helps Arrow developers understand the context and why for this feature, in addition to the what)
In current Ballista implementation, when a SQL is submitted, there is no way to cancel it. We need to implement a way to cancel a running SQL, and if there are running tasks scheduled to run on Executors, those running tasks should be cancelled as well.
I'm not sure whether DataFusion can cancel a running query or not. For Ballista, it needs additional communication to cancel running queries.
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
(This section helps Arrow developers understand the context and why for this feature, in addition to the what)
In current Ballista implementation, when a SQL is submitted, there is no way to cancel it. We need to implement a way to cancel a running SQL, and if there are running tasks scheduled to run on Executors, those running tasks should be cancelled as well.
I'm not sure whether DataFusion can cancel a running query or not. For Ballista, it needs additional communication to cancel running queries.
Add cancel_query rpc call to Scheduler grpc protocol
rpc CancelQuery (CancelQueryParams) returns (CancelQueryResult) {}
Add cancel job logic to query stage scheduler
Cancel the running task on Executor
Cancel the running Futures on Executor's Tokio queue
Check all the Datafusion async spawn logic, make sure the spawned future can be cancelled.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: