mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 06:18:17 +00:00
Snowflake: support IGNORE/RESPECT NULLS inside function argument list (#1263)
This commit is contained in:
parent
5ed13b5af3
commit
54184460b5
2 changed files with 15 additions and 0 deletions
|
@ -1576,3 +1576,12 @@ fn test_select_wildcard_with_ilike_replace() {
|
|||
"sql parser error: Expected end of statement, found: EXCLUDE"
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn first_value_ignore_nulls() {
|
||||
snowflake().verified_only_select(concat!(
|
||||
"SELECT FIRST_VALUE(column2 IGNORE NULLS) ",
|
||||
"OVER (PARTITION BY column1 ORDER BY column2) ",
|
||||
"FROM some_table"
|
||||
));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue