Skip to content

Commit 9fb9779

Browse files
committed
revise comment
1 parent fd3c849 commit 9fb9779

File tree

1 file changed

+1
-1
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ abstract class Optimizer(sessionCatalog: SessionCatalog, conf: SQLConf)
154154

155155
/**
156156
* Remove useless DISTINCT for MAX and MIN.
157-
* This rule should be applied before ReplaceDeduplicateWithAggregate.
157+
* This rule should be applied before RewriteDistinctAggregates.
158158
*/
159159
object EliminateDistinct extends Rule[LogicalPlan] {
160160
override def apply(plan: LogicalPlan): LogicalPlan = plan transformExpressions {

0 commit comments

Comments
 (0)