Query Termination
You are looking at an older version of the documentation. The latest version is found here.
Cancelling Queries
When a query is cancelled, processing will be stopped in the query engine and all involved connectors. The semantics of what a connector does in response to the cancellation command depends on the connector implementation. For example, JDBC connectors will asynchronously call cancel on the underlying JDBC driver, which may or may not support this method.