Skip to content

Commit

Permalink
Support latest session context schema
Browse files Browse the repository at this point in the history
  • Loading branch information
agnessnowplow committed Nov 20, 2023
1 parent f3bdfa9 commit f024433
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions macros/identifiers.sql
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ You may obtain a copy of the Snowplow Personal and Academic License Version 1.0
{% else %}

{% if var('snowplow__enable_web') and var('snowplow__enable_mobile') %}
{{ return([{'schema': 'contexts_com_snowplowanalytics_snowplow_client_session_1_0_0', 'field': 'session_id'}, {'schema': 'atomic', 'field': 'domain_sessionid'}] )}}
{{ return([{'schema': 'contexts_com_snowplowanalytics_snowplow_client_session_1_*', 'field': 'session_id'}, {'schema': 'atomic', 'field': 'domain_sessionid'}] )}}

{% elif var('snowplow__enable_mobile') %}
{{ return([{'schema': 'contexts_com_snowplowanalytics_snowplow_client_session_1_0_0', 'field': 'session_id'}] )}}
{{ return([{'schema': 'contexts_com_snowplowanalytics_snowplow_client_session_1_*', 'field': 'session_id'}] )}}

{% else %}
{{ return([{'schema': 'atomic', 'field': 'domain_sessionid'}] )}}
Expand Down

0 comments on commit f024433

Please sign in to comment.