UCP: Exchanging Partitions with tables #15005
Labels
feature/accepted
This feature request is accepted by product managers
sig/sql-infra
SIG: SQL Infra
type/feature-request
Categorizes issue or PR as related to a new feature.
Description
The
ALTER TABLE ... EXCHANGE PARTITION
statement allows a user to exchange partitions with tables. See the MySQL documentation for the detail usage.A possible implementation might be exchanging the DDL meta information, no data movement is involved.
The relatively difficult part is keeping this change atomic, the basic knowledge about DDL is required.
Other trivial parts are checking the table schema identical and handling nonmatching rows.
Score
2530
Mentor(s)
Contact the mentors: #tidb-challenge-program channel in TiDB Community Slack Workspace
Recommended Skills
Learning Materials
The text was updated successfully, but these errors were encountered: