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

dbt : Gestion des deux valeurs possibles pour le type de l'organisation des prescripteurs sans organisation #344

Merged
Merged
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
2 changes: 1 addition & 1 deletion dbt/models/marts/daily/suivi_prescripteurs_habilites.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ select
from {{ ref('stg_organisations') }} as organisations
left join {{ ref("stg_siae_partenaires_prescripteurs") }} as nb_siae_partenaires
on organisations.id = nb_siae_partenaires.id
where organisations.type != 'SANS-ORGANISATION' and organisations."habilitée" = 1
where organisations.type != 'SANS-ORGANISATION' and organisations.type is not null and organisations."habilitée" = 1