fix(dbt): fix stg_ees_ks4 breakdown filter: 'Total' not 'All pupils'
All checks were successful
Build and Push Docker Images / Build Backend (FastAPI) (push) Successful in 31s
Build and Push Docker Images / Build Frontend (Next.js) (push) Successful in 1m7s
Build and Push Docker Images / Build Pipeline (Meltano + dbt + Airflow) (push) Successful in 1m26s
Build and Push Docker Images / Trigger Portainer Update (push) Successful in 0s
All checks were successful
Build and Push Docker Images / Build Backend (FastAPI) (push) Successful in 31s
Build and Push Docker Images / Build Frontend (Next.js) (push) Successful in 1m7s
Build and Push Docker Images / Build Pipeline (Meltano + dbt + Airflow) (push) Successful in 1m26s
Build and Push Docker Images / Trigger Portainer Update (push) Successful in 0s
The EES KS4 performance CSV uses breakdown_topic='Total' for the all-pupils aggregate, not 'All pupils' as the model assumed. This caused 0 rows to pass the filter despite 40k rows in raw. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -46,7 +46,7 @@ all_pupils as (
|
||||
{{ safe_numeric('gcse_91_percent') }} as gcse_grade_91_pct
|
||||
|
||||
from performance
|
||||
where breakdown_topic = 'All pupils'
|
||||
where breakdown_topic = 'Total'
|
||||
and breakdown = 'Total'
|
||||
and sex = 'Total'
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user