cloud-fan commented on code in PR #44061:
URL: https://github.com/apache/spark/pull/44061#discussion_r1408585088


##########
sql/core/src/test/scala/org/apache/spark/sql/internal/CatalogSuite.scala:
##########
@@ -1050,6 +1052,15 @@ class CatalogSuite extends SharedSparkSession with 
AnalysisTest with BeforeAndAf
       func2.className.startsWith("org.apache.spark.sql.internal.CatalogSuite"))
   }
 
+  test("SPARK-46145: listTables does not throw exception when the table or 
view is not found") {
+    val impl = spark.catalog.asInstanceOf[CatalogImpl]
+    for (temp <- Seq((true, ""), (false, "non_existing_db"))) {

Review Comment:
   ```suggestion
       for ((isTemp, dbName) <- Seq((true, ""), (false, "non_existing_db"))) {
   ```



-- 
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.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to