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

Alter table add columns #5243

Open
discord9 opened this issue Dec 26, 2024 · 2 comments
Open

Alter table add columns #5243

discord9 opened this issue Dec 26, 2024 · 2 comments
Labels
C-enhancement Category Enhancements good first issue Good for newcomers

Comments

@discord9
Copy link
Contributor

discord9 commented Dec 26, 2024

What type of enhancement is this?

User experience

What does the enhancement do?

Support alter table add more columns(currently only support one) in sql parser. This is both helpful for User Experience and useful in testing, i.e.:(the syntax can change)

Alter Table Add Column l INTEGER DEFAULT 0,m INTEGER DEFAULT 0, n INTEGER DEFAULT 0;

Implementation challenges

None

@discord9 discord9 added C-enhancement Category Enhancements good first issue Good for newcomers labels Dec 26, 2024
@NiwakaDev
Copy link
Collaborator

I'd like to implement this feature.

@discord9
Copy link
Contributor Author

I'd like to implement this feature.

Great! refer to AlterTableOperation::AddColumn and parse_alter_table for example of how to modify parser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category Enhancements good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants