mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-10-09 21:42:05 +00:00
Add support for first, last aggregate function parsing (#882)
* Add order by parsing to functions * Fix doc error * minor changes
This commit is contained in:
parent
33b12acce7
commit
1b86abebe2
12 changed files with 96 additions and 7 deletions
|
@ -52,6 +52,7 @@ fn parse_map_access_expr() {
|
|||
over: None,
|
||||
distinct: false,
|
||||
special: false,
|
||||
order_by: vec![],
|
||||
})],
|
||||
})],
|
||||
into: None,
|
||||
|
@ -88,6 +89,7 @@ fn parse_map_access_expr() {
|
|||
over: None,
|
||||
distinct: false,
|
||||
special: false,
|
||||
order_by: vec![],
|
||||
})]
|
||||
}),
|
||||
op: BinaryOperator::NotEq,
|
||||
|
@ -135,6 +137,7 @@ fn parse_array_fn() {
|
|||
over: None,
|
||||
distinct: false,
|
||||
special: false,
|
||||
order_by: vec![],
|
||||
}),
|
||||
expr_from_projection(only(&select.projection))
|
||||
);
|
||||
|
@ -189,6 +192,7 @@ fn parse_delimited_identifiers() {
|
|||
over: None,
|
||||
distinct: false,
|
||||
special: false,
|
||||
order_by: vec![],
|
||||
}),
|
||||
expr_from_projection(&select.projection[1]),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue