cloud-fan commented on a change in pull request #32179:
URL: https://github.com/apache/spark/pull/32179#discussion_r613724995
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/CheckAnalysis.scala
##########
@@ -950,9 +950,15 @@ trait CheckAnalysis extends PredicateHelper with
LookupCatalog {
case f: Filter =>
val (correlated, _) =
splitConjunctivePredicates(f.condition).partition(containsOuter)
- // Find any non-equality correlated predicates
+ // Find any non-equality correlated predicates and equality predicates
that do not
+ // guarantee one-on-one mapping between inner and outer attributes.
E.G:
+ // a = outer(c) -> true
Review comment:
Agree, we should refine this.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]