posthog icon indicating copy to clipboard operation
posthog copied to clipboard

fix: session_replay_events hogql table should always be grouped by session_id

Open pauldambra opened this issue 1 year ago • 0 comments

select distinct_id, sum(active_milliseconds)
from session_replay_events
group by distinct_id

returns a single row because we select any(distinct_id) which only makes sense if the table is always grouped by session id

pauldambra avatar Feb 12 '24 14:02 pauldambra