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: should handle virtual columns when fetching duplicate rows in batchChecker #10370

Merged
merged 6 commits into from
May 8, 2019

Conversation

jackysp
Copy link
Member

@jackysp jackysp commented May 6, 2019

Signed-off-by: Shuaipeng Yu [email protected]

What problem does this PR solve?

When fetching the duplicate rows in batchChecker, the virtual columns won't contribute to the dupKV map. So the replace/insert on duplicate will always find duplicate keys.

What is changed and how it works?

Should handle virtual columns when fetching duplicate rows in batchChecker.

Check List

Tests

  • Unit test

Code changes

  • Has exported function/method change

Side effects

  • Increased code complexity

Related changes

  • Need to cherry-pick to the release branch

@jackysp jackysp added status/WIP type/bugfix This PR fixes a bug. sig/execution SIG execution labels May 6, 2019
@jackysp
Copy link
Member Author

jackysp commented May 6, 2019

I'll add some cases tomorrow.

@codecov
Copy link

codecov bot commented May 6, 2019

Codecov Report

Merging #10370 into master will increase coverage by 0.0198%.
The diff coverage is 66.6666%.

@@               Coverage Diff                @@
##             master     #10370        +/-   ##
================================================
+ Coverage   77.6497%   77.6695%   +0.0198%     
================================================
  Files           412        411         -1     
  Lines         85547      85444       -103     
================================================
- Hits          66427      66364        -63     
+ Misses        14150      14116        -34     
+ Partials       4970       4964         -6

@codecov
Copy link

codecov bot commented May 7, 2019

Codecov Report

Merging #10370 into master will increase coverage by 0.0201%.
The diff coverage is 69.2307%.

@@               Coverage Diff                @@
##             master     #10370        +/-   ##
================================================
+ Coverage   77.3876%   77.4078%   +0.0201%     
================================================
  Files           412        412                
  Lines         85586      85596        +10     
================================================
+ Hits          66233      66258        +25     
+ Misses        14334      14324        -10     
+ Partials       5019       5014         -5

@jackysp jackysp marked this pull request as ready for review May 7, 2019 06:13
jackysp added 4 commits May 7, 2019 14:14
Signed-off-by: Shuaipeng Yu <[email protected]>
Signed-off-by: Shuaipeng Yu <[email protected]>
@jackysp
Copy link
Member Author

jackysp commented May 7, 2019

/run-all-tests

Signed-off-by: Shuaipeng Yu <[email protected]>
@jackysp
Copy link
Member Author

jackysp commented May 7, 2019

/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 May 7, 2019
Copy link
Contributor

@amyangfei amyangfei left a comment

Choose a reason for hiding this comment

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

LGTM

@amyangfei amyangfei added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels May 7, 2019
zz-jason pushed a commit that referenced this pull request May 9, 2019
@jackysp jackysp deleted the fix_gen_batch branch May 29, 2019 07:36
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.

4 participants