Átomo
75Jt
System tables · Databricks

system.lakeflow

Abrir na tabela

Definição

Histórico de jobs e execuções: duração, estado e falhas.

Exemplos

1. Execuções com falha
SELECT job_id, run_id, period_start_time, result_state
FROM system.lakeflow.job_run_timeline
WHERE result_state = 'FAILED'
ORDER BY period_start_time DESC;
2. Duração média por job
SELECT job_id,
       AVG(unix_timestamp(period_end_time) - unix_timestamp(period_start_time)) AS secs
FROM system.lakeflow.job_run_timeline
GROUP BY job_id;
3. Nome dos jobs
SELECT job_id, name, creator_id
FROM system.lakeflow.jobs;

No mesmo grupo