Skip to content
This repository was archived by the owner on Sep 2, 2022. It is now read-only.
This repository was archived by the owner on Sep 2, 2022. It is now read-only.

engine: reference to alias in WHERE clause doesn't work #70

@tsatke

Description

@tsatke

Describe the bug
When referencing a column alias in a WHERE clause, the respective column can't be found.

To Reproduce
See TestExample07 and remove t.Skip(), then run it.

Expected behavior
No error.

Additional context
This might be a compiler issue, however, not sure if we should invert selection and projection just to make this happen. We should first check whether the column information is available in the where clause, and if so, make use of it and resolve the correct column.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions