Merge branch 'dev' into feat/um-23-new-schema

This commit is contained in:
Mike Cao 2022-11-18 03:21:55 -08:00
commit 4bc3d46efb
2 changed files with 3 additions and 6 deletions

View file

@ -54,7 +54,7 @@ async function clickhouseQuery(
const { filterQuery } = parseFilters(filters, params);
return rawQuery(
`select ${field} x, count(*) y
`select ${field} x, count(distinct session_id) y
from event as x
where website_id = $1
and rev_id = $2