File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -12451,7 +12451,7 @@ impl<'a> Parser<'a> {
12451
12451
} else if self.parse_keyword(Keyword::COLLATION) {
12452
12452
Ok(self.parse_show_collation()?)
12453
12453
} else if self.parse_keyword(Keyword::VARIABLES)
12454
- && dialect_of!(self is MySqlDialect | GenericDialect)
12454
+ && dialect_of!(self is MySqlDialect | GenericDialect | SnowflakeDialect )
12455
12455
{
12456
12456
Ok(Statement::ShowVariables {
12457
12457
filter: self.parse_show_statement_filter()?,
Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ fn test_snowflake_create_table() {
47
47
#[ test]
48
48
fn test_snowflake_create_table_timestamp_ntz_precision_ctas_values ( ) {
49
49
let sql = "CREATE TABLE t (x TIMESTAMP_NTZ(3)) AS SELECT * FROM VALUES ('2025-04-09T21:11:23')" ;
50
- let canonical = "CREATE TABLE t (x TIMESTAMP_NTZ) AS SELECT * FROM (VALUES ('2025-04-09T21:11:23'))" ;
50
+ let canonical =
51
+ "CREATE TABLE t (x TIMESTAMP_NTZ) AS SELECT * FROM (VALUES ('2025-04-09T21:11:23'))" ;
51
52
snowflake ( ) . one_statement_parses_to ( sql, canonical) ;
52
53
}
53
54
You can’t perform that action at this time.
0 commit comments