-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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: fix inaccurate error info for year column out of range #18871
Conversation
Codecov Report
@@ Coverage Diff @@
## master #18871 +/- ##
================================================
+ Coverage 79.1180% 79.1303% +0.0123%
================================================
Files 547 545 -2
Lines 147778 147113 -665
================================================
- Hits 116919 116411 -508
+ Misses 21383 21282 -101
+ Partials 9476 9420 -56 |
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.
Almost LGTM.
Please add the case in #18792 as a unit test. @xiaodong-ji
adc916f
to
b17cded
Compare
PTAL @qw4990 I've added a unit test. |
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
PTAL @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.
Almost LGTM
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
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
/run-all-tests |
@xiaodong-ji merge failed. |
/run-check_dev_2 |
/run-all-tests |
/run-unit-test |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-3.0 in PR #20169 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-4.0 in PR #20170 |
What problem does this PR solve?
Issue Number: close #18792
Problem Summary:
Inaccurate error info for year column out of range.
What is changed and how it works?
What's Changed:
Modified return error type as overflow.
Check List
Tests
Release note