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

[FEATURE] ALTER TABLE table_name COMMENT = 'New table comment' #1935

Closed
joonyung opened this issue Dec 26, 2023 · 0 comments · Fixed by #1936
Closed

[FEATURE] ALTER TABLE table_name COMMENT = 'New table comment' #1935

joonyung opened this issue Dec 26, 2023 · 0 comments · Fixed by #1936
Labels
DDL DDL statement related MySQL MySQL specific issue Sponsor needed

Comments

@joonyung
Copy link

joonyung commented Dec 26, 2023

SQL Example

  • Simplified Query Example, focusing on the failing feature
    ALTER TABLE table_name COMMENT = 'New table comment'
net.sf.jsqlparser.JSQLParserException: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "=" "="
    at line 1, column 32.

Was expecting:

    <S_CHAR_LITERAL>

Additional context

cannot parse ALTER TABLE table_name COMMENT = 'New table comment' which changes a comment on the table.
https://dev.mysql.com/doc/refman/8.0/en/alter-table.html

Thank you very much and merry christmas.

@manticore-projects manticore-projects added DDL DDL statement related Sponsor needed MS SQL Server MS SQL Server specific feature MySQL MySQL specific issue and removed MS SQL Server MS SQL Server specific feature labels Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DDL DDL statement related MySQL MySQL specific issue Sponsor needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants