Categories:

System Functions (System Control)

SYSTEM$CANCEL_JOB

Cancels a running Snowpark Container Services job. All the job containers exit.

See also:

Snowpark Container Services: Working with jobs

Syntax

SYSTEM$CANCEL_JOB( <job_uuid> )
Copy

Arguments

job_uuid

Snowflake-assigned UUID of the job.

Usage Notes

Examples

SELECT SYSTEM$CANCEL_JOB('01ac1948-0300-0001-0000-0000000850d5');
Copy
+------------------------------------------------------------------+
|                       SYSTEM$CANCEL_JOB                          |
+------------------------------------------------------------------+
| Job 01ac1948-0300-0001-0000-0000000850d5 successfully terminated |
+------------------------------------------------------------------+