Skip to content

Add support for extending a window definition #1748

@johnedquinn

Description

@johnedquinn

Relevant Issue/Bug

Requested Solution/Feature

We should eventually support being able to extend a window definition. Something like:

SELECT
   RANK OVER (w1 PARTITION BY xx ORDER BY xx) -- extending w1 here.
FROM t
WINDOW
  w1 AS (PARTITION BY t.a ORDER BY t.b)

I haven't gone through the spec to understand how much one can do with a particular window (can you both partition and order a window?), but this is something to look into.

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