Skip to content

Commit 5a476a5

Browse files
committed
Use validate identity
1 parent 010c34c commit 5a476a5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/dialects/test_snowflake.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2138,7 +2138,13 @@ def test_values(self):
21382138
},
21392139
)
21402140

2141-
def test_describe_table(self):
2141+
def test_describe(self):
2142+
self.validate_identity("DESCRIBE SEMANTIC VIEW TPCDS_SEMANTIC_VIEW_SM")
2143+
self.validate_identity(
2144+
"DESC SEMANTIC VIEW TPCDS_SEMANTIC_VIEW_SM",
2145+
"DESCRIBE SEMANTIC VIEW TPCDS_SEMANTIC_VIEW_SM",
2146+
)
2147+
21422148
self.validate_all(
21432149
"DESCRIBE TABLE db.table",
21442150
write={
@@ -2167,12 +2173,6 @@ def test_describe_table(self):
21672173
"spark": "DESCRIBE db.table",
21682174
},
21692175
)
2170-
self.validate_all(
2171-
"DESC SEMANTIC VIEW TPCDS_SEMANTIC_VIEW_SM",
2172-
write={
2173-
"snowflake": "DESCRIBE SEMANTIC VIEW TPCDS_SEMANTIC_VIEW_SM",
2174-
},
2175-
)
21762176
self.validate_all(
21772177
"ENDSWITH('abc', 'c')",
21782178
read={

0 commit comments

Comments
 (0)