Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Commit a6914e8

Browse files
author
Claire Carroll
authored
Merge pull request #38 from fishtown-analytics/fix/null-session-number
Fix null session numbers
2 parents ccd45c9 + 5090c61 commit a6914e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macros/cross-adapter-modeling/sessionization/segment_web_sessions.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ windowed as (
7272
partition by blended_user_id
7373
order by sessions.session_start_tstamp
7474
)
75-
{% if is_incremental() %}+ agg.starting_session_number {% endif %}
75+
{% if is_incremental() %}+ coalesce(agg.starting_session_number, 0) {% endif %}
7676
as session_number
7777

7878
from sessions

0 commit comments

Comments
 (0)