Skip to content

Commit

Permalink
Update query snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 12, 2024
1 parent f955058 commit 139fd1a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 139fd1a

Please sign in to comment.