-
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
planner: fix index out of range in constructIndexJoinInnerSideTask #54534
Conversation
Welcome @joechenrh! |
Hi @joechenrh. Thanks for your PR. I'm waiting for a pingcap member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Hi @joechenrh. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/ok-to-test |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #54534 +/- ##
================================================
- Coverage 74.7249% 74.6463% -0.0786%
================================================
Files 1558 1575 +17
Lines 363817 455938 +92121
================================================
+ Hits 271862 340341 +68479
- Misses 72284 95041 +22757
- Partials 19671 20556 +885
Flags with carried forward coverage won't be shown. Click here to find out more.
|
/retest |
} | ||
p = p.(base.PhysicalPlan).Children()[0] | ||
} | ||
require.True(t, ok) |
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.
You can use tk.MustQuery("explain xxx")
to check whether the planner is right.
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.
Just align with other test case name
@@ -86,3 +86,33 @@ func Test53726(t *testing.T) { | |||
" └─TableReader_11 2.00 root data:TableFullScan_10", | |||
" └─TableFullScan_10 2.00 cop[tikv] table:t7 keep order:false")) | |||
} | |||
|
|||
func Test54535(t *testing.T) { |
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.
func Test54535(t *testing.T) { | |
func TestIssue54535(t *testing.T) { |
/retest-required |
@joechenrh Please sync the code with master. |
/retest-required |
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lance6716, winoros The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
In response to a cherrypick label: new pull request created to branch |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
What problem does this PR solve?
Issue Number: close #54535
Problem Summary:
When set system variable
tidb_enable_inl_join_inner_multi_pattern
toON
, the following SQL will get an error.What changed and how does it work?
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.