We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When trying to parse
CREATE TABLE table2 ( column21 bigint primary key generated always as identity, column22 text );
let ast: Vec<ast::Statement> = SQLParser::parse_sql(&dialect, &contents).unwrap();
dialect = PostgreSqlDialect contents = above DDL
Will produce
ParserError("Expected ',' or ')' after column definition, found: generated")
Above DDL is valid on PostgreSQL. Am I doing something wrong or is generated always as identity not supported?
generated always as identity
The text was updated successfully, but these errors were encountered:
@sam-mmm that's a constraint not supported yet.
Sorry, something went wrong.
Thanks,
this pull request covers it #587
@sam-mmm can't that be reduced to smaller PRs?
Having a huge PR with different concepts makes it hard to review. You're dealing with 3 different problems at least, that could be 3 different PRs.
@AugustoFKL I have closed PR #587 and created PR #673
No branches or pull requests
When trying to parse
let ast: Vec<ast::Statement> = SQLParser::parse_sql(&dialect, &contents).unwrap();
dialect = PostgreSqlDialect
contents = above DDL
Will produce
Above DDL is valid on PostgreSQL.
Am I doing something wrong or is
generated always as identity
not supported?The text was updated successfully, but these errors were encountered: