SupportSELECT AS VALUE and SELECT AS STRUCT for BigQuery (#1135)

This commit is contained in:
Lukasz Stefaniak 2024-02-29 13:14:00 +01:00 committed by GitHub
parent 6a9b6f547d
commit 1cf6585649
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 89 additions and 10 deletions

View file

@ -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);