{{ message }}
Commit fea96be
Pin max_rows_to_group_by and prefer_localhost_replica in the regression test
The CI test profile (tests/config/users.d/limits.yaml) sets max_rows_to_group_by
to 10G, and make_distributed_plan rejects aggregation with a non-zero limit
(Code 344, SUPPORT_IS_DISABLED). That fired before the query could reach the
ScatterExchangeStep path, so the Fast test for this regression failed without
exercising the fix.
clickhouse-test also randomizes prefer_localhost_replica. With it set to 0 the
Distributed engine serializes the per-child plan to the localhost replica, where
the experimental BlocksMarshalling step is not deserializable (Code 47,
UNKNOWN_IDENTIFIER). That path is unrelated to the crash, which happens earlier
while building the per-child plan.
Pin both settings so the query deterministically reaches the multi-bucket
ScatterExchangeStep. EXPLAIN distributed=1 confirms the per-child plan still
carries a ShuffleExchange over a bucketed ReadFromMergeTree (the step that threw
'should have one source shard, got 8' before the fix), so crash-path coverage is
preserved. 20/20 runs pass under full CI randomization.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent a273cb6 commit fea96be
1 file changed
Lines changed: 7 additions & 1 deletion
Lines changed: 7 additions & 1 deletion

0 commit comments