Skip to content

Commit

Permalink
chore(pipeline) : Deactivate FT mobility service in Lyon
Browse files Browse the repository at this point in the history
  • Loading branch information
vperron committed Nov 18, 2024
1 parent c083909 commit 76a4d6c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ models:
- relationships:
to: ref('int_france_travail__adresses')
field: id
- name: nom
data_tests:
- not_null
- dbt_utils.not_accepted_values:
values: ['Bilan/Accompagnement mobilité']
config:
where: "zone_diffusion_code LIKE '69%'"

- name: int_france_travail__structures
data_tests:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ final AS (
structures.id || '-' || services.id AS "id"
FROM services
CROSS JOIN structures_with_commune AS structures
-- Service ID 9 (Bilan/Accompagnement mobilité) is not available in Lyon anymore
WHERE NOT (services.id = '9' AND structures.code_insee LIKE '69%')
)

SELECT * FROM final

0 comments on commit 76a4d6c

Please sign in to comment.