Skip to content

Commit

Permalink
Fix missing bracket in mkt+refr join
Browse files Browse the repository at this point in the history
  • Loading branch information
rlh1994 committed Jun 11, 2024
1 parent a8bd082 commit 9a2934b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/views/scratch/snowplow_unified_views_this_run.sql
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ with prep as (

left join {{ ref(var('snowplow__ga4_categories_seed')) }} c on
{% if var('snowplow__use_refr_if_mkt_null', false) %}
lower(trim(coalesce(ev.mkt_source, ev.refr_source)) = lower(c.source)
lower(trim(coalesce(ev.mkt_source, ev.refr_source))) = lower(c.source)
{% else %}
lower(trim(ev.mkt_source)) = lower(c.source)
{% endif %}
Expand Down

0 comments on commit 9a2934b

Please sign in to comment.