You can use this statement to cancel an asynchronous job.
Notice
- The
job_idparameter is required. - This statement stops a running job or cancels a job that has not been started.
- If you execute this statement on a completed job,
ERROR 4018 (HY000): Entry not existis returned. - You can still query the status of a canceled job.
Syntax
CANCEL JOB 'job_id';
Examples
obclient> CANCEL JOB '2010011125899906847397';
3 rows in set (0.00 sec)