cloud-fan commented on code in PR #47545: URL: https://github.com/apache/spark/pull/47545#discussion_r1704081192
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala: ########## @@ -246,8 +246,6 @@ abstract class Optimizer(catalogManager: CatalogManager) CollapseProject, RemoveRedundantAliases, RemoveNoopOperators) :+ - Batch("InsertMapSortInGroupingExpressions", Once, Review Comment: ok maybe, but is it safer to run `PullOutGroupingExpressions` again here? Or simply update `InsertMapSortInGroupingExpressions` to create a project to add `MapSort`. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org