Uh oh!
There was an error while loading. Please reload this page.
[Feat](nereids) add pull up literal when infer predicates (#37314) - #38156
Merged
morrySnow merged 2 commits intoJul 30, 2024
Conversation
This pr add pull up literal when infer predicates, we can infer tmp.col1='abc' and tmp.col2 = 'def' from subquery tmp, pull up to inner join, and combined with join on condition, we can infer ds.col1='abc' and ds.col2='def' select * from ( select tmp.col1, tmp.col2 from ( select 'abc' as col1, 'def' as col2 from test_pull_up_predicate_literal ) tmp inner join test_pull_up_predicate_literal ds on tmp.col1 = ds.col1 and tmp.col2 = ds.col2 ) t where col1 = 'abc' and col2 = 'def'; --------- Co-authored-by: feiniaofeiafei <moailing@selectdb.com>
doris-robot
commented
Jul 19, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
feiniaofeiafei
commented
Jul 24, 2024
CollaboratorAuthor
run buildall |
feiniaofeiafei
commented
Jul 25, 2024
CollaboratorAuthor
run buildall |
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 freeto 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-pick #37314 to branch-2.1