mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-24 07:54:06 +00:00
Add Redshift dialect, handle square brackets properly (#471)
* Redshift square bracket handling We need to detect `[` or `"` for Redshift quotes around indentifier and at the same time exclude treating JSON paths as indentifer * RedshiftSqlDialect documentation update Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org> * Renamed _chars to chars * Fixed warnings * Missing license Co-authored-by: Maciej Skrzypkowski <maciej.skrzypkowski@satoricyber.com> Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
This commit is contained in:
parent
a9d7f7af1f
commit
7fc6361fe8
8 changed files with 173 additions and 3 deletions
|
@ -590,7 +590,7 @@ fn test_copy_to() {
|
|||
|
||||
#[test]
|
||||
fn parse_copy_from() {
|
||||
let sql = "COPY table (a, b) FROM 'file.csv' WITH
|
||||
let sql = "COPY table (a, b) FROM 'file.csv' WITH
|
||||
(
|
||||
FORMAT CSV,
|
||||
FREEZE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue