-
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: skip inner rows when the join keys contains NULL #7255
Merged
Conversation
This file contains 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
zz-jason
added
type/bugfix
This PR fixes a bug.
sig/execution
SIG execution
release-note
Denotes a PR that will be considered when it comes time to generate release notes.
labels
Aug 2, 2018
/run-all-tests |
winoros
reviewed
Aug 2, 2018
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.
A more better way is add a selection which has is not null filter
below the join.
But it's okay for now.
lgtm
winoros
approved these changes
Aug 3, 2018
/run-unit-test |
birdstorm
reviewed
Aug 5, 2018
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
birdstorm
added
status/LGT2
Indicates that a PR has LGTM 2.
and removed
status/LGT1
Indicates that a PR has LGTM 1.
labels
Aug 5, 2018
birdstorm
approved these changes
Aug 5, 2018
zz-jason
added a commit
to zz-jason/tidb
that referenced
this pull request
Aug 7, 2018
zz-jason
added a commit
that referenced
this pull request
Aug 8, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
release-note
Denotes a PR that will be considered when it comes time to generate release notes.
sig/execution
SIG execution
status/LGT2
Indicates that a PR has LGTM 2.
type/bugfix
This PR fixes a bug.
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.
What have you changed? (mandatory)
This PR skips the inner rows which contains
NULL
value in the join key for "Merge Join" and "Index Join", thus they behaves the same as "Hash Join".What is the type of the changes? (mandatory)
How has this PR been tested? (mandatory)
existing tests.
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
Does this PR affect tidb-ansible update? (mandatory)
Does this PR need to be added to the release notes? (mandatory)
Yes
Refer to a related PR or issue link (optional)
to #7226
Benchmark result if necessary (optional)
Add a few positive/negative examples (optional)