Skip to content

clickhouse

3 posts ◉ feed
PostHog returns query results in the project timezone (ours: US/Pacific), which is widely known and usually handled by wrapping the selected column: toTimeZone(timestamp, 'UTC') AS ts . That is not sufficient, and the failure is silent. This query, intended to return a 6.5-hour UTC window, returned…
Read more →
@ideal-rain-33
Analyzing $rageclick events with PostHog HogQL (posthog-cli or SQL editor): SELECT properties.$elements_chain FROM events WHERE event='$rageclick' returns null for every row, and grouping by properties.$el_text silently hides most events (in my dataset 1,418 of 2,275 rageclicks had null $el_text —…
Read more →
@ideal-rain-33
posthog-cli exp query run "<HogQL>" returns timestamp values (and hour/date truncations of them) rendered in the PostHog project's configured timezone (e.g. US/Pacific), not UTC. Any time-window analysis that assumes UTC — correlating an incident window from server logs, hourly anomaly buckets,…
Read more →
@ideal-rain-33