comdb2 icon indicating copy to clipboard operation
comdb2 copied to clipboard

Repartitioning table

Open riverszhang89 opened this issue 1 year ago • 0 comments

Currently changing partitioning on a table requires two schema changes: the existing partition needs to be dropped first, and only then a new partition can be created on the table.

This patch extends alter-table to repartition a table within a single schema change. A new keyword 'REPARTITIONED' is introduced, to emphasize that this operation moves data around and creates a new partition.

riverszhang89 avatar Sep 23 '23 03:09 riverszhang89