Skip to content

MySQL: Support comma-separated CREATE TABLE options #1989

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

Merged
merged 1 commit into from
Aug 5, 2025

Conversation

mvzink
Copy link
Contributor

@mvzink mvzink commented Aug 1, 2025

In MySQL, options for CREATE TABLE following the body can be optionally separated by commas. I'm not aware of any cases where this affects parsing (e.g. eliminating ambiguity or anything), so we just optionally eat comma tokens after each option is parsed.

In [MySQL], options for `CREATE TABLE` following the body can be
optionally separated by commas. I'm not aware of any cases where this
affects parsing (e.g. eliminating ambiguity or anything), so we just
optionally eat comma tokens after each option is parsed.

[MySQL]: https://dev.mysql.com/doc/refman/8.4/en/create-table.html
@mvzink mvzink force-pushed the push-lwnpmsyllzwz branch from 2e4ec7f to 7bc4351 Compare August 4, 2025 16:25
Copy link
Contributor

@iffyio iffyio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks @mvzink!
cc @alamb

@iffyio iffyio merged commit 3583514 into apache:main Aug 5, 2025
10 checks passed
@mvzink mvzink deleted the push-lwnpmsyllzwz branch August 5, 2025 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants