jzhuge 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_r290383294
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/ResolveHints.scala
##########
@@ -50,11 +51,15 @@ object ResolveHints {
*
* This rule must happen before common table expressions.
*/
- class ResolveJoinStrategyHints(conf: SQLConf) extends Rule[LogicalPlan] {
+ class ResolveJoinStrategyHints(
+ conf: SQLConf,
+ catalogLookup: String => CatalogPlugin) extends Rule[LogicalPlan] with
LookupCatalog {
Review comment:
Like suggested approach of passing LookupCatalog instance because it will
make it easier to add feature to LookCatalog e.g. default catalog name.
----------------------------------------------------------------
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]