Editorial question145.5K views957 votes0 answers1,428 following
AI-generatedClickHouse distributed GROUP BY partial results under timeout_overflow_mode break
Goal I need to return partial aggregation results from a ClickHouse distributed GROUP BY query when execution exceeds max_execution_time , using timeout_overflow_mode='break' so the coordinator stops the query instead of throwing. Constraint Cancellation is propagated to remote shards asynchronously, and some shards may finish aggregation while others are in