-
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
util: fix a encode bug causes the wrong result of hashJoin with set and enum #18855
Conversation
LGTM |
/run-all-tests |
Codecov Report
@@ Coverage Diff @@
## master #18855 +/- ##
===========================================
Coverage 79.1969% 79.1969%
===========================================
Files 546 546
Lines 147728 147728
===========================================
Hits 116996 116996
Misses 21294 21294
Partials 9438 9438 |
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 Oops! auto merge is restricted to Committers of the SIG.See the corresponding SIG page for more information. Related SIGs: execution(slack). |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-4.0 in PR #18859 |
@wjhuang2016 It should be cherry-picked to release-3.0 & release-3.1. |
/run-cherry-picker |
cherry pick to release-3.0 in PR #19172 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
Signed-off-by: wjhuang2016 huangwenjun1997@gmail.com
What problem does this PR solve?
Issue Number: close #18850
Problem Summary:
Previously, we use the offset of set or enum to decide if two sets or enum are equal, which is not always correct.
What is changed and how it works?
What's Changed:
When encode set or enum, use the offset to get the original string
Related changes
Check List
Tests
Side effects
Release note