-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
component/tablepartitionThis issue is related to Table Partition of TiDB.This issue is related to Table Partition of TiDB.sig/sql-infraSIG: SQL InfraSIG: SQL Infratype/feature-requestCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.
Description
Feature Request
Is your feature request related to a problem? Please describe:
After #45133, we already supported global index with unique index. In order to meet the needs of more users, we plan to further relax the restrictions and allow non-unique indexes to be used as global indexes.
Describe the feature you'd like:
Supports some SQLs below
create table t(a int, b int, index idx(b) global) partition by hash(a);
create table t(a int, b int) partition by hash(a);
alter table t add index idx(b) global;
Describe alternatives you've considered:
None
Teachability, Documentation, Adoption, Migration Strategy:
Remove the limitaions in https://docs.pingcap.com/tidb/dev/partitioned-table#limitations-of-global-indexes after this issue fixed.
Metadata
Metadata
Assignees
Labels
component/tablepartitionThis issue is related to Table Partition of TiDB.This issue is related to Table Partition of TiDB.sig/sql-infraSIG: SQL InfraSIG: SQL Infratype/feature-requestCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.