Peng-Lei commented on pull request #34030:
URL: https://github.com/apache/spark/pull/34030#issuecomment-925634593


   > 2. expose `CatalogPlugin` to end-users directly, via `spark.catalog(name)`
   
   A little off-topic:
   1. Could we intend to expose api of SparkSession to change the current 
catalog that is similar to direct sql `sql("use catalog")`.
       It just change the current catalog and return empty, so does not expose 
`CatalogPlugin` to end-users
   2. Use ansi sql syntax `set catalog xxx` instead of `use xxx` to change 
catalog. `use` statement just for change the database/namespace.
   
   
   


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