Merge Session/Event/Pageview CH

This commit is contained in:
Brian Cao 2022-09-12 09:55:34 -07:00
parent d377ef86e7
commit 52e036964b
18 changed files with 237 additions and 294 deletions

View file

@ -31,7 +31,7 @@ async function clickhouseQuery(session_uuid) {
const params = [session_uuid];
return rawQuery(
`select
`select distinct
session_uuid,
website_id,
created_at,
@ -42,7 +42,7 @@ async function clickhouseQuery(session_uuid) {
screen,
language,
country
from session
from event
where session_uuid = $1`,
params,
)