datafusion-sqlparse/tests
Andrew Lamb 82eaae1522
Implement some MySQL specific syntax and extend the UPDATE statement (#375)
* * implement the ON DUPLICATE KEY syntax for MySQL in an INSERT statement

* * add MySQL to the cli example
* remove the dialect check for the ON DUPLICATE KEY insert to support
  custom dialects and unwrap some missing results

* * use the Assignment DataType for the ON DUPLICATE KEY UPDATE

* * add support for table aliases in an UPDATE statement
* add support for JOINS in an UPDATE statement (for MySQL)

* * implement the MySQL ALTER TABLE CHANGE COLUMN syntax

* * fix the formatting of the else * rename the parse_identifiers_strict
  to parse_identifiers_non_keywords

* Parse SUBSTRING calls that are separated with a comma instead of
keywords

* Fix the linting errors

Co-authored-by: Piotr <piotr.morawski@nc-vision.com>
Co-authored-by: Piotr Morawski <contact@peter-morawski.de>
2021-12-10 14:46:11 -05:00
..
queries/tpch Add TPCH reggression tests (#221) 2020-07-14 21:48:07 +02:00
test_utils Introduce tests/test_utils/mod.rs and use it consistently 2020-10-12 06:52:00 +03:00
sqlparser_common.rs Implement some MySQL specific syntax and extend the UPDATE statement (#375) 2021-12-10 14:46:11 -05:00
sqlparser_hive.rs Enable map access for numbers, multiple nesting levels (#356) 2021-09-24 14:22:12 -04:00
sqlparser_mssql.rs Support Parsing of hexadecimal literals that start with 0x (#324) 2021-08-25 12:57:32 -04:00
sqlparser_mysql.rs Implement some MySQL specific syntax and extend the UPDATE statement (#375) 2021-12-10 14:46:11 -05:00
sqlparser_postgres.rs Enable map access for numbers, multiple nesting levels (#356) 2021-09-24 14:22:12 -04:00
sqlparser_regression.rs Parse floats without leading number (#294) 2021-02-08 08:11:01 +01:00
sqlparser_snowflake.rs Make clippy happy (#330) 2021-08-19 23:02:15 +02:00
sqlparser_sqlite.rs Support minimum display width for integer data types (#337) 2021-08-29 07:13:10 -04:00