cloud-fan commented on code in PR #43385:
URL: https://github.com/apache/spark/pull/43385#discussion_r1363848349


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/InferWindowGroupLimit.scala:
##########
@@ -52,6 +52,16 @@ object InferWindowGroupLimit extends Rule[LogicalPlan] with 
PredicateHelper {
     if (limits.nonEmpty) Some(limits.min) else None
   }
 
+  /**
+   * Require other window functions to have the same window frame as the 
rank-like functions.
+   */
+  private def satisfySpecifiedWindowFrame(

Review Comment:
   I think `isExpandingWindow` is a better name



-- 
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]

Reply via email to