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

table: fix a bug that replaces into a table with generated column fail (#17838) #17907

Merged
merged 4 commits into from
Jul 15, 2020

Conversation

sre-bot
Copy link
Contributor

@sre-bot sre-bot commented Jun 10, 2020

cherry-pick #17838 to release-4.0


Signed-off-by: wjhuang2016 huangwenjun1997@gmail.com

What problem does this PR solve?

Issue Number: close #17265

Problem Summary:
When decoding the row, we didn't skip the virtual generated column when trying to get a default value for the virtual generated column.

What is changed and how it works?

skip the virtual generated column when trying to get a default value for the virtual generated column.

Related changes

  • Need to cherry-pick to the release branch

Check List

Tests

  • Unit test

Side effects

Release note

  • fix a bug that replaces into a table with generated column fail

@sre-bot
Copy link
Contributor Author

sre-bot commented Jun 10, 2020

/run-all-tests

@tiancaiamao
Copy link
Contributor

LGTM
Data related bug, better to include it in 4.0.2 @bb7133

@tiancaiamao tiancaiamao added the status/LGT1 Indicates that a PR has LGTM 1. label Jun 15, 2020
bb7133
bb7133 previously approved these changes Jun 19, 2020
Copy link
Member

@bb7133 bb7133 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 modified the milestones: v4.0.2, v4.0.3 Jun 19, 2020
@bb7133 bb7133 added the priority/release-blocker This issue blocks a release. Please solve it ASAP. label Jun 19, 2020
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
Copy link
Contributor

@lzmhhh123 lzmhhh123 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
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
Copy link
Member

winoros commented Jul 15, 2020

/run-all-tests

@bb7133
Copy link
Member

bb7133 commented Jul 15, 2020

/merge

@ti-srebot ti-srebot added the status/can-merge Indicates a PR has been approved by a committer. label Jul 15, 2020
@ti-srebot
Copy link
Contributor

/run-all-tests

@SunRunAway
Copy link
Contributor

/merge

@ti-srebot ti-srebot merged commit df159a1 into pingcap:release-4.0 Jul 15, 2020
@winoros winoros deleted the release-4.0-3ab8f34110cb branch July 15, 2020 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/release-blocker This issue blocks a release. Please solve it ASAP. sig/execution SIG execution status/can-merge Indicates a PR has been approved by a committer. status/LGT1 Indicates that a PR has LGTM 1. type/bugfix This PR fixes a bug. type/4.0-cherry-pick
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants