We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e544ca3 commit bc454b6Copy full SHA for bc454b6
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala
@@ -1004,7 +1004,7 @@ object EliminateSorts extends Rule[LogicalPlan] {
1004
1005
private def isOrderIrrelevantAggs(aggs: Seq[NamedExpression]): Boolean = {
1006
def isOrderIrrelevantAggFunction(func: AggregateFunction): Boolean = func match {
1007
- case _: Min | _: Max | _: Count | _: CountIf | _: MaxMinBy => true
+ case _: Min | _: Max | _: Count | _: MaxMinBy => true
1008
// Arithmetic operations for floating-point values are order-sensitive
1009
// (they are not associative).
1010
case _: Sum | _: Average | _: CentralMomentAgg =>
0 commit comments