gatorsmile commented on a change in pull request #24741: [SPARK-27322][SQL]
DataSourceV2: Select from multiple catalogs
URL: https://github.com/apache/spark/pull/24741#discussion_r290589946
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/internal/BaseSessionStateBuilder.scala
##########
@@ -185,6 +186,8 @@ abstract class BaseSessionStateBuilder(
V2WriteSupportCheck +:
V2StreamingScanSupportCheck +:
customCheckRules
+
+ override protected def lookupCatalog(name: String): CatalogPlugin =
session.catalog(name)
Review comment:
I might not get the difference. How to avoid misusing them?
- One is our global catalog? Another is the local catalogs?
- What is the semantics of `lookupCatalog` for SessionCatalog?
- What is the semantics of `lookupCatalog` for CatalogPlugin for DSv2?
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]