forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: add catalog.Partitioning interface
This commit aims at reducing direct usage of descpb.PartitioningDescriptor types and instead using the new catalog.Partitioning interface. This refactoring is in line with recent virtualization work tracked under cockroachdb#56306. In an effort to improve readability and ability to reason about state changes, this commit changes the type signature of sql.CreatePartitioning and, notably, removes its side-effects on the index descriptor. The latter is now modified using a new tabledesc.UpdateIndexPartitioning function. Release note: None
- Loading branch information
Marius Posta
committed
May 13, 2021
1 parent
7364dde
commit a24d6c2
Showing
27 changed files
with
625 additions
and
457 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.