Repository navigation
Cherry pick #121154 to 26.3: Fix wrong results when a predicate applies a NULL-handling function to a Nullable partition key - #130786
Conversation
|
The conflict is a context line: The test is the one from master, adapted to 26.3:
On the 26.3 tree (clang-21, debug) the test passes 50 of 50 with randomized settings. Without the I cannot push to |
…o a `Nullable` partition key Backport of #121154 to 26.3, applied onto the branch's `applyMonotonicFunctionsChainToRange`. Its only caller already skips an empty chain, so the #117054 early return master has before the new check is not needed here. The test drops the settings 26.3 does not have (`allow_key_condition_coalesce_rewrite`, `use_statistics_for_part_pruning`, `explain_query_plan_default`), enables `allow_experimental_reverse_key` for the reverse-key table, and matches the `MinMax` step name that the 26.3 `EXPLAIN` prints. Checked against the 26.3.60.2 release: only the lines the fix changes differ from the reference. Co-Authored-By: Claude Opus 5.5 <[email protected]>
27ebdb8 to
6df259f
Compare
Original pull-request #121154
Do not merge this PR manually
This pull-request is a first step of an automated backporting.
It contains changes similar to calling
git cherry-picklocally.If you intend to continue backporting the changes, then resolve all conflicts if any.
Otherwise, if you do not want to backport them, then just close this pull-request.
The check results does not matter at this step - you can safely ignore them.
Before you resolve anything
Conflicts are often caused by a prerequisite change that has not been backported yet, rather than by a real divergence. The bot re-tries this cherry-pick against the release branch on every run, so if that is the case here it will merge itself as soon as the prerequisite lands, and you will see a comment saying so. Manual resolution is only needed while the conflict persists.
Troubleshooting
If the conflicts were resolved in a wrong way
If this cherry-pick PR is completely screwed by a wrong conflicts resolution, and you want to recreate it:
pr-cherrypicklabel from the PRYou also need to check the Original pull-request for
pr-backports-createdlabel, and delete if it's presented thereThe PR source
The PR is created in the CI job