:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(batch-exports): pin export queries to ClickHouse 26.6 compatibility (#76757)
Ross407bc4d7cc56
diff --git a/products/batch_exports/backend/temporal/pipeline/internal_stage.py b/products/batch_exports/backend/temporal/pipeline/internal_stage.pyindex 2b79eec3518b..eb48733eeb8c 100644--- a/products/batch_exports/backend/temporal/pipeline/internal_stage.py+++ b/products/batch_exports/backend/temporal/pipeline/internal_stage.py@@ -602,6 +602,9 @@ async def _write_batch_export_record_batches_to_internal_stage(min_insert_block_size_bytes=settings.BATCH_EXPORTS_CLICKHOUSE_MAX_INSERT_BLOCK_SIZE_BYTES,# Disable all of these so only the bytes limits counts.min_insert_block_size_rows=0,+ # TEMPORARY: pin batch export queries to ClickHouse 26.6 semantics to ensure compatibility+ # after upgrade+ compatibility="26.6",) as client:if not await client.is_alive():raise ConnectionError("Cannot establish connection to ClickHouse")