Skip to content

Commit 37e4c44

Browse files
committed
Added tests for ALTER EXTERNAL TABLE IF EXISTS
1 parent afddab7 commit 37e4c44

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/sqlparser_snowflake.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4640,4 +4640,7 @@ fn test_alter_dynamic_table() {
46404640
fn test_alter_external_table() {
46414641
snowflake().verified_stmt("ALTER EXTERNAL TABLE some_table REFRESH");
46424642
snowflake().verified_stmt("ALTER EXTERNAL TABLE some_table REFRESH 'year=2025/month=12/'");
4643+
snowflake().verified_stmt("ALTER EXTERNAL TABLE IF EXISTS some_table REFRESH");
4644+
snowflake()
4645+
.verified_stmt("ALTER EXTERNAL TABLE IF EXISTS some_table REFRESH 'year=2025/month=12/'");
46434646
}

0 commit comments

Comments
 (0)