mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-07 17:04:59 +00:00
PartiQL queries in Redshift (#1534)
This commit is contained in:
parent
10519003ed
commit
62fa8604af
17 changed files with 254 additions and 10 deletions
|
@ -70,6 +70,7 @@ fn parse_table_time_travel() {
|
|||
))),
|
||||
partitions: vec![],
|
||||
with_ordinality: false,
|
||||
json_path: None,
|
||||
},
|
||||
joins: vec![]
|
||||
},]
|
||||
|
@ -218,7 +219,8 @@ fn parse_mssql_openjson() {
|
|||
with_hints: vec![],
|
||||
version: None,
|
||||
with_ordinality: false,
|
||||
partitions: vec![]
|
||||
partitions: vec![],
|
||||
json_path: None,
|
||||
},
|
||||
joins: vec![Join {
|
||||
relation: TableFactor::OpenJsonTable {
|
||||
|
@ -293,7 +295,8 @@ fn parse_mssql_openjson() {
|
|||
with_hints: vec![],
|
||||
version: None,
|
||||
with_ordinality: false,
|
||||
partitions: vec![]
|
||||
partitions: vec![],
|
||||
json_path: None,
|
||||
},
|
||||
joins: vec![Join {
|
||||
relation: TableFactor::OpenJsonTable {
|
||||
|
@ -368,7 +371,8 @@ fn parse_mssql_openjson() {
|
|||
with_hints: vec![],
|
||||
version: None,
|
||||
with_ordinality: false,
|
||||
partitions: vec![]
|
||||
partitions: vec![],
|
||||
json_path: None,
|
||||
},
|
||||
joins: vec![Join {
|
||||
relation: TableFactor::OpenJsonTable {
|
||||
|
@ -443,7 +447,8 @@ fn parse_mssql_openjson() {
|
|||
with_hints: vec![],
|
||||
version: None,
|
||||
with_ordinality: false,
|
||||
partitions: vec![]
|
||||
partitions: vec![],
|
||||
json_path: None,
|
||||
},
|
||||
joins: vec![Join {
|
||||
relation: TableFactor::OpenJsonTable {
|
||||
|
@ -496,7 +501,8 @@ fn parse_mssql_openjson() {
|
|||
with_hints: vec![],
|
||||
version: None,
|
||||
with_ordinality: false,
|
||||
partitions: vec![]
|
||||
partitions: vec![],
|
||||
json_path: None,
|
||||
},
|
||||
joins: vec![Join {
|
||||
relation: TableFactor::OpenJsonTable {
|
||||
|
@ -679,6 +685,7 @@ fn parse_delimited_identifiers() {
|
|||
version,
|
||||
with_ordinality: _,
|
||||
partitions: _,
|
||||
json_path: _,
|
||||
} => {
|
||||
assert_eq!(vec![Ident::with_quote('"', "a table")], name.0);
|
||||
assert_eq!(Ident::with_quote('"', "alias"), alias.unwrap().name);
|
||||
|
@ -1314,6 +1321,7 @@ fn parse_substring_in_select() {
|
|||
version: None,
|
||||
partitions: vec![],
|
||||
with_ordinality: false,
|
||||
json_path: None,
|
||||
},
|
||||
joins: vec![]
|
||||
}],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue