mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-22 15:04:04 +00:00
Support mysql partition
to table selection (#959)
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
This commit is contained in:
parent
a16791d019
commit
f6e4be4c15
14 changed files with 108 additions and 7 deletions
|
@ -46,6 +46,7 @@ fn test_square_brackets_over_db_schema_table_name() {
|
|||
args: None,
|
||||
with_hints: vec![],
|
||||
version: None,
|
||||
partitions: vec![],
|
||||
},
|
||||
joins: vec![],
|
||||
}
|
||||
|
@ -91,6 +92,7 @@ fn test_double_quotes_over_db_schema_table_name() {
|
|||
args: None,
|
||||
with_hints: vec![],
|
||||
version: None,
|
||||
partitions: vec![],
|
||||
},
|
||||
joins: vec![],
|
||||
}
|
||||
|
@ -111,6 +113,7 @@ fn parse_delimited_identifiers() {
|
|||
args,
|
||||
with_hints,
|
||||
version,
|
||||
partitions: _,
|
||||
} => {
|
||||
assert_eq!(vec![Ident::with_quote('"', "a table")], name.0);
|
||||
assert_eq!(Ident::with_quote('"', "alias"), alias.unwrap().name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue