Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(pipeline) : Fix mes-aides issues with stats & snapshots #327

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions pipeline/dbt/models/_sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ sources:
- name: permis_velo
meta:
kind: structure
- name: aides
meta:
kind: service

- name: annuaire_du_service_public
schema: annuaire_du_service_public
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ models:
- accepted_values:
values:
- agences
- aides
- creches
- DD009_RES_PARTENARIALE
- formations
- garages
- lieux
- organisations
- permis_velo
- services
- siaes
- structures
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% set source_model = source('mes_aides', 'aides') %}
{% set source_model = source('mes_aides', 'permis_velo') %}

{% set table_exists = adapter.get_relation(database=source_model.database, schema=source_model.schema, identifier=source_model.name) is not none %}

{% snapshot snps_mes_aides__aides %}
{% snapshot snps_mes_aides__permis_velo %}

{{
config(
Expand Down