Remove restriction on table partitioning about all partition columns needs to be included in all unique keys. #36019
Labels
component/tablepartition
This issue is related to Table Partition of TiDB.
type/feature-request
Categorizes issue or PR as related to a new feature.
Feature Request
Is your feature request related to a problem? Please describe:
When using table partitioning in TiDB one needs to include all partitioning columns in all unique keys, to ensure uniqueness. This sometimes leads to breaking the real properties of unique and primary keys simply because one wants to partition a table (like adding the partitioning columns to the PK).
Describe the feature you'd like:
Support unique indexes to not include the partitioning columns.
This can be done in different ways:
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy:
The text was updated successfully, but these errors were encountered: