Skip to content

Table alias fails with case sensitive column names #22916

@nuno-faria

Description

@nuno-faria

Describe the bug

When aliasing a subquery with case sensitive column names, an error is returned.

To Reproduce

> create table t ("A" int);

> select * from (select * from t) t_(x);
Schema error: No field named a. Valid fields are t."A", t."A".

Expected behavior

Execute without error.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions