Repository navigation
Lower arrayJoin when its result is unused and drop the name-based bail-outs - #120390
Conversation
|
Workflow [PR], commit [6202583] Summary: ❌
AI ReviewSummaryThis PR extends Final Verdict✅ No actionable findings. LLVM Coverage ReportMeasured on commit 6202583.
Changed lines: Changed C/C++ lines covered: 51/54 (94.44%) · Uncovered code |
|
📊 Cloud Performance Report ✅ AI verdict: Release-transition baseline: compared against the most recent available 26.9 masters at or before the trusted base-commit anchor because no 26.10 master baseline exists there. This PR only rewrites how the query optimizer lowers clickbenchFlagged queries (2 of 43)
Change = percent below ×2; the ratio of medians (×N faster/slower) beyond, where percent understates the scale. q-value = BH-FDR adjusted p; smaller is stronger evidence. MIRAI flags a query when q < fdr_q (default 0.10) — the value the verdict is based on. tpch_adapted_1_official🟢 No significant changes Debug info
|
Related: #112241
Related: #116910
Related: #117882
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
With query_plan_lower_array_join_function enabled, arrayJoin is now lowered even when its result is unused or when the lowered join would otherwise collide with another column name, so these queries still benefit from ARRAY JOIN lazy replication and filter fusion.
Workflow [PR]
Sync PR [sync-upstream/pr/120390]
Version info
26.10.1.20(included in26.10and later)