Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Brian Cao 2023-04-07 22:45:49 -07:00
commit f45995e8b5

View File

@ -32,10 +32,11 @@ 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,
referrer_domain as referrerDomain,
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')}`,
{