Skip to content

Commit 3b57205

Browse files
committed
add test
1 parent 879ea6d commit 3b57205

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sql/catalyst/src/test/scala/org/apache/spark/sql/connector/catalog/TableCatalogSuite.scala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,11 @@ class TableCatalogSuite extends SparkFunSuite {
643643
assert(!catalog.tableExists(testIdent))
644644
}
645645

646+
test("purgeTable") {
647+
val catalog = newCatalog()
648+
intercept[UnsupportedOperationException](catalog.purgeTable(testIdent))
649+
}
650+
646651
test("renameTable") {
647652
val catalog = newCatalog()
648653

0 commit comments

Comments
 (0)