datafusion-sqlparse/tests
eyalleshem 1b46e82eec
Enable dialect specific behaviours in the parser (#254)
* Change `Parser { ... }` to store the dialect used:
    `Parser<'a> { ... dialect: &'a dyn Dialect }`

    Thanks to @c7hm4r for the initial version of this submitted as
    part of https://github.com/ballista-compute/sqlparser-rs/pull/170

* Introduce `dialect_of!(parser is SQLiteDialect |  GenericDialect)` helper
    to branch on the dialect's type

* Use the new functionality to make `AUTO_INCREMENT` and `AUTOINCREMENT`
  parsing dialect-dependent.


Co-authored-by: Christoph Müller <pmzqxfmn@runbox.com>
Co-authored-by: Nickolay Ponomarev <asqueella@gmail.com>
2020-08-10 16:51:59 +03:00
..
queries/tpch Add TPCH reggression tests (#221) 2020-07-14 21:48:07 +02:00
sqlparser_common.rs Enable dialect specific behaviours in the parser (#254) 2020-08-10 16:51:59 +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 provide missing license header 2020-07-31 09:01:32 -07:00
sqlparser_sqlite.rs Add SQLite dialect (#248) 2020-07-31 15:09:54 +03:00