-
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: fix panic of merge join for tables with redundant indexes #15840
Conversation
Codecov Report
@@ Coverage Diff @@
## master #15840 +/- ##
================================================
- Coverage 80.4676% 80.4181% -0.0496%
================================================
Files 505 505
Lines 135043 135028 -15
================================================
- Hits 108666 108587 -79
- Misses 17889 17936 +47
- Partials 8488 8505 +17 |
/rebuild |
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
/rebuild |
2 similar comments
/rebuild |
/rebuild |
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
do we need to cherry pick to other releases? |
Your auto merge job has been accepted, waiting for 15853, 15757 |
/run-all-tests |
Signed-off-by: sre-bot <sre-bot@pingcap.com>
cherry pick to release-2.1 in PR #15918 |
Signed-off-by: sre-bot <sre-bot@pingcap.com>
cherry pick to release-3.0 in PR #15919 |
Signed-off-by: sre-bot <sre-bot@pingcap.com>
cherry pick to release-3.1 in PR #15920 |
cherry pick to release-4.0 in PR #15921 |
What problem does this PR solve?
Issue Number: close #15813
Problem Summary:
MergeJoin for tables with redundant index would panic.
What is changed and how it works?
Proposal: xxx
What's Changed:
Use length of de-duplicated conditions instead of original length for declaring slice in
moveEqualToOtherConditions
.How it Works:
Avoid the capacity of slice to be out of bound.
Related changes
Check List
Tests
Side effects
N/A
Release note