fix: remove semicolons from SQL comments that broke schema initializer
The ClickHouseSchemaInitializer splits on semicolons before filtering comments, so semicolons inside comment text created invalid statements. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -228,8 +228,8 @@ FROM executions
|
|||||||
GROUP BY tenant_id, application_id, route_id, bucket, environment;
|
GROUP BY tenant_id, application_id, route_id, bucket, environment;
|
||||||
|
|
||||||
-- stats_1m_processor (per-processor-type)
|
-- stats_1m_processor (per-processor-type)
|
||||||
-- Migration: count() double-counted duplicate inserts; replaced with uniq(execution_id).
|
-- Migration: replaced count() with uniq(execution_id) to deduplicate
|
||||||
-- DROP + CREATE ensures schema migration; backfill rebuilds from raw data on startup.
|
-- DROP + CREATE + backfill rebuilds from raw data on startup
|
||||||
|
|
||||||
DROP VIEW IF EXISTS stats_1m_processor_mv;
|
DROP VIEW IF EXISTS stats_1m_processor_mv;
|
||||||
DROP TABLE IF EXISTS stats_1m_processor;
|
DROP TABLE IF EXISTS stats_1m_processor;
|
||||||
|
|||||||
Reference in New Issue
Block a user