cloud-fan commented on code in PR #37519:
URL: https://github.com/apache/spark/pull/37519#discussion_r948643321
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala:
##########
@@ -1540,7 +1540,8 @@ object EliminateSorts extends Rule[LogicalPlan] {
*/
private def recursiveRemoveSort(
plan: LogicalPlan,
- canRemoveGlobalSort: Boolean): LogicalPlan = {
+ canRemoveGlobalSort: Boolean,
+ canEliminateThroughLocalLimit: Boolean = false): LogicalPlan = {
Review Comment:
do we still need this parameter? where we set it to false?
--
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]