From 79246edc22961c2beb3520437e9d064d3b809d10 Mon Sep 17 00:00:00 2001 From: Tudor Date: Fri, 17 Jul 2026 14:15:11 +0100 Subject: [PATCH] fix(pipeline): build stg_ees_ks4_national in the annual EES DAG MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The DAG's dbt --select list predates the official-KS4-nationals stream, so the extract loaded raw.ees_ks4_national but the staging model and fact_ks4_national_averages were never rebuilt — staging kept serving the old computed means after the DAG run. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_0146VHeLAWjDVE2B5uU67jCB --- pipeline/dags/school_data_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline/dags/school_data_pipeline.py b/pipeline/dags/school_data_pipeline.py index 02addb1..0278b5d 100644 --- a/pipeline/dags/school_data_pipeline.py +++ b/pipeline/dags/school_data_pipeline.py @@ -180,7 +180,7 @@ with DAG( dbt_build_ees = BashOperator( task_id="dbt_build", - bash_command=f"cd {PIPELINE_DIR}/transform && {DBT_BIN} build --profiles-dir . --target production --select stg_ees_ks2+ stg_legacy_ks2+ stg_ees_ks4+ stg_legacy_ks4+ stg_ees_census+ stg_ees_admissions+ stg_ees_ks2_national+", + bash_command=f"cd {PIPELINE_DIR}/transform && {DBT_BIN} build --profiles-dir . --target production --select stg_ees_ks2+ stg_legacy_ks2+ stg_ees_ks4+ stg_legacy_ks4+ stg_ees_census+ stg_ees_admissions+ stg_ees_ks2_national+ stg_ees_ks4_national+", ) sync_typesense_ees = BashOperator(