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

[BUG] ALTER TABLE ... MODIFY/DROP should support the IF EXIST option #2112

Open
manticore-projects opened this issue Nov 19, 2024 Discussed in #2111 · 0 comments
Open

[BUG] ALTER TABLE ... MODIFY/DROP should support the IF EXIST option #2112

manticore-projects opened this issue Nov 19, 2024 Discussed in #2111 · 0 comments
Assignees
Labels
bug DDL DDL statement related

Comments

@manticore-projects
Copy link
Contributor

Discussed in #2111

Originally posted by dani-petrov November 19, 2024
Hello, I will attach a screenshot of the currently supported syntax for Alter Table -> modify column:
Screenshot 2024-11-19 at 9 59 46
Looking at the circled part, the correct syntax for a MODIFY [COOUMN] statement is together with [IF EXISTS] and not [IF NOT EXISTS]. This leads to failed parsing. Is it possible to allow both IF NOT EXISTS and IF EXISTS?
Thank you!

@manticore-projects manticore-projects added bug DDL DDL statement related labels Nov 19, 2024
@manticore-projects manticore-projects self-assigned this Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug DDL DDL statement related
Projects
None yet
Development

No branches or pull requests

1 participant