Bump query limit to 500.

This commit is contained in:
Mike Cao
2024-02-14 15:13:53 -08:00
parent bbf85cb110
commit 1955166bdf
6 changed files with 11 additions and 14 deletions

View File

@@ -53,7 +53,7 @@ async function relationalQuery(websiteId: string, filters: QueryFilters) {
and event_data.created_at between {{startDate}} and {{endDate}}
group by website_event.event_name, event_data.event_key, event_data.data_type
order by 1 asc, 2 asc
limit 100
limit 500
`,
params,
);
@@ -82,7 +82,7 @@ async function clickhouseQuery(
and event_name = {event:String}
group by event_key, data_type, string_value, event_name
order by 1 asc, 2 asc, 3 asc, 4 desc
limit 100
limit 500
`,
params,
).then(a => {
@@ -110,7 +110,7 @@ async function clickhouseQuery(
and created_at between {startDate:DateTime64} and {endDate:DateTime64}
group by event_key, data_type, event_name
order by 1 asc, 2 asc
limit 100
limit 500
`,
params,
).then(a => {

View File

@@ -31,7 +31,7 @@ async function relationalQuery(websiteId: string, filters: QueryFilters & { fiel
${filterQuery}
group by event_key, data_type, string_value
order by 3 desc, 2 desc, 1 asc
limit 100
limit 500
`,
params,
);
@@ -59,7 +59,7 @@ async function clickhouseQuery(
${filterQuery}
group by event_key, data_type, string_value
order by 3 desc, 2 desc, 1 asc
limit 100
limit 500
`,
params,
).then(a => {