Snowflake: support IGNORE/RESPECT NULLS inside function argument list (#1263)

This commit is contained in:
Joey Hain 2024-05-16 11:16:43 -07:00 committed by GitHub
parent 5ed13b5af3
commit 54184460b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 0 deletions

View file

@ -71,6 +71,12 @@ impl Dialect for SnowflakeDialect {
true
}
// Snowflake doesn't document this but `FIRST_VALUE(arg, { IGNORE | RESPECT } NULLS)`
// works (i.e. inside the argument list instead of after).
fn supports_window_function_null_treatment_arg(&self) -> bool {
true
}
/// See [doc](https://docs.snowflake.com/en/sql-reference/sql/set#syntax)
fn supports_parenthesized_set_variables(&self) -> bool {
true