Skip to content

Commit

Permalink
fix session_id uniqueness (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
0adamjones authored Nov 3, 2023
1 parent 68b5545 commit 5120246
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ session_ids as (

{{dbt_utils.star(ref('segment_web_page_views'))}},
page_view_number,
{{dbt_utils.generate_surrogate_key(['anonymous_id', 'session_number'])}} as session_id
{{dbt_utils.generate_surrogate_key(['anonymous_id', 'session_number', 'source_name'])}} as session_id

from session_numbers

Expand Down

0 comments on commit 5120246

Please sign in to comment.