We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ALTER
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
I change the test in sqlparser_common.rs https://github.com/ballista-compute/sqlparser-rs/blob/f053383c718b3d4942751224783c594ff7e9f0b1/tests/sqlparser_common.rs#L1380 change "ALTER TABLE tab ADD COLUMN foo TEXT" to "ALTER TABLE tab ADD COLUMN foo TEXT;", add a semicolon at the end of the SQL, when I rerun the test it reports
sqlparser_common.rs
"ALTER TABLE tab ADD COLUMN foo TEXT"
"ALTER TABLE tab ADD COLUMN foo TEXT;"
---- parse_alter_table stdout ---- thread 'parse_alter_table' panicked at 'called `Result::unwrap()` on an `Err` value: ParserError("Expected column option, found: ;")', src/test_utils.rs:70:30
The text was updated successfully, but these errors were encountered:
Yeah, seems like in #203 we should have made the match in parse_column_def context-dependent...
match
parse_column_def
Sorry, something went wrong.
9c1a5a7
No branches or pull requests
I change the test in
sqlparser_common.rs
https://github.com/ballista-compute/sqlparser-rs/blob/f053383c718b3d4942751224783c594ff7e9f0b1/tests/sqlparser_common.rs#L1380change
"ALTER TABLE tab ADD COLUMN foo TEXT"
to"ALTER TABLE tab ADD COLUMN foo TEXT;"
, add a semicolon at the end of the SQL, when I rerun the test it reportsThe text was updated successfully, but these errors were encountered: