From c04a42b8b13d4dda9954a57ae832b6b4c08a2eb6 Mon Sep 17 00:00:00 2001 From: Victor Perron Date: Tue, 17 Sep 2024 14:01:24 +0200 Subject: [PATCH] feat(pipeline) : Add fredo to the stats monitoring --- pipeline/dbt/models/_sources.yml | 4 ++++ pipeline/dbt/models/intermediate/quality/_quality_models.yml | 1 + .../dbt/models/intermediate/quality/int_quality__stats.sql | 2 ++ 3 files changed, 7 insertions(+) diff --git a/pipeline/dbt/models/_sources.yml b/pipeline/dbt/models/_sources.yml index 1ffa198e0..e7204723b 100644 --- a/pipeline/dbt/models/_sources.yml +++ b/pipeline/dbt/models/_sources.yml @@ -193,8 +193,12 @@ sources: - name: fredo schema: fredo + meta: + is_provider: true tables: - name: structures + meta: + kind: structure - name: action_logement schema: action_logement diff --git a/pipeline/dbt/models/intermediate/quality/_quality_models.yml b/pipeline/dbt/models/intermediate/quality/_quality_models.yml index 15a5ced66..f66dc9255 100644 --- a/pipeline/dbt/models/intermediate/quality/_quality_models.yml +++ b/pipeline/dbt/models/intermediate/quality/_quality_models.yml @@ -22,6 +22,7 @@ models: - dora - emplois_de_linclusion - france_travail + - fredo - mediation_numerique - mes_aides - monenfant diff --git a/pipeline/dbt/models/intermediate/quality/int_quality__stats.sql b/pipeline/dbt/models/intermediate/quality/int_quality__stats.sql index 9b94d0422..2ba177fec 100644 --- a/pipeline/dbt/models/intermediate/quality/int_quality__stats.sql +++ b/pipeline/dbt/models/intermediate/quality/int_quality__stats.sql @@ -23,6 +23,8 @@ -- depends_on: {{ ref('stg_france_travail__services') }} -- depends_on: {{ ref('int_france_travail__services') }} -- depends_on: {{ ref('int_france_travail__structures') }} +-- depends_on: {{ ref('stg_fredo__structures') }} +-- depends_on: {{ ref('int_fredo__structures') }} -- depends_on: {{ ref('stg_mediation_numerique__services') }} -- depends_on: {{ ref('stg_mediation_numerique__structures') }} -- depends_on: {{ ref('int_mediation_numerique__services') }}