dongjoon-hyun commented on a change in pull request #31691:
URL: https://github.com/apache/spark/pull/31691#discussion_r594587044
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/Optimizer.scala
##########
@@ -625,6 +626,37 @@ object LimitPushDown extends Rule[LogicalPlan] {
}
}
+/**
+ * Pushes down [[LocalLimit]] beneath WINDOW.
Review comment:
Shall we add an `itemized` functionality and limitation here because
`LimitPushDownThroughWindow` has the limited functionality and it's difficult
to track by reading the code? It would be helpful when we add a new feature and
maintain this optimizer.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]