Support ALTER TABLE t REMOVE PARTITIONING #42616
Labels
component/tablepartition
This issue is related to Table Partition of TiDB.
type/enhancement
The issue or PR belongs to an enhancement.
Enhancement
There are no ways to alter a table between partitioned and non-partitioned (unless you renaming tables and using exchange partition to move the data into a partitioned table).
This enhancement is to support
ALTER TABLE t REMOVE PARTITIONING
.Also making clear if such operation would allow other DDL operations in the same statement (like changing columns etc.)
Another related enhancement would be to support
ALTER TABLE t PARTITION BY ...
to (re)partition a table with a new partitioning scheme.Tasks:
ALTER TABLE t REMOVE PARTITIONING
*: Remove and add partitioning | tidb-test=pr/2125 #42907ALTER TABLE t PARTITION BY ...
*: Remove and add partitioning | tidb-test=pr/2125 #42907Note: FOREIGN Key is not yet supported with Partitioned Tables, so no need to test it, see #46960.
The text was updated successfully, but these errors were encountered: