KILL QUERY

❗️

This is a legacy Apache Ignite documentation

The new documentation is hosted here: https://ignite.apache.org/docs/latest/

The KILL QUERY command allows you to cancel a running query.

KILL QUERY {ASYNC} '<query_id>'

Description

ASYNC is an optional parameter which returns control immediately without waiting for the cancellation to finish, and query_id can be retrieved via the SQL QUERIES view.

When a query is cancelled via the KILL command, all parts of the query running on all other nodes are cancelled.