-
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
util, executor: use UnionRanges build index kv range for INLJ (#15727) #15754
util, executor: use UnionRanges build index kv range for INLJ (#15727) #15754
Conversation
Signed-off-by: sre-bot <sre-bot@pingcap.com>
/run-all-tests |
@SunRunAway, @eurekaka, @fzhedu, @winoros, PTAL. |
1 similar comment
@SunRunAway, @eurekaka, @fzhedu, @winoros, PTAL. |
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.
please address conflicts.
executor/join_test.go
Outdated
@@ -906,7 +906,82 @@ func (s *testSuite2) TestIndexLookupJoin(c *C) { | |||
tk.MustQuery("select /*+ TIDB_INLJ(s) */ count(*) from t join s use index(idx) on s.a = t.a and s.b < t.b").Check(testkit.Rows("64")) | |||
} | |||
|
|||
<<<<<<< HEAD |
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.
please address conflicts @XuHuaiyu
…e-bot/release-3.1-15c3b74ca934
@fzhedu, @SunRunAway, @eurekaka, @winoros, PTAL. |
2 similar comments
@fzhedu, @SunRunAway, @eurekaka, @winoros, PTAL. |
@fzhedu, @SunRunAway, @eurekaka, @winoros, PTAL. |
/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
@zz-jason |
Your auto merge job has been accepted, waiting for 15753 |
/run-all-tests |
@sre-bot merge failed. |
/run-integration-common-test |
cherry-pick #15727 to release-3.1
What problem does this PR solve?
Issue Number: close #15686
close #15693
close #15687
Problem Summary:
Before this commit, we build a wrong kv ranges which will cause data lost when index join fetchInnerResult.
What is changed and how it works?
What's Changed:
Use UnionRanges to merge ranges.
How it Works:
Related changes
Check List
Tests
Side effects
Release note