Skip to main content

job_etl

Stores extract-transform-load (ETL) related jobs. Specifically this means csvloader and extractor right now.

Primary Key:Checks:
  • job_etl_job_type_check - (job_type = ANY (ARRAY['csvloader'::claims.job_type, 'extractor'::claims.job_type]))
  • job_etl_parent_id_check - ((job_type = 'csvloader'::claims.job_type) = (parent_id IS NOT NULL))
  • job_etl_status_check - ((status = ANY (ARRAY['succeeded'::claims.job_status_type, 'failed'::claims.job_status_type, 'cancelled'::claims.job_status_type, 'skipped'::claims.job_status_type])) = (job_end IS NOT NULL))
Foreign Keys:Indexes:
ColumnData TypeNullableIndexedDescription
job_etl_idbigintNoYesSnowflake ID for job_etl primary key.
parent_idbigintYesYesOptional link to a parent job. Used so a csvloader job can reference the extractor job that produced its input.
job_typejob_typeNoNoThe type of job. This is usually the name of a service running the job (e.g. extractor, csvloader, exporter).
nametextNoNoName for the job. Comes from the zipName in extractor/csvloader config.
input_filenametextNoNoFilename of the input being processed by this job.
release_start_datedateYesNoStart of the release-date range covered by this input. One of release_*_date or version must be set.
release_end_datedateYesNoEnd of the release-date range covered by this input. One of release_*_date or version must be set.
versiontextYesNoVersion of the input filename. One of release_*_date or version must be set.
job_starttimestamp with time zoneNoNoTime this attempt started.
job_endtimestamp with time zoneYesNoTime this attempt finished. NULL while the attempt is still in progress.
statusjob_status_typeNoNoStatus of this attempt (e.g. queued, running, succeeded, failed, cancelled, skipped).
job_metadatajsonbNoNoAdditional metadata describing what the attempt did (e.g. archive_filename, extractor_input_version_id, and anything else useful for understanding what was done and how).
logtextNoNoLogs captured from this attempt.