Skip to content
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: support point get by _tidb_rowid #13360

Merged
merged 5 commits into from
Nov 11, 2019

Conversation

lzmhhh123
Copy link
Contributor

What problem does this PR solve?

As the title says.

What is changed and how it works?

When trying to build the point_get plan. Check where _tidb_rowid can build a point_get plan when the primary key is not the handle.

Check List

Tests

  • Unit test
  • Integration test

Side effects

  • Increased code complexity

@lzmhhh123 lzmhhh123 added type/enhancement The issue or PR belongs to an enhancement. sig/planner SIG: Planner labels Nov 11, 2019
@codecov
Copy link

codecov bot commented Nov 11, 2019

Codecov Report

Merging #13360 into master will increase coverage by 0.4632%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##            master     #13360        +/-   ##
===============================================
+ Coverage   80.242%   80.7053%   +0.4632%     
===============================================
  Files          469        469                
  Lines       112704     114446      +1742     
===============================================
+ Hits         90436      92364      +1928     
+ Misses       15280      15076       -204     
- Partials      6988       7006        +18

Copy link
Contributor

@alivxxx alivxxx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@eurekaka eurekaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eurekaka eurekaka added status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. labels Nov 11, 2019
@sre-bot
Copy link
Contributor

sre-bot commented Nov 11, 2019

Your auto merge job has been accepted, waiting for 13340, 13343

@sre-bot
Copy link
Contributor

sre-bot commented Nov 11, 2019

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Nov 11, 2019

@lzmhhh123 merge failed.

@lzmhhh123
Copy link
Contributor Author

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Nov 11, 2019

Your auto merge job has been accepted, waiting for 12996, 13354

@sre-bot
Copy link
Contributor

sre-bot commented Nov 11, 2019

/run-all-tests

@francis0407
Copy link
Member

Shall we cherry-pick this to the release branch?

@lzmhhh123
Copy link
Contributor Author

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Nov 11, 2019

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Nov 11, 2019

@lzmhhh123 merge failed.

@lzmhhh123
Copy link
Contributor Author

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Nov 11, 2019

/run-all-tests

@sre-bot sre-bot merged commit 413643e into pingcap:master Nov 11, 2019
@sre-bot
Copy link
Contributor

sre-bot commented Nov 11, 2019

cherry pick to release-3.1 failed

@lzmhhh123 lzmhhh123 deleted the dev/support_point_get_by_row_id branch November 11, 2019 11:38
lzmhhh123 added a commit to lzmhhh123/tidb that referenced this pull request Nov 13, 2019
lzmhhh123 added a commit to lzmhhh123/tidb that referenced this pull request Nov 13, 2019
XiaTianliang pushed a commit to XiaTianliang/tidb that referenced this pull request Dec 21, 2019
@sre-bot
Copy link
Contributor

sre-bot commented Apr 7, 2020

It seems that, not for sure, we failed to cherry-pick this commit to release-2.1. Please comment '/run-cherry-picker' to try to trigger the cherry-picker if we did fail to cherry-pick this commit before. @lzmhhh123 PTAL.

@XuHuaiyu
Copy link
Contributor

@lzmhhh123 Do we need to cherry-pick this to releaes-2.1?

If not, please remove the label needs-cherry-pick-2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/planner SIG: Planner status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants