Skip to content
Partner Developer Portal

Definition

This table captures information about tables that have been processed for a particular ETL run, either via bulk, delta or a backfill operation.

This table is used to get information about data being processed for a particular ETL run

Scenario Encountered Info in the logging tables
The table that you were expecting to get data for did not come through even though it was enabled before running the ETL in table_inclusion table Check for data in ‘extract_run_tables’ table for a particular extract run ID to check status for each table. The status IDs can be checked in ‘internal.status’ table
SELECT
table_name,
organisation,
status_id,
start_datetime,
end_datetime
FROM internal.extract_run_tables
WHERE run_id = 12345
ORDER BY table_name, organisation;
SELECT
status_id,
COUNT(*) AS table_count
FROM internal.extract_run_tables
GROUP BY status_id
ORDER BY status_id;