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 isexample_label in the current database.
example_label in the example_db database.