-
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
expression: fix the wrong behaviour bug of vec LeastTime #17848
Conversation
Signed-off-by: JmPotato <[email protected]>
@sre-bot /run-all-tests |
/run-all-tests |
Codecov Report
@@ Coverage Diff @@
## master #17848 +/- ##
===========================================
Coverage 79.5598% 79.5598%
===========================================
Files 524 524
Lines 142538 142538
===========================================
Hits 113403 113403
Misses 19987 19987
Partials 9148 9148 |
@sre-bot /run-integration-copr-test copr-test=pr/133 tikv=pr/7888 |
/run-integration-copr-test copr-test=pr/133 tikv=pr/7888 |
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.
Thanks for your contribution!!
Should the row-based implementation builtinLeastTimeSig.evalString()
also be changed?
And please add some tests for this in expression/builtin_compare.go
.
The row-based implementation is not affected by this bug. And I added some unit tests to cover the invalid time and NULL cases. PTAL, thx! |
Signed-off-by: JmPotato <[email protected]>
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 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
@sre-bot /run-all-tests |
/run-all-tests |
What's wrong with the CI test? |
@sre-bot /run-all-tests |
/run-all-tests |
/run-all-tests |
Some of the CI tests keep failing randomly. Is this normal? |
@sre-bot /run-all-tests |
/run-all-tests |
/run-unit-test |
/run-integration-br-test |
/run-unit-test |
/run-all-tests |
/run-integration-copr-test copr-test=pr/133 tikv=pr/7888 |
Signed-off-by: sre-bot <[email protected]>
cherry pick to release-4.0 in PR #17972 |
…7972) Signed-off-by: sre-bot <[email protected]>
Signed-off-by: JmPotato [email protected]
What problem does this PR solve?
Issue Number: close #17826
Problem Summary:
LEAST() function's behaviour is inconsistent with MySQL.
What is changed and how it works?
What's Changed:
How it Works:
Check List
Tests
Release note
No release note