-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
UCP: Support the operation of adding multi-columns #5092
Comments
@breeswish PTAL |
related: #3627 |
@zimulala can we close this issue now? I assume it is in reference to composite indexes (which are supported), and not chaining multiple ddl changes at once (roadmap). |
@morgo I can't close this issue yet. We support composite indexes. But this issue says that it supports adding multiple columns in a statement, for example:
|
Related to issues:
|
/pick-up-challenge |
@gauss1314 pick up issue success |
Hi, @zimulala , I think there are 3 kinds of
This issue only mentioned first one, and I think the lack of the latter two affects usability. |
These are just the different positions of the columns. We can adjust their position uniformly at the end of processing. The special function is adjustColumnInfoInAddColumn. |
Description
Support adding multi-columns in one statement, the syntax as follows:
We can add a new action as
AddColumns
to handle this DDL job. We can achieve this by referring to AddColumn action.#3627 implementation was basically okay for the current version, if you need it, you can also use it as a reference.
Score
Mentor(s)
Contact the mentors: #tidb-challenge-program channel in TiDB Community Slack Workspace
Recommended Skills
Learning Materials
MySQL's document for syntax reference.
TiDB DDL architecture
The text was updated successfully, but these errors were encountered: