You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2022/04/13 17:28:00 UTC

[jira] [Commented] (BEAM-13770) Support RANGE BETWEEN INTERVAL.

    [ https://issues.apache.org/jira/browse/BEAM-13770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17521841#comment-17521841 ] 

Beam JIRA Bot commented on BEAM-13770:
--------------------------------------

This issue was marked "stale-P2" and has not received a public comment in 14 days. It is now automatically moved to P3. If you are still affected by it, you can comment and move it back to P2.

> Support RANGE BETWEEN INTERVAL.
> -------------------------------
>
>                 Key: BEAM-13770
>                 URL: https://issues.apache.org/jira/browse/BEAM-13770
>             Project: Beam
>          Issue Type: New Feature
>          Components: dsl-sql
>            Reporter: Kyle Weaver
>            Priority: P3
>
> Support RANGE BETWEEN INTERVAL syntax with analytic (over) functions.
> SELECT order_id, order_time, amount,
>   SUM(amount) OVER (
>     PARTITION BY product
>     ORDER BY order_time
>     RANGE BETWEEN INTERVAL '1' HOUR PRECEDING AND CURRENT ROW
>   ) AS one_hour_prod_amount_sum
> FROM Orders



--
This message was sent by Atlassian Jira
(v8.20.1#820001)