Skip to main content

routine_load_jobs

Inspect Routine Load jobs, including their state, progress, errors, and assigned compute group.

Run the query in the warehouse SQL Editor or a connected SQL client:

SELECT * FROM information_schema.routine_load_jobs LIMIT 10;

Database​

information_schema

Table information​

Column nameTypeDescription
JOB_IDstringJob ID.
JOB_NAMEstringJob name.
CREATE_TIMEstringJob creation time.
PAUSE_TIMEstringJob pause time.
END_TIMEstringJob end time.
DB_NAMEstringDatabase name.
TABLE_NAMEstringTable name.
STATEstringJob status.
CURRENT_TASK_NUMstringCurrent number of subtasks.
JOB_PROPERTIESstringJob property configurations.
DATA_SOURCE_PROPERTIESstringData source property configurations.
CUSTOM_PROPERTIESstringCustom property configurations.
STATISTICstringJob statistics information.
PROGRESSstringJob progress information.
LAGstringJob delay information.
REASON_OF_STATE_CHANGEDstringReason for job status change.
ERROR_LOG_URLSstringError log URLs.
USER_NAMEstringUsername.
CURRENT_ABORT_TASK_NUMintCurrent number of failed tasks.
IS_ABNORMAL_PAUSEbooleanWhether paused by system (non-user pause).
COMPUTE_GROUPstringCompute group (cluster) assigned to the job or workload group.
FIRST_ERROR_MSGstringFirst error message recorded for the job.

Use DESCRIBE information_schema.routine_load_jobs; to inspect the schema in your warehouse.

Ask AI