Github user maropu commented on a diff in the pull request:
https://github.com/apache/spark/pull/20345#discussion_r198052416
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/planning/patterns.scala
---
@@ -141,14 +141,16 @@ object ExtractEquiJoinKeys extends Logging with
PredicateHelper {
}
/**
- * A pattern that collects the filter and inner joins.
+ * A pattern that collects the filter and inner joins and skip projections
with attributes only.
*
* Filter
* |
* inner Join
* / \ ----> (Seq(plan0, plan1, plan2),
conditions)
* Filter plan2
* |
+ * Project
--- End diff --
yea, good catch. Thanks! I'll fix soon.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]