Skip to content

Add support for named window frames #867

Closed

Description

@berkaysynnada

Parser cannot build a statement for named window frames. The query below can run successfully,

SELECT SUM(amount) OVER(ORDER BY ts) as sum1 FROM sales_us;

However, the equivalent query below with a named window frame cannot be run.

SELECT SUM(amount) OVER running_window FROM sales_us WINDOW running_window AS (ORDER BY ts);

Postgres supports both versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions