cloud-fan commented on code in PR #44079: URL: https://github.com/apache/spark/pull/44079#discussion_r1409292351
########## sql/core/src/main/scala/org/apache/spark/sql/internal/CatalogImpl.scala: ########## @@ -503,7 +503,7 @@ class CatalogImpl(sparkSession: SparkSession) extends Catalog { */ override def databaseExists(dbName: String): Boolean = { try { - getDatabase(dbName) + makeDatabase(None, dbName: String) Review Comment: why do we make it more verbose here? -- 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