-
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 wrong result when select with collation #18665
Conversation
Codecov Report
@@ Coverage Diff @@
## master #18665 +/- ##
================================================
+ Coverage 79.4037% 79.4818% +0.0780%
================================================
Files 542 540 -2
Lines 147080 145622 -1458
================================================
- Hits 116787 115743 -1044
+ Misses 20943 20550 -393
+ Partials 9350 9329 -21 |
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
@wjhuang2016,Thanks for your review. However, LGTM is restricted to Reviewers or higher roles.See the corresponding SIG page for more information. Related SIGs: execution(slack). |
/rebuild |
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 address the comment @xiongjiwei
Should we pick this PR to v4.0? @wjhuang2016 |
Yeah |
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
@qw4990 Oops! This PR requires at least 2 LGTMs to merge. The current number of |
/merge |
@qw4990 Oops! This PR requires at least 2 LGTMs to merge. The current number of |
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 |
@qw4990 Oops! This PR requires at least 2 LGTMs to merge. The current number of |
/merge |
@qw4990 Oops! This PR requires at least 2 LGTMs to merge. The current number of |
LGTM |
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
@xiongjiwei merge failed. |
/run-all-tests |
1 similar comment
/run-all-tests |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-4.0 in PR #18735 |
What problem does this PR solve?
Issue Number: close #18662
What changed
add
newBaseBuiltinFuncWithFieldType
, this function create a newbasebuiltinFunc
without check.How it works
remove unnecessary mix collation check, use collation decode from
pb
directly, do not re-calculate it.pb
does not contains coercibility, re-calculate collation will get wrong result.Tests
Release note
getSignatureByPB
and remove unnecessary recover