mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-03 22:08:16 +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
|
@ -400,7 +400,8 @@ fn parse_update_set_from() {
|
|||
sort_by: vec![],
|
||||
having: None,
|
||||
named_window: vec![],
|
||||
qualify: None
|
||||
qualify: None,
|
||||
value_table_mode: None,
|
||||
}))),
|
||||
order_by: vec![],
|
||||
limit: None,
|
||||
|
@ -4212,6 +4213,7 @@ fn test_parse_named_window() {
|
|||
),
|
||||
],
|
||||
qualify: None,
|
||||
value_table_mode: None,
|
||||
};
|
||||
assert_eq!(actual_select_only, expected);
|
||||
}
|
||||
|
@ -4567,6 +4569,7 @@ fn parse_interval_and_or_xor() {
|
|||
having: None,
|
||||
named_window: vec![],
|
||||
qualify: None,
|
||||
value_table_mode: None,
|
||||
}))),
|
||||
order_by: vec![],
|
||||
limit: None,
|
||||
|
@ -6550,6 +6553,7 @@ fn lateral_function() {
|
|||
having: None,
|
||||
named_window: vec![],
|
||||
qualify: None,
|
||||
value_table_mode: None,
|
||||
};
|
||||
assert_eq!(actual_select_only, expected);
|
||||
}
|
||||
|
@ -7193,6 +7197,7 @@ fn parse_merge() {
|
|||
having: None,
|
||||
named_window: vec![],
|
||||
qualify: None,
|
||||
value_table_mode: None,
|
||||
}))),
|
||||
order_by: vec![],
|
||||
limit: None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue