Github user hvanhovell commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20978#discussion_r179467893
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/expressions/Window.scala ---
    @@ -33,6 +33,10 @@ import org.apache.spark.sql.catalyst.expressions._
      *   Window.partitionBy("country").orderBy("date").rowsBetween(-3, 3)
      * }}}
      *
    + * @note When ordering is not defined, the default frame boundaries are 
(rowFrame,
    --- End diff --
    
    I tried to improve the wording (feel free not to use this):
    ```
    When ordering is not defined, an unbounded window frame (rowFrame, 
unboundedPreceding, unboundedFollowing) is used by default. When ordering is 
defined, a growing window frame (rangeFrame, unboundedPreceding, currentRow) is 
used by default.
    ```


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to