cloud-fan commented on code in PR #42633:
URL: https://github.com/apache/spark/pull/42633#discussion_r1304313007
##########
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/RemoveRedundantAggregatesSuite.scala:
##########
@@ -30,7 +30,8 @@ class RemoveRedundantAggregatesSuite extends PlanTest {
object Optimize extends RuleExecutor[LogicalPlan] {
val batches = Batch("RemoveRedundantAggregates", FixedPoint(10),
- RemoveRedundantAggregates) :: Nil
+ RemoveRedundantAggregates,
+ RemoveNoopOperators) :: Nil
Review Comment:
can we also add `CollpaseProject`? So that there is no adjacent `.select`
--
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]