-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Support hash-sharded index in partitioned tables #74626
Copy link
Copy link
Closed
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Description
Is your feature request related to a problem? Please describe.
Currently hash sharding is not allowed if an index is partitioned. But this would be a feature wildly wanted by users. For example an user asked if they can emulate hash-sharded index with partitioned table in discussion #74395
Describe the solution you'd like
Support hash-sharded indices with all the following partitioning cases.
(1) implicit partitioned index in regional by row tables (crdb_region is not part of the index columns)
(2) implicit partitioned index in partition all by tables (partitioning fields are not part of the index columns
Epic CRDB-7363
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)SQL Foundations Team (formerly SQL Schema + SQL Sessions)