Skip to content

Commit

Permalink
Fix syntax when snowplow__use_refr_if_mkt_null enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
jethron authored and agnessnowplow committed Jun 24, 2024
1 parent 9637966 commit e9ef225
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ with session_firsts 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 e9ef225

Please sign in to comment.