Github user fhueske commented on a diff in the pull request: https://github.com/apache/flink/pull/4161#discussion_r123776397 --- Diff: docs/dev/table/tableApi.md --- @@ -1338,7 +1338,10 @@ The `OverWindow` defines a range of rows over which aggregates are computed. `Ov <p>At the moment, over windows with rows following the current row are not supported. All over windows must stop at the current row and only two values are supported for <code>following</code>, <code>CURRENT_RANGE</code> for a time interval and <code>CURRENT_ROW</code> for a row-count interval.</p> - <p>If the `following` clause is omitted, the window will end at the current row.</p> + <p><code>CURRENT_ROW</code> means the window will end at the current row.</p> + <p><code>CURRENT_RANGE</code> means the window will end at the current rowâs last peer in the ORDER BY ordering.</p> --- End diff -- `CURRENT_ROW` sets the upper bound of the window to the current row. `CURRENT_RANGE` sets the upper bound of the window to sort key of the the current row, i.e., all rows with the same sort key as the current row are included in the window.
--- 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. ---