-
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
about RANGE COLUMNS partitioning:partition clipping does not take effect #32626
Comments
The issue does not affect |
Only |
Can partition clipping be implemented for VARCHAR or other string types for RANGE COLUMNS partitioning?There are a number of cases in our enterprise that require this implementation. |
@WholeWorld-Timothy yes it can be implemented, it is fairly simple to do, but it also needs testing with different collations etc. What character set and collation do you use (so I can add tests for them)? |
We use the default character set and collation rules: utf8mb4, utf8mb4_bin |
/label affects-5.3 |
/assign @mjonss |
/label affects-5.2 |
/label affects-5.1 |
/label affects-5.0 |
/label affects-4.0 |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
1.create table like:
explain select * from test.table_day where summ_date in (“20210101”,“20210102”);
2. What did you expect to see? (Required)
All partitions are scanned
3. What did you see instead (Required)
partition clipping is performed at query time
4. What is your TiDB version? (Required)
5.4.0
The text was updated successfully, but these errors were encountered: