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

expression: solve bug when using string data in Div #14098

Merged
merged 6 commits into from
Mar 2, 2020

Conversation

fzhedu
Copy link
Contributor

@fzhedu fzhedu commented Dec 17, 2019

What problem does this PR solve?

fix function no longer support string as integer in 3.x #11998

What is changed and how it works?

in arithmeticDivideFunctionClass.setType4DivReal, it set the decimal to 31 while flen is 23. I change the decimal to -1, like in #12858

Check List

Tests

  • Integration test

Code changes

  • N/A

Side effects

  • N/A

Related changes

  • Need to cherry-pick to the release branch 3.1

Release note

  • avoid bugs when using the data of string type in Div.

@fzhedu fzhedu changed the title sovle bug 11998 expression: solve bug when using string data in Div Dec 17, 2019
Copy link
Contributor

@SunRunAway SunRunAway left a comment

Choose a reason for hiding this comment

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

Why not cherry pick #12858?

@XuHuaiyu XuHuaiyu removed their request for review February 4, 2020 02:08
@SunRunAway SunRunAway linked an issue Feb 24, 2020 that may be closed by this pull request
@SunRunAway
Copy link
Contributor

I'll add other tests when resolving #14935

@SunRunAway
Copy link
Contributor

/run-all-tests

Copy link
Member

@zz-jason zz-jason left a comment

Choose a reason for hiding this comment

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

LGTM

@sre-bot
Copy link
Contributor

sre-bot commented Feb 28, 2020

@SunRunAway, @zz-jason, @qw4990, @XuHuaiyu, @wshwsh12, PTAL.

1 similar comment
@sre-bot
Copy link
Contributor

sre-bot commented Mar 1, 2020

@SunRunAway, @zz-jason, @qw4990, @XuHuaiyu, @wshwsh12, PTAL.

@SunRunAway SunRunAway added the priority/release-blocker This issue blocks a release. Please solve it ASAP. label Mar 2, 2020
@zz-jason zz-jason added the status/LGT1 Indicates that a PR has LGTM 1. label Mar 2, 2020
Copy link
Contributor

@zimulala zimulala left a comment

Choose a reason for hiding this comment

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

LGTM

@zimulala zimulala removed the status/LGT1 Indicates that a PR has LGTM 1. label Mar 2, 2020
@zimulala zimulala added status/can-merge Indicates a PR has been approved by a committer. and removed status/PTAL labels Mar 2, 2020
@sre-bot
Copy link
Contributor

sre-bot commented Mar 2, 2020

/run-all-tests

@sre-bot sre-bot merged commit 54b9fbe into pingcap:release-3.0 Mar 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/expression priority/release-blocker This issue blocks a release. Please solve it ASAP. status/can-merge Indicates a PR has been approved by a committer. type/bugfix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

function no longer support string as integer in 3.x
5 participants