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] authored and robbie-c committed Jul 1, 2024
1 parent ec1ac93 commit 6436c62
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions posthog/clickhouse/test/__snapshots__/test_schema.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -1745,11 +1745,12 @@
-- replay
false as maybe_has_session_replay
FROM posthog_test.sharded_events
WHERE and(
bitAnd(bitShiftRight(toUInt128(accurateCastOrNull(`$session_id`, 'UUID')), 76), 0xF) == 7, -- has a session id and is valid uuidv7
toYYYYMMDD(timestamp) >= 0
)
GROUP BY session_id_v7, team_id
WHERE bitAnd(bitShiftRight(toUInt128(accurateCastOrNull(`$session_id`, 'UUID')), 76), 0xF) == 7 -- has a session id and is valid uuidv7)
GROUP BY
team_id,
toStartOfHour(fromUnixTimestamp(intDiv(toUInt64(bitShiftRight(session_id_v7, 80)), 1000))),
cityHash64(session_id_v7),
session_id_v7


'''
Expand Down

0 comments on commit 6436c62

Please sign in to comment.