Skip to content

Commit

Permalink
feat: correct wrong inner join causing missing di services views
Browse files Browse the repository at this point in the history
  • Loading branch information
laurinehu committed Feb 19, 2025
1 parent 5fdaf66 commit a64cc02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ final AS (
{{ dbt_utils.star(relation_alias='services', from=ref('int_service_structure')) }},
{{ dbt_utils.star(relation_alias='users', from=ref('stg_user'), prefix='user_') }}
FROM events
INNER JOIN services ON CAST(services.service_id AS TEXT) = events.service_id
LEFT JOIN services ON CAST(services.service_id AS TEXT) = events.service_id
LEFT JOIN users ON events.user_id = users.id
)

Expand Down

0 comments on commit a64cc02

Please sign in to comment.