mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 06:18:17 +00:00
Add support for parsing empty dictionary expressions (#1684)
This commit is contained in:
parent
cbe59a2d8b
commit
74163b148e
2 changed files with 4 additions and 1 deletions
|
@ -11291,6 +11291,8 @@ fn test_dictionary_syntax() {
|
|||
);
|
||||
}
|
||||
|
||||
check("{}", Expr::Dictionary(vec![]));
|
||||
|
||||
check(
|
||||
"{'Alberta': 'Edmonton', 'Manitoba': 'Winnipeg'}",
|
||||
Expr::Dictionary(vec![
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue