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] [Updated] (BEAM-13770) Support RANGE BETWEEN INTERVAL.
[ https://issues.apache.org/jira/browse/BEAM-13770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Beam JIRA Bot updated BEAM-13770:
---------------------------------
Priority: P3 (was: 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
> Labels: stale-P2
>
> 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)