Skip to main content
CANCEL LOAD cancels a given load job: Broker Load, Spark Load, or INSERT. A load job in the PREPARED, CANCELLED or FINISHED state cannot be canceled. Canceling a load job is an asynchronous process. You can use the SHOW LOAD statement to check whether a load job is successfully canceled. The load job is successfully canceled if the value of State is CANCELLED and the value of type (displayed in ErrorMsg) is USER_CANCEL.

Syntax

Parameters

Examples

Example 1: Cancel the load job whose label is example_label in the current database.
Example 2: Cancel the load job whose label is example_label in the example_db database.