datafusion-sqlparse/tests
Nickolay Ponomarev c69a1881c7 Change ALTER TABLE constraints parsing
- merge PrimaryKey and UniqueKey variants
- support `CHECK` constraints, removing the separate `Key` struct
- make `CONSTRAINT constraint_name` optional
- remove `KEY` without qualifiers (wasn't parsed and there doesn't
  appear to be such a thing)
- change `UNIQUE KEY` -> `UNIQUE`
- change `REMOVE CONSTRAINT` -> `DROP CONSTRAINT` and note its parsing
  is not implemented

Spec:
- ANSI SQL: see <table constraint definition> in https://jakewheat.github.io/sql-overview/sql-2011-foundation-grammar.html#_11_6_table_constraint_definition
- Postgres: look for "and table_constraint is:" in https://www.postgresql.org/docs/11/sql-altertable.html
2019-06-02 13:54:11 +03:00
..
sqlparser_common.rs Change ALTER TABLE constraints parsing 2019-06-02 13:54:11 +03:00
sqlparser_mssql.rs Add comments to the test files 2019-05-04 02:43:00 +03:00
sqlparser_postgres.rs Add comments to the test files 2019-05-04 02:43:00 +03:00