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


##########
sql/catalyst/src/test/scala/org/apache/spark/sql/connector/catalog/CatalogManagerSuite.scala:
##########
@@ -33,7 +33,7 @@ class CatalogManagerSuite extends SparkFunSuite with 
SQLHelper {
   private def createSessionCatalog(): SessionCatalog = {
     val catalog = new V1InMemoryCatalog()
     catalog.createDatabase(
-      CatalogDatabase(SessionCatalog.DEFAULT_DATABASE, "", new URI("fake"), 
Map.empty),
+      CatalogDatabase(SQLConf.get.defaultDatabase, "", new URI("fake"), 
Map.empty),

Review Comment:
   It's test, I think we can still use `SessionCatalog.DEFAULT_DATABASE`



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