cloud-fan commented on a change in pull request #32364:
URL: https://github.com/apache/spark/pull/32364#discussion_r621968124
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/StaticSQLConf.scala
##########
@@ -37,6 +37,12 @@ object StaticSQLConf {
.stringConf
.createWithDefault(Utils.resolveURI("spark-warehouse").toString)
+ val CATALOG_DEFAULT_DATABASE =
buildStaticConf("spark.sql.catalog.default.database")
Review comment:
Every catalog is free to define its own default database/namespace, see
`CatalogPlugin.defaultNamespace`.
What we need here is a config to change the default database for the session
catalog. How about `spark.sql.catalog.$SESSION_CATALOG_NAME.defaultDatabase`?
--
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]