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> {
1245112451 } else if self.parse_keyword(Keyword::COLLATION) {
1245212452 Ok(self.parse_show_collation()?)
1245312453 } else if self.parse_keyword(Keyword::VARIABLES)
12454- && dialect_of!(self is MySqlDialect | GenericDialect)
12454+ && dialect_of!(self is MySqlDialect | GenericDialect | SnowflakeDialect )
1245512455 {
1245612456 Ok(Statement::ShowVariables {
1245712457 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() {
4747#[ test]
4848fn test_snowflake_create_table_timestamp_ntz_precision_ctas_values ( ) {
4949 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'))" ;
5152 snowflake ( ) . one_statement_parses_to ( sql, canonical) ;
5253}
5354
You can’t perform that action at this time.
0 commit comments