Merge pull request #3936 from sbozh/fix/compatible-event-name

Fixed PostgreSQL 12/13 syntax error in Journeys feature
This commit is contained in:
Mike Cao authored and GitHub committed 2026-01-02 13:03:34 -08:00
commit 42d0594118
1 file changed
+1 -1
+1 -1
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}