DESC JOB
View detailed information about a specified job, including job configuration, running status, execution time, input/output statistics, and more.
Syntax
Parameters
| Parameter | Required | Description |
|---|---|---|
job_id | Yes | The unique job identifier, in string format. Can be obtained from SHOW JOBS output or job execution logs |
Return Columns
DESC JOB returns a list of info_name / info_value key-value pairs, including the following fields:
| info_name | Description |
|---|---|
name | Job ID (same as job_id) |
creator | Username who submitted the job |
created_time | Job creation time |
last_modified_time | Job last modified time |
comment | Job description/notes |
workspace | The workspace the job belongs to |
job_id | Unique job identifier |
status | Job status: RUNNING, SUCCEED, FAILED, SETUP, QUEUED, CANCELLED |
start_time | Job start execution time |
end_time | Job end time; empty if not yet completed |
execution_time | Execution duration (in milliseconds) |
priority | Job priority |
vcluster_name | Name of the compute resource executing the job |
vcluster_type | Compute resource type (e.g., GENERAL, ANALYTICS) |
job_text | SQL text of the job |
query_tag | Associated query tag |
hint | Hint parameters used during job execution |
input_tables | Input tables with rows read and bytes read |
output_tables | Number of rows and bytes in output results |
Examples
- View detailed information for a specified job:
- First find the target job via
SHOW JOBS, then view its details:
Notes
job_idmust be enclosed in single quotes, in string format.- Job IDs can be obtained from: the output of the
SHOW JOBScommand, the return information after SQL execution, or the job history page in Lakehouse Studio. execution_timeis measured in milliseconds.- The
input_tablesandoutput_tablesfields record the data read/write volume of the job, which can be used to evaluate the job's resource consumption.
