Skip to content

unqualified window functions shall differentiate given partition and order by clause #621

@jimexist

Description

@jimexist

Describe the bug

given window functions on the same col with same function but different partition by and order by, the schema is failing due to conflict.

To Reproduce
Steps to reproduce the behavior:

> select max(c1) over () max_c1, max(c1) over (partition by c2) max_c1_c2 from test;
Plan("Schema contains duplicate unqualified field name 'MAX(test.c1)'")

Expected behavior

it shall work

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions