RekTai opened a new issue, #55800: URL: https://github.com/apache/arrow/issues/55800
### Describe the enhancement requested The current SQLCancel implementation in the Arrow Flight SQL ODBC driver cancels an in-progress fetch by calling FlightStreamReader::Cancel() on each stream reader, which invokes gRPC's TryCancel() on the client's local stream. This stops the client from reading further data, but it does not necessarily signal the server, via the Flight SQL protocol's own cancellation mechanism, to actually stop executing the query — the server may continue running the original query to completion even though the client has walked away. The Flight SQL protocol defines CancelFlightInfo (via FlightSqlClient::CancelFlightInfo()) as the proper way to request that a server stop executing a query tied to a given FlightInfo. Using this instead of (or in addition to) local stream cancellation would let cancellation be communicated to and acknowledged by the server, rather than relying on the server noticing a dropped/cancelled client stream. This is a known follow-up from the initial SQLCancel implementation, tracked separately from the minimal client-side fix. ### Component(s) C++, FlightRPC -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
