Skip to content

[feature](Nereids) support make miss slot as null alias when conver anti join (#31854) - #32417

Merged
morrySnow merged 2 commits into
apache:branch-2.0from
keanji-x:pick_aff09fc
Mar 19, 2024
Merged

[feature](Nereids) support make miss slot as null alias when conver anti join (#31854)#32417
morrySnow merged 2 commits into
apache:branch-2.0from
keanji-x:pick_aff09fc

Conversation

@keanji-x

@keanji-xkeanji-x commented Mar 18, 2024

Copy link
Copy Markdown
Contributor

pick from master #31854 and #32214

transform

project(A.*, B.slot)

  • filter(B.slot is null) - LeftOuterJoin(A, B)

to

project(A.*, null as B.slot)

  • LeftAntiJoin(A, B)

Proposed changes

Issue Number: close #xxx

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@doris-robot

Copy link
Copy Markdown

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

…ng anti join (apache#31854)
transform
project(A.*, B.slot)
- filter(B.slot is null)
- LeftOuterJoin(A, B)
to
project(A.*, null as B.slot)
- LeftAntiJoin(A, B)
@keanji-x

Copy link
Copy Markdown
ContributorAuthor

run buildall

1 similar comment
@keanji-x

Copy link
Copy Markdown
ContributorAuthor

run buildall

@keanji-x

Copy link
Copy Markdown
ContributorAuthor

run buildall

@morrySnow
morrySnow merged commit 0cffa4c into apache:branch-2.0Mar 19, 2024
mongo360 pushed a commit to mongo360/doris that referenced this pull request Aug 16, 2024
…nti join (apache#31854) (apache#32417)
pick from master apache#31854 and apache#32214
[feature](Nereids) support make miss slot as null alias when converting anti join (apache#31854)
transform
project(A.*, B.slot)
- filter(B.slot is null)
- LeftOuterJoin(A, B)
to
project(A.*, null as B.slot)
- LeftAntiJoin(A, B)
[fix](Nereids): don't pushdown project when project contains both side of join (apache#32214)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@keanji-x@doris-robot@morrySnow