Itiel Sadeh created CALCITE-5855:
------------------------------------

             Summary: 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


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