-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
executor: check unequal handles when buildTableReader4INLJoin (#15675) #15734
Conversation
Signed-off-by: sre-bot <[email protected]>
/run-all-tests |
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
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
for _, content := range lookUpContents { | ||
handles = append(handles, content.keys[0].GetInt64()) | ||
handle := content.keys[0].GetInt64() |
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.
if there is only one keys in each content, properly true in most cases, it is no need to use this loop.
Your auto merge job has been accepted, waiting for 15806 |
/run-all-tests |
cherry-pick #15675 to release-3.0
What problem does this PR solve?
Issue Number: close #15658
Problem Summary:
Before this commit, buildTableReaderForIndexJoin assumes that there is only one value for handles in lookupContent. Thus we'll fetch redundant rows.
What is changed and how it works?
Proposal: xxx
What's Changed:
Check whether there are redundant unequal
handle
values in buildTableReaderForIndexJoin.How it Works:
Related changes
Check List
Tests
Side effects
Release note