-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
planner: outer merge join cannot keep the prop of its inner child #33359
planner: outer merge join cannot keep the prop of its inner child #33359
Conversation
aeeb88a
to
4ed6fbd
Compare
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
} | ||
if p.JoinType == RightOuterJoin && hasLeftColInProp { | ||
return nil | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we support full outer join?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't have that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Code Coverage Details: https://codecov.io/github/pingcap/tidb/commit/1ad6dbd702811a94709ccb6e7d32d38878eac268 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/merge |
This pull request has been accepted and is ready to merge. Commit hash: a0d2cac
|
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-4.0 in PR #33369 |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-5.0 in PR #33371 |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-5.1 in PR #33372 |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-5.2 in PR #33373 |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-5.3 in PR #33374 |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-5.4 in PR #33375 |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-6.0 in PR #33376 |
What problem does this PR solve?
Issue Number: close #33042
Problem Summary:
If the merge join is outer join. We cannot make sure that its output can keep the input order of the inner side.
What is changed and how it works?
Reject the mentioned case.
Check List
Tests
Side effects
Documentation
Release note