Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ALTER TABLE t REMOVE PARTITIONING #42616

Closed
8 of 14 tasks
mjonss opened this issue Mar 27, 2023 · 0 comments · Fixed by #42907
Closed
8 of 14 tasks

Support ALTER TABLE t REMOVE PARTITIONING #42616

mjonss opened this issue Mar 27, 2023 · 0 comments · Fixed by #42907
Assignees
Labels
component/tablepartition This issue is related to Table Partition of TiDB. type/enhancement The issue or PR belongs to an enhancement.

Comments

@mjonss
Copy link
Contributor

mjonss commented Mar 27, 2023

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:

Note: FOREIGN Key is not yet supported with Partitioned Tables, so no need to test it, see #46960.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/tablepartition This issue is related to Table Partition of TiDB. type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
2 participants