mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-08 01:15:00 +00:00
Named window frames (#881)
* after over clause, named window can be parsed with window ... as after having clause * Lint errors are fixed * Support for multiple windows * fix lint errors * simplifications * rename function * Rewrite named window search in functional style * Test added and some minor changes * Minor changes on tests and namings, and semantic check is removed --------- Co-authored-by: Mustafa Akur <mustafa.akur@synnada.ai> Co-authored-by: Mehmet Ozan Kabak <ozankabak@gmail.com>
This commit is contained in:
parent
1b86abebe2
commit
ef46cd3752
8 changed files with 225 additions and 37 deletions
|
@ -954,6 +954,7 @@ fn parse_copy_to() {
|
|||
selection: None,
|
||||
group_by: vec![],
|
||||
having: None,
|
||||
named_window: vec![],
|
||||
cluster_by: vec![],
|
||||
distribute_by: vec![],
|
||||
sort_by: vec![],
|
||||
|
@ -1799,6 +1800,7 @@ fn parse_array_subquery_expr() {
|
|||
distribute_by: vec![],
|
||||
sort_by: vec![],
|
||||
having: None,
|
||||
named_window: vec![],
|
||||
qualify: None,
|
||||
}))),
|
||||
right: Box::new(SetExpr::Select(Box::new(Select {
|
||||
|
@ -1820,6 +1822,7 @@ fn parse_array_subquery_expr() {
|
|||
distribute_by: vec![],
|
||||
sort_by: vec![],
|
||||
having: None,
|
||||
named_window: vec![],
|
||||
qualify: None,
|
||||
}))),
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue