CANCEL QUERY
statement is used to cancel a running query within the Firebolt engine. This statement provides a mechanism to terminate the execution of a specific query identified by its unique query_id
.
Using query labels makes it easier to retrieve the query id of your query.
Parameter | Description |
---|---|
<query_id> | A unique identifier assigned to the query that needs to be canceled. |
information_schema.engine_running_queries
view.CANCELING
there.
After the cancellation process is completed, the query will have the CANCELED
status in the information_schema.engine_query_history
view: