diff --git a/ee/clickhouse/queries/test/__snapshots__/test_breakdown_props.ambr b/ee/clickhouse/queries/test/__snapshots__/test_breakdown_props.ambr index 1dc13e551e422..c7da847d976f9 100644 --- a/ee/clickhouse/queries/test/__snapshots__/test_breakdown_props.ambr +++ b/ee/clickhouse/queries/test/__snapshots__/test_breakdown_props.ambr @@ -155,7 +155,7 @@ FROM events e INNER JOIN (SELECT "$session_id", - dateDiff('second', min(timestamp), max(timestamp)) as session_duration + ifNull(dateDiff('second', min(timestamp), max(timestamp)), 0) as session_duration FROM events WHERE "$session_id" != '' AND team_id = 99999 @@ -194,7 +194,7 @@ HAVING max(is_deleted) = 0 SETTINGS optimize_aggregation_in_order = 1) person ON pdi.person_id = person.id INNER JOIN (SELECT "$session_id", - dateDiff('second', min(timestamp), max(timestamp)) as session_duration + ifNull(dateDiff('second', min(timestamp), max(timestamp)), 0) as session_duration FROM events WHERE "$session_id" != '' AND team_id = 99999 @@ -233,7 +233,7 @@ HAVING max(is_deleted) = 0 SETTINGS optimize_aggregation_in_order = 1) person ON pdi.person_id = person.id INNER JOIN (SELECT "$session_id", - dateDiff('second', min(timestamp), max(timestamp)) as session_duration + ifNull(dateDiff('second', min(timestamp), max(timestamp)), 0) as session_duration FROM events WHERE "$session_id" != '' AND team_id = 99999