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: unsigned pk cannot be pushed as index column #11094

Merged
merged 13 commits into from
Jul 12, 2019

Conversation

winoros
Copy link
Member

@winoros winoros commented Jul 5, 2019

What problem does this PR solve?

It's a hard work to keep data in order if the index range contains unsigned pk since the pk is the last column not the first column.

What is changed and how it works?

Disabled it when the pk is unsigned.

Check List

Tests

  • Unit test

Related changes

  • Need to cherry-pick to the release branch

@winoros
Copy link
Member Author

winoros commented Jul 5, 2019

/run-all-tests

@codecov
Copy link

codecov bot commented Jul 12, 2019

Codecov Report

Merging #11094 into master will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master     #11094   +/-   ##
===========================================
  Coverage   81.3411%   81.3411%           
===========================================
  Files           423        423           
  Lines         90102      90102           
===========================================
  Hits          73290      73290           
  Misses        11524      11524           
  Partials       5288       5288

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

@winoros winoros added the status/LGT1 Indicates that a PR has LGTM 1. label Jul 12, 2019
zz-jason
zz-jason previously approved these changes Jul 12, 2019
Copy link
Member

@zz-jason zz-jason left a comment

Choose a reason for hiding this comment

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

LGTM

@zz-jason zz-jason added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Jul 12, 2019
@winoros
Copy link
Member Author

winoros commented Jul 12, 2019

/rebuild

@winoros winoros merged commit f496b77 into pingcap:master Jul 12, 2019
@winoros winoros deleted the disable-push-unsignedpk-to-index branch July 12, 2019 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/planner SIG: Planner status/LGT2 Indicates that a PR has LGTM 2. type/bugfix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants