Support IGNORE|RESPECT NULLs clause in window functions (#998)

Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
This commit is contained in:
yuval-illumex 2023-10-24 16:45:59 +03:00 committed by GitHub
parent 8262abcd31
commit b89edaa98b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 124 additions and 0 deletions

View file

@ -2275,6 +2275,7 @@ fn test_composite_value() {
named: true
}
)))],
null_treatment: None,
filter: None,
over: None,
distinct: false,
@ -2437,6 +2438,7 @@ fn parse_current_functions() {
&Expr::Function(Function {
name: ObjectName(vec![Ident::new("CURRENT_CATALOG")]),
args: vec![],
null_treatment: None,
filter: None,
over: None,
distinct: false,
@ -2449,6 +2451,7 @@ fn parse_current_functions() {
&Expr::Function(Function {
name: ObjectName(vec![Ident::new("CURRENT_USER")]),
args: vec![],
null_treatment: None,
filter: None,
over: None,
distinct: false,
@ -2461,6 +2464,7 @@ fn parse_current_functions() {
&Expr::Function(Function {
name: ObjectName(vec![Ident::new("SESSION_USER")]),
args: vec![],
null_treatment: None,
filter: None,
over: None,
distinct: false,
@ -2473,6 +2477,7 @@ fn parse_current_functions() {
&Expr::Function(Function {
name: ObjectName(vec![Ident::new("USER")]),
args: vec![],
null_treatment: None,
filter: None,
over: None,
distinct: false,
@ -2924,6 +2929,7 @@ fn parse_delimited_identifiers() {
&Expr::Function(Function {
name: ObjectName(vec![Ident::with_quote('"', "myfun")]),
args: vec![],
null_treatment: None,
filter: None,
over: None,
distinct: false,