Skip to content

Commit cbe59a2

Browse files
authored
Enable GROUP BY exp for Snowflake dialect (#1683)
1 parent 211b15e commit cbe59a2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/dialect/snowflake.rs

+5
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)