mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 14:28:22 +00:00
SupportSELECT AS VALUE
and SELECT AS STRUCT
for BigQuery (#1135)
This commit is contained in:
parent
6a9b6f547d
commit
1cf6585649
10 changed files with 89 additions and 10 deletions
|
@ -177,6 +177,7 @@ fn test_select_union_by_name() {
|
|||
having: None,
|
||||
named_window: vec![],
|
||||
qualify: None,
|
||||
value_table_mode: None,
|
||||
}))),
|
||||
right: Box::<SetExpr>::new(SetExpr::Select(Box::new(Select {
|
||||
distinct: None,
|
||||
|
@ -211,6 +212,7 @@ fn test_select_union_by_name() {
|
|||
having: None,
|
||||
named_window: vec![],
|
||||
qualify: None,
|
||||
value_table_mode: None,
|
||||
}))),
|
||||
});
|
||||
assert_eq!(ast.body, expected);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue