Definition
Information
Section titled “Information”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
Scenarios
Section titled “Scenarios”| 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 |
Examples
Section titled “Examples”Table processing status for a run
Section titled “Table processing status for a run”SELECT table_name, organisation, status_id, start_datetime, end_datetimeFROM internal.extract_run_tablesWHERE run_id = 12345ORDER BY table_name, organisation;Run table records by status
Section titled “Run table records by status”SELECT status_id, COUNT(*) AS table_countFROM internal.extract_run_tablesGROUP BY status_idORDER BY status_id;