Skip to content

Commit 42d0594

Browse files
authored
Merge pull request #3936 from sbozh/fix/compatible-event-name
Fixed PostgreSQL 12/13 syntax error in Journeys feature
2 parents 34c31ca + 8286af1 commit 42d0594

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/queries/sql/reports/getJourney.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ async function relationalQuery(
119119
select distinct
120120
website_event.visit_id,
121121
website_event.referrer_path,
122-
coalesce(nullIf(website_event.event_name, ''), website_event.url_path) event,
122+
coalesce(nullIf(website_event.event_name, ''), website_event.url_path) "event",
123123
row_number() OVER (PARTITION BY visit_id ORDER BY website_event.created_at) AS event_number
124124
from website_event
125125
${cohortQuery}

0 commit comments

Comments
 (0)