-
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
Can't use like
to build range when new collation is enabled
#48181
Comments
/found gs |
Converting this issue to an enhancement since it's a known limitation, as said in #31278, and needs extra work for implementation and testing. |
/type enhancement |
/remove-type bug |
BackgroundTo implement this feature, the key is to build the range for the wildcard case correctly. In brief, our target is to build Implementation
TestsConstruct tables and data, and check the execution plan and query result for the following cases: Charset
Collation
Index
|
…D SPACE column (pingcap#48845) ref pingcap#48181, close pingcap#48821
…new collation columns (pingcap#48972) ref pingcap#48181
…new collation columns (pingcap#48972) ref pingcap#48181
/found customer |
Bug Report
After pr 31278 , we can't use
like
to build range when new collation is enabled. This doesn't make sense and will cause bad sql performance.Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
v6.5.3
The text was updated successfully, but these errors were encountered: