[ 
https://issues.apache.org/jira/browse/CALCITE-5855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mihai Budiu resolved CALCITE-5855.
----------------------------------
    Resolution: Fixed

Fixed in 
https://github.com/apache/calcite/commit/4a1da22e6e223440de65f0130a7f947c85b8ff5b
Thank you [~itiels] for the contribution.

> Implement frame exclusion in window functions
> ---------------------------------------------
>
>                 Key: CALCITE-5855
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5855
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Itiel Sadeh
>            Assignee: Itiel Sadeh
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.38.0
>
>
> PostgreSQL supports "frame exclusion" in window function, e.g. :
> {code:sql}
> SELECT sum(x) OVER (PARTITION BY y ORDER BY z ROWS BETWEEN UNBOUNDED 
> PRECEDING and UNBOUNDED FOLLOWING EXCLUDE CURRENT ROW) from t
> {code}
> (see 
> [here|https://www.postgresql.org/docs/current/sql-expressions.html#SYNTAX-WINDOW-FUNCTIONS])
>  which let you ignore some rows from the selected scope.
> This ticket is adding support for it in Calcite



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to