Github user viirya commented on a diff in the pull request: https://github.com/apache/spark/pull/12147#discussion_r121570239 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/expressions/WindowSpec.scala --- @@ -113,7 +132,25 @@ class WindowSpec private[sql]( between(RangeFrame, start, end) } - private def between(typ: FrameType, start: Long, end: Long): WindowSpec = { + /** + * Defines the frame boundaries, from `start` (inclusive) to `end` (inclusive). And specifies + * potential exclude type + * + * Both `start` and `end` are relative from the current row. For example, "0" means "current row", + * while "-1" means one off before the current row, and "5" means the five off after the + * current row. + * + * @param start boundary start, inclusive. + * The frame is unbounded if this is the minimum long value. + * @param end boundary end, inclusive. + * The frame is unbounded if this is the maximum long value. + * @since 1.4.0 --- End diff -- 1.4.0?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org