datafusion-sqlparse/tests
mz 4452f9bad1
Support specifying ASC/DESC in index columns (#249)
...by reusing `OrderByExpr` for `columns` in `Statement::CreateIndex`.

This supports SQLite's indexed-column syntax https://www.sqlite.org/syntax/indexed-column.html

MSSQL's (`ON <object> ( column [ ASC | DESC ] [ ,...n ] )`)
https://docs.microsoft.com/en-us/sql/t-sql/statements/create-index-transact-sql?view=sql-server-ver15

And most of PostgreSQL syntax (except for opclass):
`( { column_name | ( expression ) } [ COLLATE collation ] [ opclass ] [ ASC | DESC ] [ NULLS { FIRST | LAST } ] [, ...] )`
https://www.postgresql.org/docs/12/sql-createindex.html
2020-07-30 15:37:58 +03:00
..
queries/tpch Add TPCH reggression tests (#221) 2020-07-14 21:48:07 +02:00
sqlparser_common.rs Support specifying ASC/DESC in index columns (#249) 2020-07-30 15:37:58 +03:00
sqlparser_mssql.rs Add support for MSSQL's SELECT TOP N syntax (#150) 2020-01-12 23:20:48 -05:00
sqlparser_mysql.rs Support identifiers quoted with backticks in the MySQL dialect (#247) 2020-07-30 04:22:29 +03:00
sqlparser_postgres.rs Fix "unused stmt" warning in tests, with default features 2020-07-29 02:08:17 +03:00
sqlparser_regression.rs Add TPCH reggression tests (#221) 2020-07-14 21:48:07 +02:00
sqlparser_sqlite.rs Support dialect-specific auto-increment column options for MySQL and SQLite (#234) 2020-07-28 23:34:21 +03:00