match order by with clickhouse queries

This commit is contained in:
Francis Cao committed 2026-07-02 10:32:43 -07:00
1 parent 2575f11d26
commit 952143ba5e
1 file changed
+1
@@ -71,6 +71,7 @@ async function relationalQuery(websiteId: string, filters: QueryFilters) {
and event_data.created_at between {{startDate}} and {{endDate}}
${filterQuery}
group by website_event.event_name, event_data.data_key, event_data.data_type
order by 1 asc, 2 asc
limit 500
`,
queryParams,