Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit ef93708

Browse files
Dan Leedataform.co
authored andcommitted
don't ignore nulls when finding first and last page values
1 parent e57bb7a commit ef93708

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

includes/sessions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ select distinct
2828
([key, value]) => `${crossdb.windowFunction({
2929
func: "first_value",
3030
value: value,
31-
ignore_nulls: true,
31+
ignore_nulls: false,
3232
partition_fields: "session_id",
3333
order_fields: 'sessionized_pages.timestamp asc',
3434
frame_clause: "rows between unbounded preceding and unbounded following",
@@ -37,7 +37,7 @@ select distinct
3737
([key, value]) => `${crossdb.windowFunction({
3838
func: "last_value",
3939
value: value,
40-
ignore_nulls: true,
40+
ignore_nulls: false,
4141
partition_fields: "session_id",
4242
order_fields: 'sessionized_pages.timestamp asc',
4343
frame_clause: "rows between unbounded preceding and unbounded following",

0 commit comments

Comments
 (0)