From 24ac7d6be09f713eb4809e0305b1aed7e28cc985 Mon Sep 17 00:00:00 2001 From: Francis Cao Date: Fri, 7 Apr 2023 14:23:38 -0700 Subject: [PATCH] fix urlPath clickhouse --- queries/analytics/event/getEvents.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queries/analytics/event/getEvents.ts b/queries/analytics/event/getEvents.ts index 32bd1dd9..ddc81528 100644 --- a/queries/analytics/event/getEvents.ts +++ b/queries/analytics/event/getEvents.ts @@ -32,7 +32,7 @@ function clickhouseQuery(websiteId: string, startAt: Date, eventType: number) { session_id as sessionId, created_at as createdAt, toUnixTimestamp(created_at) as timestamp, - url_path, + url_path as urlPath, event_name as eventName from website_event where event_type = {eventType:UInt32}