Enable GROUP BY exp for Snowflake dialect (#1683)

This commit is contained in:
Yoav Cohen 2025-01-26 15:15:36 +01:00 committed by GitHub
parent 211b15e790
commit cbe59a2d8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -305,6 +305,11 @@ impl Dialect for SnowflakeDialect {
fn supports_timestamp_versioning(&self) -> bool {
true
}
/// See: <https://docs.snowflake.com/en/sql-reference/constructs/group-by>
fn supports_group_by_expr(&self) -> bool {
true
}
}
fn parse_file_staging_command(kw: Keyword, parser: &mut Parser) -> Result<Statement, ParserError> {