datafusion-sqlparse/src
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
..
ast Implement some MySQL specific syntax and extend the UPDATE statement (#375) 2021-12-10 14:46:11 -05:00
dialect Implement is [not] distinct from (#361) 2021-10-14 18:26:28 +02:00
keywords.rs Implement some MySQL specific syntax and extend the UPDATE statement (#375) 2021-12-10 14:46:11 -05:00
lib.rs Move the keywords module (#352) 2021-09-26 07:59:39 -04:00
parser.rs Implement some MySQL specific syntax and extend the UPDATE statement (#375) 2021-12-10 14:46:11 -05:00
test_utils.rs Support no_std (#332) 2021-08-21 10:15:43 +02:00
tokenizer.rs Move the keywords module (#352) 2021-09-26 07:59:39 -04:00