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, expression: fix a bug causes schema change after DML #21027

Merged
merged 2 commits into from
Nov 13, 2020

Conversation

wjhuang2016
Copy link
Member

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

What problem does this PR solve?

Issue Number: close #19701

Problem Summary:
schema change after DML

What is changed and how it works?

Copy the fieldType

Related changes

  • PR to update pingcap/docs/pingcap/docs-cn:
  • Need to cherry-pick to the release branch

Check List

Tests

  • Unit test

Side effects

Release note

  • fix a bug causes schema change after DML

Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
@wjhuang2016 wjhuang2016 requested review from a team as code owners November 12, 2020 12:24
@wjhuang2016 wjhuang2016 requested review from SunRunAway and removed request for a team November 12, 2020 12:24
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

@ti-srebot ti-srebot added the status/LGT1 Indicates that a PR has LGTM 1. label Nov 12, 2020
@ichn-hu ichn-hu mentioned this pull request Nov 12, 2020
@wjhuang2016 wjhuang2016 requested a review from coocood November 13, 2020 03:15
@jackysp
Copy link
Member

jackysp commented Nov 13, 2020

Are there any other similar parts needing Clone()?

@wjhuang2016
Copy link
Member Author

Are there any other similar parts needing Clone()?

I' am not sure. It's difficult to consider all the cases.

@xiongjiwei
Copy link
Contributor

lgtm

@ti-srebot
Copy link
Contributor

@xiongjiwei, Thanks for your review. The bot only counts LGTMs from Reviewers and higher roles, but you're still welcome to leave your comments. See the corresponding SIG page for more information. Related SIG: execution(slack).

@ti-challenge-bot
Copy link

There is no reward for this challenge pull request, so you can request a reward from @SunRunAway.

Details

Tip : About reward you can refs to reward-command.

Warning: None

1 similar comment
@ti-challenge-bot
Copy link

There is no reward for this challenge pull request, so you can request a reward from @SunRunAway.

Details

Tip : About reward you can refs to reward-command.

Warning: None

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

@ti-srebot ti-srebot removed the status/LGT1 Indicates that a PR has LGTM 1. label Nov 13, 2020
@ti-srebot ti-srebot added the status/LGT2 Indicates that a PR has LGTM 2. label Nov 13, 2020
@wjhuang2016
Copy link
Member Author

/run-all-tests

1 similar comment
@wjhuang2016
Copy link
Member Author

/run-all-tests

@wjhuang2016 wjhuang2016 merged commit d084651 into pingcap:master Nov 13, 2020
@wjhuang2016 wjhuang2016 deleted the fix_schema_dml_change branch November 13, 2020 11:47
ti-srebot pushed a commit to ti-srebot/tidb that referenced this pull request Nov 13, 2020
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Contributor

cherry pick to release-4.0 in PR #21050

ti-srebot added a commit that referenced this pull request Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/expression 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.

Change a json column using DML statements will lead to change of the column meta data
6 participants