-
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: support handle two collation cannot substituted to each other (#19036) #22582
expression: support handle two collation cannot substituted to each other (#19036) #22582
Conversation
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
/run-all-tests |
@xiongjiwei you're already a collaborator in bot's repo. |
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
/merge |
/run-all-tests |
@ti-srebot merge failed. |
/merge |
/run-all-tests |
@ti-srebot merge failed. |
/merge |
/run-all-tests |
@ti-srebot merge failed. |
/merge |
/run-all-tests |
@ti-srebot merge failed. |
/merge |
/run-all-tests |
/merge |
/merge |
/run-all-tests |
/run-all-tests |
1 similar comment
/run-all-tests |
@ti-srebot merge failed. |
/run-mybatis-test |
/merge |
/run-all-tests |
/merge |
/run-all-tests |
/merge |
/run-all-tests |
@ti-srebot merge failed. |
/run-unit-test |
/run-all-tests |
cherry-pick #19036 to release-4.0
You can switch your code base to this Pull Request by using git-extras:
# In tidb repo: git pr https://github.com/pingcap/tidb/pull/22582
After apply modifications, you can push your change to this PR via:
What problem does this PR solve?
current collation strictness cannot handle situation if two collation cannot substituted to each other
e.g.
a != b
in collationA
,a=b
in collationB
andc=d
in collationA
,c!=d
in collationB
What is changed and how it works?
group collation by strictness, two collation can be substituted each other if they are in same group.
store strictnessship in a map with group id, collation group id in value is stricter than collation group id in key
Release note
CollationStrictness
to support incompatible strictnessship