Repository navigation
Backport #123829 to 26.9: Do not read a JOIN input that cannot contribute under a WHERE no row passes - #124219
Conversation
…bute under a WHERE no row passes
|
Workflow [BackportPR], commit [6fdc0ee] Summary: ✅ |
The previous commit declares `isSensitiveToEvaluationCount` in
`Optimizations/Utils.h`, but the file-static copy with the same body is
still in `optimizeJoin.cpp`, so that file does not compile ("static
declaration follows non-static declaration"). Remove the copy and keep
its comment for `canMergeExpressionIntoJoinGraph`, as #120510 does on
master.
Related: #123829
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Fix for the build failureThe error on 13578f3 is the old file-static copy of I checked exactly this tree on a local 26.9 debug build (clang-22): it builds; I have Commit |
Original pull-request #123829
This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.
The PR source
The PR is created in the CI job
Version info
26.9.13.10