Skip to content

expression: fix comparing json with string (#21903)#21958

Merged
qw4990 merged 5 commits intopingcap:release-4.0from
ti-srebot:release-4.0-e172656e3704
Jan 26, 2021
Merged

expression: fix comparing json with string (#21903)#21958
qw4990 merged 5 commits intopingcap:release-4.0from
ti-srebot:release-4.0-e172656e3704

Conversation

@ti-srebot
Copy link
Contributor

cherry-pick #21903 to release-4.0


What problem does this PR solve?

Issue Number: close #11883 , also close #13710

Problem Summary:

What is changed and how it works?

What's Changed: remove Parse json tag

How it Works:

MySQL won't implicitly cast string to JSON during comparison.

Related changes

  • Need to cherry-pick to the release branch

Check List

Tests

  • Integration test
    Side effects

Release note

  • No release note.

Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Contributor Author

/run-all-tests

@ti-srebot
Copy link
Contributor Author

@ichn-hu you're already a collaborator in bot's repo.

@ichn-hu
Copy link
Contributor

ichn-hu commented Dec 23, 2020

@XuHuaiyu @lzmhhh123 PTAL

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 added the status/LGT1 Indicates that a PR has LGTM 1. label Dec 23, 2020
@jebter jebter modified the milestones: 4.0.0, v4.0.11 Jan 7, 2021
@zz-jason zz-jason added the type/bugfix This PR fixes a bug. label Jan 25, 2021
zz-jason
zz-jason previously approved these changes Jan 25, 2021
@ti-srebot ti-srebot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Jan 25, 2021
@zz-jason
Copy link
Member

/merge

@ti-srebot ti-srebot added the status/can-merge Indicates a PR has been approved by a committer. label Jan 25, 2021
@ti-srebot
Copy link
Contributor Author

Your auto merge job has been accepted, waiting for:

  • 20981
  • 21323
  • 21329
  • 21404
  • 21443
  • 21473
  • 21477
  • 21582
  • 21593
  • 21602
  • 21604
  • 21610
  • 21623
  • 21635

@qw4990
Copy link
Contributor

qw4990 commented Jan 26, 2021

Please resolve conflicts. @ichn-hu

@qw4990
Copy link
Contributor

qw4990 commented Jan 26, 2021

/run-all-tests

@ti-srebot ti-srebot added status/LGT3 The PR has already had 3 LGTM. and removed status/LGT2 Indicates that a PR has LGTM 2. labels Jan 26, 2021
@qw4990 qw4990 merged commit 996bcbc into pingcap:release-4.0 Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/expression sig/execution SIG execution status/can-merge Indicates a PR has been approved by a committer. status/LGT3 The PR has already had 3 LGTM. 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.

6 participants