Repository navigation
Stable 25.8 Backport of #85535 - Optimize selection of part list during query planning - #2639
Conversation
Optimize selection of part list during query planning
Left the unused `lock` parameter unnamed in MergeTreeData::removePartsFromWorkingSetImmediatelyAndSetTemporaryState to fix the -Wunused-parameter build error
CI triage for #2639Verdict: no PR-caused code failures. 5 red checks → 0 caused by this PR, 1 flaky test, 2 infra, 1 base-image scan, 1 DCO sign-off (process). The actual C++ change (MergeTree part-list locking +
Details1. Stateless The test does 2. 3. 4. 5. Health check of the PRThe code change (
Recommendation: re-run the three flaky/infra jobs (msan 2/2 stateless, aarch64 aws_s3, Release SSLServer 1); resolve DCO by signing off the merge commit or via maintainer override. No code change is needed for the failures — none of them implicate this PR. 🤖 Triage by @blau-ai from CI evidence (praktika |
Backport of ClickHouse#85535
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Up to 8x faster
SELECTqueries with heavy partition pruning on tables with 10K+ parts (ClickHouse#85535 by @jawm)