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


##########
sql/core/src/test/scala/org/apache/spark/sql/internal/CatalogSuite.scala:
##########
@@ -767,6 +767,13 @@ class CatalogSuite extends SharedSparkSession with 
AnalysisTest with BeforeAndAf
       Map.empty[String, String], "")
 
     assert(spark.catalog.tableExists(Array(catalogName, dbName, 
tableName).mkString(".")))
+
+    val dbName2 = "my_db2.my_db3"

Review Comment:
   This suite resets the session catalog after each test (in `afterEach`). 
Since we create tables in v2 catalog as well, we probably should reset 
`CatalogManager` as well.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to