From d9503fb0a24c1b7d973cd569b9f3044d4104a3e7 Mon Sep 17 00:00:00 2001 From: Bilal Godil Date: Mon, 23 Mar 2026 09:23:20 -0700 Subject: [PATCH] remove extra comments --- apps/backend/src/lib/external-db-sync.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/backend/src/lib/external-db-sync.ts b/apps/backend/src/lib/external-db-sync.ts index d2f25202b..d276e79dc 100644 --- a/apps/backend/src/lib/external-db-sync.ts +++ b/apps/backend/src/lib/external-db-sync.ts @@ -1433,10 +1433,6 @@ async function syncClickhouseMapping( } const clickhouseTableName = `analytics_internal.${mapping.targetTable}`; - // Skip ensureClickhouseSchema — we only sync to our own internal ClickHouse - // where tables are already created. CREATE TABLE IF NOT EXISTS is always a - // no-op but costs a slow DDL round trip per mapping per sync invocation. - let lastSequenceId = await getClickhouseLastSyncedSequenceId(client, tenancyId, mappingId); const BATCH_LIMIT = 1000;