Cohort selection.

This commit is contained in:
Mike Cao committed 2025-08-28 23:29:42 -07:00
1 parent 05f9a67727
commit bab4f8ebcc
32 files changed
+841 -655

No files matched your search

+2 -2
View File
@@ -54,7 +54,7 @@ async function relationalQuery(
(pv, cv, i) => {
const levelNumber = i + 1;
const startSum = i > 0 ? 'union ' : '';
const isURL = cv.type === 'page';
const isURL = cv.type === 'path';
const column = isURL ? 'url_path' : 'event_name';
let operator = '=';
@@ -161,7 +161,7 @@ async function clickhouseQuery(
const levelNumber = i + 1;
const startSum = i > 0 ? 'union all ' : '';
const startFilter = i > 0 ? 'or' : '';
const isURL = cv.type === 'page';
const isURL = cv.type === 'path';
const column = isURL ? 'url_path' : 'event_name';
let operator = '=';