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

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

Open
tsatke opened this issue Oct 30, 2020 · 0 comments
Open

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

tsatke opened this issue Oct 30, 2020 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers
Milestone

Comments

@tsatke
Copy link
Contributor

tsatke commented Oct 30, 2020

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.

@tsatke tsatke added bug Something isn't working good first issue Good for newcomers labels Oct 30, 2020
@tsatke tsatke added this to the v0.0.1 milestone Oct 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant