cloud-fan commented on code in PR #36417: URL: https://github.com/apache/spark/pull/36417#discussion_r866549645
########## sql/core/src/main/scala/org/apache/spark/sql/execution/SparkStrategies.scala: ########## @@ -92,15 +92,17 @@ abstract class SparkStrategies extends QueryPlanner[SparkPlan] { CollectLimitExec(limit, planLater(child)) :: Nil case LimitAndOffset(IntegerLiteral(limit), IntegerLiteral(offset), Sort(order, true, child)) if limit + offset < conf.topKSortFallbackThreshold => - TakeOrderedAndProjectExec( - limit, order, child.output, planLater(child), Some(offset)) :: Nil + TakeOrderedAndProjectExec( Review Comment: the new indentation is incorrect. -- 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