rdblue 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_r292109879
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala
##########
@@ -657,6 +659,19 @@ class Analyzer(
}
}
+ /**
+ * Resolve table relations with concrete relations from v2 catalog.
+ */
+ case class ResolveTables(lookupCatalog: LookupCatalog) extends
Rule[LogicalPlan] {
+ import org.apache.spark.sql.catalog.v2.utils.CatalogV2Util._
+
+ def apply(plan: LogicalPlan): LogicalPlan = plan.resolveOperatorsUp {
+
Review comment:
Nit: Most methods don't have extra newlines before the the first case
statement in a match.
----------------------------------------------------------------
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]