-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
types: fix FLOAT data overflow check (#20067) #20158
Conversation
There is no reward for this challenge pull request, so you can request a reward from @SunRunAway. |
There is no reward for this challenge pull request, so you can request a reward from @SunRunAway. |
There is no reward for this challenge pull request, so you can request a reward from @SunRunAway. |
3 similar comments
There is no reward for this challenge pull request, so you can request a reward from @SunRunAway. |
There is no reward for this challenge pull request, so you can request a reward from @SunRunAway. |
There is no reward for this challenge pull request, so you can request a reward from @SunRunAway. |
There is no reward for this challenge pull request, so you can request a reward from @SunRunAway. |
1 similar comment
There is no reward for this challenge pull request, so you can request a reward from @SunRunAway. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There is no reward for this challenge pull request, so you can request a reward from @SunRunAway. |
There is no reward for this challenge pull request, so you can request a reward from @SunRunAway. |
/reward 300 |
Reward success. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/run-check_dev_2 |
/merge |
Your auto merge job has been accepted, waiting for:
|
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
@pengdaqian2020, Congratulations, you get 300 in this PR, and your total score is 300 in high-performance challenge program. |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-3.0 in PR #20251 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-4.0 in PR #20252 |
What problem does this PR solve?
Issue Number: close #20067
Problem Summary:
Execute
TiDB 4.0.5
MySQL 5.7.29
What is changed and how it works?
What's Changed:
How it Works:
when the target column is TypeFloat, and the inserted value overflow (greater then math.MaxFloat32 or less than -math.MaxFloat32) return error
Related changes
Check List
Tests
Release note