Disable parallel replicas for RIGHT JOIN with distributed table on right side#90806
Disable parallel replicas for RIGHT JOIN with distributed table on right side#90806nickitat merged 6 commits intoClickHouse:masterfrom
Conversation
|
Workflow [PR], commit [1c5cdf2] Summary: ❌
|
fd89f22 to
3afee44
Compare
|
Stateless tests (arm_asan, targeted) Stateless tests (amd_binary, ParallelReplicas, s3 storage, parallel) Stateless tests (amd_msan, parallel) Stress test (arm_asan, s3) Others are also unrelated to this pr. |
3afee44 to
a4d5499
Compare
|
The provided test fails to reproduce the issue. Pls find another one. |
8ee4031 to
98d31ba
Compare
98d31ba to
9cfea42
Compare
|
|
unfortunately, yes. should be fixed by #91094 |
1839a50
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fix duplicate data issue in RIGHT JOIN with distributed table when parallel replicas enabled.
Details
When RIGHT JOIN with a distributed table on the right side, the distributed table would be wrapped into a subquery, causing parallel replicas to incorrectly choose the left table for parallel reading, and each replica would then independently read the distributed table, resulting in duplicate data.