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

executor: ignore overflow error when construct inner key #10244

Merged
merged 6 commits into from
Apr 29, 2019

Conversation

alivxxx
Copy link
Contributor

@alivxxx alivxxx commented Apr 24, 2019

What problem does this PR solve?

When the outer join key of index join is not the same type as inner side, we may meet overflows error when constructing the inner join key, and it may raise errors to the client.

What is changed and how it works?

Ignore the overflow error when constructing the inner join key.

Check List

Tests

  • Unit test

Code changes

  • Has unexported function/method change

Side effects

  • None

Related changes

  • Need to cherry-pick to the release branch

@alivxxx alivxxx added type/bugfix This PR fixes a bug. sig/execution SIG execution labels Apr 24, 2019
@alivxxx alivxxx changed the title executor: fix overflow error when construct inner key executor: ignore overflow error when construct inner key Apr 24, 2019
@zhouqiang-cl
Copy link
Contributor

/run-all-tests

Copy link
Member

@winoros winoros 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 Apr 25, 2019
@alivxxx
Copy link
Contributor Author

alivxxx commented Apr 25, 2019

/run-all-tests

@alivxxx
Copy link
Contributor Author

alivxxx commented Apr 26, 2019

PTAL @XuHuaiyu @zz-jason

Copy link
Contributor

@XuHuaiyu XuHuaiyu left a comment

Choose a reason for hiding this comment

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

LGTM

@alivxxx alivxxx added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Apr 29, 2019
@codecov
Copy link

codecov bot commented Apr 29, 2019

Codecov Report

Merging #10244 into master will increase coverage by 0.012%.
The diff coverage is 100%.

@@               Coverage Diff               @@
##             master     #10244       +/-   ##
===============================================
+ Coverage   77.8326%   77.8447%   +0.012%     
===============================================
  Files           410        410               
  Lines         85017      84991       -26     
===============================================
- Hits          66171      66161       -10     
+ Misses        13902      13891       -11     
+ Partials       4944       4939        -5

1 similar comment
@codecov
Copy link

codecov bot commented Apr 29, 2019

Codecov Report

Merging #10244 into master will increase coverage by 0.012%.
The diff coverage is 100%.

@@               Coverage Diff               @@
##             master     #10244       +/-   ##
===============================================
+ Coverage   77.8326%   77.8447%   +0.012%     
===============================================
  Files           410        410               
  Lines         85017      84991       -26     
===============================================
- Hits          66171      66161       -10     
+ Misses        13902      13891       -11     
+ Partials       4944       4939        -5

lzmhhh123 added a commit to lzmhhh123/tidb that referenced this pull request Jul 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/execution SIG execution 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.

5 participants