imback82 commented on a change in pull request #25771: [SPARK-28970][SQL] Implement USE CATALOG/NAMESPACE for Data Source V2 URL: https://github.com/apache/spark/pull/25771#discussion_r329296429
########## File path: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DataSourceResolution.scala ########## @@ -213,6 +213,20 @@ case class DataSourceResolution( } ShowTablesCommand(Some(namespace.quoted), pattern) } + + case SetCatalogAndNamespaceStatement(catalogName, namespace) => + catalogName match { + case Some(c) => + validateCatalog(c) + SetCatalogAndNamespace(catalogManager, Some(c), namespace) Review comment: Done ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org