Skip to content

Commit

Permalink
Merge pull request #60 from snowplow/mkt-null-fix
Browse files Browse the repository at this point in the history
Fix syntax when `snowplow__use_refr_if_mkt_null` enabled
  • Loading branch information
jethron authored Jun 21, 2024
2 parents 0e6dfe8 + ce9a23e commit c12348a
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 c12348a

Please sign in to comment.