We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
API improvement, User experience
Alter table statement must support adding or removing columns from primary key, maybe like:
ALTER TABLE table_name MODIFY PRIMARY KEY REMOVE (column1, column2, ...); ALTER TABLE table_name MODIFY PRIMARY KEY add (column1, column2, ...);
No response
The text was updated successfully, but these errors were encountered:
It's not easy to remove an existing column from or add an existing column to the primary key because the order of rows will change.
We also assume all rows are sorted in the same order in the storage engine. Maybe we can do this by copying an existing table and then rename them.
Sorry, something went wrong.
No branches or pull requests
What type of enhancement is this?
API improvement, User experience
What does the enhancement do?
Alter table statement must support adding or removing columns from primary key, maybe like:
Implementation challenges
No response
The text was updated successfully, but these errors were encountered: