Job Management

Job management commands are used to view, describe, and cancel running or completed SQL jobs in Lakehouse.


In This Chapter

PageDescription
SHOW JOBSList jobs; supports filtering by status, time, cluster, and other conditions
DESC JOBView detailed information for a single job, including the execution plan and error messages
CANCEL JOBCancel a job that is currently running

Common Operations

View Jobs

-- View all jobs (most recent records) SHOW JOBS; -- View running jobs SHOW JOBS WHERE status = 'RUNNING'; -- View failed jobs SHOW JOBS WHERE status = 'FAILED' LIMIT 20; -- View jobs on a specific cluster SHOW JOBS WHERE virtual_cluster = 'my_cluster' LIMIT 50;

View Job Details

-- View detailed information for a specific job (including error messages) DESC JOB 'job_id_here';

Cancel a Job

-- Cancel a running job CANCEL JOB 'job_id_here';


DocumentDescription
SQL Commands OverviewCategorized navigation for all SQL commands
INFORMATION_SCHEMAAnalyze historical job data via the job_history view
Compute Cluster (VCluster)Manage the compute clusters that execute jobs