From c5d9d117f818d7d438184a8a2f49f2ff385420e7 Mon Sep 17 00:00:00 2001 From: Hugo Lecuyer Date: Thu, 19 Sep 2024 15:21:21 +0200 Subject: [PATCH] fix(fredo): remove condition for mode_accueil en-presentiel --- .../models/intermediate/sources/fredo/int_fredo__services.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pipeline/dbt/models/intermediate/sources/fredo/int_fredo__services.sql b/pipeline/dbt/models/intermediate/sources/fredo/int_fredo__services.sql index fd1b08e4..1d955b6c 100644 --- a/pipeline/dbt/models/intermediate/sources/fredo/int_fredo__services.sql +++ b/pipeline/dbt/models/intermediate/sources/fredo/int_fredo__services.sql @@ -154,8 +154,7 @@ final AS ( CASE WHEN fredo_structures.adresse IS NOT NULL - AND fredo_structures.code_postal IS NOT NULL - AND fredo_structures.commune IS NOT NULL THEN ARRAY['en-presentiel'] + AND fredo_structures.code_postal IS NOT NULL THEN ARRAY['en-presentiel'] ELSE ARRAY['a-distance'] END AS "modes_accueil", LEFT(fredo_structures.presentation_resume, 280) AS "presentation_resume",