Github user maropu commented on a diff in the pull request:
https://github.com/apache/spark/pull/20345#discussion_r198059157
--- 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 --
I fixed the bug you pointed out and added the two tests for that. Could you
check again? Thanks!
https://github.com/apache/spark/pull/20345/files#diff-6c81baa433aea4741c60c00734f31406R191
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]