Merge pull request #3936 from sbozh/fix/compatible-event-name
Some checks failed
Node.js CI / build (push) Has been cancelled

Fixed PostgreSQL 12/13 syntax error in Journeys feature
This commit is contained in:
Mike Cao 2026-01-02 13:03:34 -08:00 committed by GitHub
commit 42d0594118
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -119,7 +119,7 @@ async function relationalQuery(
select distinct
website_event.visit_id,
website_event.referrer_path,
coalesce(nullIf(website_event.event_name, ''), website_event.url_path) event,
coalesce(nullIf(website_event.event_name, ''), website_event.url_path) "event",
row_number() OVER (PARTITION BY visit_id ORDER BY website_event.created_at) AS event_number
from website_event
${cohortQuery}