Skip to content

Commit a0ca83f

Browse files
yoavcloudayman-sigma
authored andcommitted
Enable GROUP BY exp for Snowflake dialect (apache#1683)
1 parent 1f1025c commit a0ca83f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/dialect/snowflake.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,11 @@ impl Dialect for SnowflakeDialect {
305305
fn supports_timestamp_versioning(&self) -> bool {
306306
true
307307
}
308+
309+
/// See: <https://docs.snowflake.com/en/sql-reference/constructs/group-by>
310+
fn supports_group_by_expr(&self) -> bool {
311+
true
312+
}
308313
}
309314

310315
fn parse_file_staging_command(kw: Keyword, parser: &mut Parser) -> Result<Statement, ParserError> {

0 commit comments

Comments
 (0)