-
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
CONVERT_TZ should return NULL if its arguments are invalid. (#11161) #11176
Conversation
/retest |
Codecov Report
@@ Coverage Diff @@
## master #11176 +/- ##
===========================================
Coverage ? 81.4428%
===========================================
Files ? 423
Lines ? 90725
Branches ? 0
===========================================
Hits ? 73889
Misses ? 11529
Partials ? 5307 |
@SunRunAway PTAL |
/retest |
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-all-tests |
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 @lzmhhh123
@tcmichael Please add some tests in tidb/expression/integration_test.go Line 1798 in 0ba4d0b
Then I will approve. |
@lzmhhh123 PTAL |
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-all-tests |
…upstream-release-2.1
…upstream-release-3.0
…upstream-release-2.1
…upstream-release-3.0
What problem does this PR solve?
CONVERT_TZ should return NULL if its arguments are invalid
Closes #11161
What is changed and how it works?
evalTime
swallows error and makesisNull
true when the arguments are invalid.Check List
Tests