sigmod commented on code in PR #36177:
URL: https://github.com/apache/spark/pull/36177#discussion_r849719925


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/joins.scala:
##########
@@ -166,6 +176,14 @@ object EliminateOuterJoin extends Rule[LogicalPlan] with 
PredicateHelper {
     }
   }
 
+  private def hasNotDuplicateAgnosticAggregateFunction(
+      aggregateExpressions: Seq[NamedExpression]): Boolean = {
+    aggregateExpressions.exists(_.exists {
+      case agg: AggregateFunction => 
!EliminateDistinct.isDuplicateAgnostic(agg)

Review Comment:
    Maybe you can fix `isDuplicateAgnostic` in a separate PR and backport it?



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to