cloud-fan commented on a change in pull request #30358:
URL: https://github.com/apache/spark/pull/30358#discussion_r522952782
##########
File path:
sql/catalyst/src/test/scala/org/apache/spark/sql/connector/catalog/TableCatalogSuite.scala
##########
@@ -813,9 +813,10 @@ class TableCatalogSuite extends SparkFunSuite {
assert(catalog.namespaceExists(testNs) === false)
- val ret = catalog.dropNamespace(testNs)
-
- assert(ret === false)
+ val errMsg = intercept[NoSuchNamespaceException] {
+ catalog.dropNamespace(testNs)
Review comment:
the previous behavior is better, that we return false if the namespace
doesn't exist. Can we update `InMemoryTableCatalog.dropNamespace`?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]