Skip to content

Commit fdf6a16

Browse files
committed
remove cluster all
1 parent a0b2e39 commit fdf6a16

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/backend/src/lib/clickhouse.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const getQueryTimingStats = async (client: ClickHouseClient, queryId: str
5454
SELECT
5555
ProfileEvents['CPUTimeMicroseconds'] / 1000 AS cpu_time_ms,
5656
ProfileEvents['RealTimeMicroseconds'] / 1000 AS wall_clock_time_ms
57-
FROM clusterAllReplicas('default', system.query_log)
57+
FROM system.query_log
5858
WHERE query_id = {query_id:String} AND type = 'QueryFinish'
5959
ORDER BY event_time DESC
6060
LIMIT 1

apps/e2e/tests/backend/endpoints/api/v1/analytics-events.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ it("cannot read events from other projects", async ({ expect }) => {
9191
"branch_id": "main",
9292
"event_type": "$token-refresh",
9393
"project_id": "<stripped UUID>",
94-
"team_id": "",
94+
"team_id": null,
9595
"user_id": "<stripped UUID>",
9696
},
9797
],

0 commit comments

Comments
 (0)