Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-5855

Implement frame exclusion in window functions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.38.0
    • None

    Description

      PostgreSQL supports "frame exclusion" in window function, e.g. :

      SELECT sum(x) OVER (PARTITION BY y ORDER BY z ROWS BETWEEN UNBOUNDED PRECEDING and UNBOUNDED FOLLOWING EXCLUDE CURRENT ROW) from t
      

      (see here) which let you ignore some rows from the selected scope.

      This ticket is adding support for it in Calcite

      Attachments

        Issue Links

          Activity

            People

              itiels Itiel Sadeh
              itiels Itiel Sadeh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: