[ https://issues.apache.org/jira/browse/SPARK-28970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16925327#comment-16925327 ]
Wenchen Fan commented on SPARK-28970: ------------------------------------- {{USE foo.bar}} can be ambiguous, but I think it's fine as we have {{USE foo.bar IN cat}}. I forgot that we already have a proposal in the SPIP. Let's use that proposal. > implement USE CATALOG/NAMESPACE for Data Source V2 > -------------------------------------------------- > > Key: SPARK-28970 > URL: https://issues.apache.org/jira/browse/SPARK-28970 > Project: Spark > Issue Type: New Feature > Components: SQL > Affects Versions: 3.0.0 > Reporter: Wenchen Fan > Priority: Major > > Currently Spark has a `USE abc` command to switch the current database. > We should have something similar for Data Source V2, to switch the current > catalog and/or current namespace. > We can introduce 2 new command: `USE CATALOG abc` and `USE NAMESPACE abc` -- This message was sent by Atlassian Jira (v8.3.2#803003) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org