From 6424100223a2ceda6846c35582a0aef60313880b Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Fri, 7 Apr 2023 11:48:43 -0700 Subject: [PATCH] Fixed typo in query. --- 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 de66731c..32bd1dd9 100644 --- a/queries/analytics/event/getEvents.ts +++ b/queries/analytics/event/getEvents.ts @@ -35,7 +35,7 @@ function clickhouseQuery(websiteId: string, startAt: Date, eventType: number) { url_path, event_name as eventName from website_event - where event_type = {eventType:Uint32} + where event_type = {eventType:UInt32} and website_id = {websiteId:UUID} and created_at >= {startAt:DateTime('UTC')}`, {