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:
Mustafa Akur 2023-05-18 21:59:14 +03:00 committed by GitHub
parent 33b12acce7
commit 1b86abebe2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 96 additions and 7 deletions

View file

@ -2057,7 +2057,8 @@ fn test_composite_value() {
)))],
over: None,
distinct: false,
special: false
special: false,
order_by: vec![],
}))))
}),
select.projection[0]
@ -2219,6 +2220,7 @@ fn parse_current_functions() {
over: None,
distinct: false,
special: true,
order_by: vec![],
}),
expr_from_projection(&select.projection[0])
);
@ -2229,6 +2231,7 @@ fn parse_current_functions() {
over: None,
distinct: false,
special: true,
order_by: vec![],
}),
expr_from_projection(&select.projection[1])
);
@ -2239,6 +2242,7 @@ fn parse_current_functions() {
over: None,
distinct: false,
special: true,
order_by: vec![],
}),
expr_from_projection(&select.projection[2])
);
@ -2249,6 +2253,7 @@ fn parse_current_functions() {
over: None,
distinct: false,
special: true,
order_by: vec![],
}),
expr_from_projection(&select.projection[3])
);
@ -2503,6 +2508,7 @@ fn parse_delimited_identifiers() {
over: None,
distinct: false,
special: false,
order_by: vec![],
}),
expr_from_projection(&select.projection[1]),
);