Repository navigation
Fix exponential planning in transitive outer-to-inner JOIN conversion - #123509
alexey-milovidov merged 2 commits into
Conversation
|
Workflow [PR], commit [cf9de78] Summary: ✅
AI ReviewSummaryThis PR memoizes the null-propagation and null-rejection walks in Tests
Final Verdict
LLVM Coverage ReportMeasured on commit cf9de78.
Changed lines: Changed C/C++ lines covered: 46/46 (100.00%) · Uncovered code |
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
The official master build is compiled with Object file sizes3 object files changed (+16.14 KiB total), 0 added.
719 more object files are built by the master warmup baseline only (it builds every object-file target, a pull request build only Compile time of recompiled translation units7 translation units recompiled, 12 s compile time in total, 7 of them have a recent master baseline. |
alexey-milovidov
left a comment
There was a problem hiding this comment.
Looks good. Just memoisation, nothing complex.
Fixes: #123432
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fix exponential planning time in the transitive outer-to-inner JOIN conversion when the expression DAG has shared nodes, such as a column used twice (x + x) across nested subqueries. The analysis now visits each node once instead of every path.
Workflow [PR]
Sync PR [sync-upstream/pr/123509]
Version info
26.10.1.1365-master(included in26.10and later)