From ed0382c9733e3afd26f1fb7202e70493d54befe7 Mon Sep 17 00:00:00 2001 From: Valentin Matton Date: Mon, 26 Jun 2023 16:44:46 +0200 Subject: [PATCH] fix(dora): pre_requis --- .../intermediate/dora/int_dora__services.sql | 62 +++++++++---------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/pipeline/dbt/models/intermediate/dora/int_dora__services.sql b/pipeline/dbt/models/intermediate/dora/int_dora__services.sql index 406bf1cd..ed5cae97 100644 --- a/pipeline/dbt/models/intermediate/dora/int_dora__services.sql +++ b/pipeline/dbt/models/intermediate/dora/int_dora__services.sql @@ -4,37 +4,37 @@ WITH services AS ( final AS ( SELECT - id AS "adresse_id", - contact_nom AS "contact_nom", -- ignored for now - contact_prenom AS "contact_prenom", -- ignored for now - contact_public AS "contact_public", - NULL AS "courriel", -- ignored for now - cumulable AS "cumulable", - date_creation AS "date_creation", - date_maj AS "date_maj", - date_suspension AS "date_suspension", - formulaire_en_ligne AS "formulaire_en_ligne", - frais_autres AS "frais_autres", - frais AS "frais", - id AS "id", - justificatifs AS "justificatifs", - lien_source AS "lien_source", - modes_accueil AS "modes_accueil", - nom AS "nom", - presentation_resume AS "presentation_resume", - presentation_detail AS "presentation_detail", - prise_rdv AS "prise_rdv", - profils AS "profils", - recurrence AS "recurrence", - _di_source_id AS "source", - structure_id AS "structure_id", - telephone AS "telephone", -- ignored for now - thematiques AS "thematiques", - types AS "types", - zone_diffusion_code AS "zone_diffusion_code", - zone_diffusion_nom AS "zone_diffusion_nom", - zone_diffusion_type AS "zone_diffusion_type", - ARRAY_TO_STRING(pre_requis, ',') AS "pre_requis" + id AS "adresse_id", + contact_nom AS "contact_nom", -- ignored for now + contact_prenom AS "contact_prenom", -- ignored for now + contact_public AS "contact_public", + NULL AS "courriel", -- ignored for now + cumulable AS "cumulable", + date_creation AS "date_creation", + date_maj AS "date_maj", + date_suspension AS "date_suspension", + formulaire_en_ligne AS "formulaire_en_ligne", + frais_autres AS "frais_autres", + frais AS "frais", + id AS "id", + justificatifs AS "justificatifs", + lien_source AS "lien_source", + modes_accueil AS "modes_accueil", + nom AS "nom", + presentation_resume AS "presentation_resume", + presentation_detail AS "presentation_detail", + prise_rdv AS "prise_rdv", + profils AS "profils", + recurrence AS "recurrence", + _di_source_id AS "source", + structure_id AS "structure_id", + telephone AS "telephone", -- ignored for now + thematiques AS "thematiques", + types AS "types", + zone_diffusion_code AS "zone_diffusion_code", + zone_diffusion_nom AS "zone_diffusion_nom", + zone_diffusion_type AS "zone_diffusion_type", + pre_requis AS "pre_requis" FROM services )