branch-3.1: [fix](nereids) fix execute err which throw eq function not exist exception when join reorder #54953#55667
Merged
morrySnow merged 1 commit intobranch-3.1from Sep 5, 2025
Conversation
…ption when join reorder (#54953) ### What problem does this PR solve? if query as following: select xx from a left join b on a.id = b.id left join c on b.id = c.id the column in table a, b, c are all non nullable. after join reorder the query is as following: select xx from b left join c on b.id = c.id right join a on on a.id = b.id the the nullable condition in join conjuncts maybe nullable wrongly. this would cause be exec fail with err msg `[INTERNAL_ERROR]Could not find function eq, arg String return Nullable(BOOL) ` the pr fix this
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
|
run buildall |
TPC-H: Total hot run time: 32496 ms |
TPC-DS: Total hot run time: 192927 ms |
ClickBench: Total hot run time: 28.26 s |
Contributor
FE UT Coverage ReportIncrement line coverage |
morrySnow
approved these changes
Sep 5, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cherry-picked from #54953