Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change semantics of existential subquery projection #317

Open
sileix opened this issue Mar 1, 2021 · 0 comments
Open

Change semantics of existential subquery projection #317

sileix opened this issue Mar 1, 2021 · 0 comments
Assignees
Labels
P2 We need to fix it (backlog)

Comments

@sileix
Copy link
Member

sileix commented Mar 1, 2021

Existential subquery of an expression and a projection on the same expression should have the same meaning:
we should check if the value of the projection is null and undefined, if so, it should return false instead of true even if a row is returned.

It's probably fine to not check every parameter of an expression when no projection is applied - as we can assume if a query returns a row, there must be some value available in that row.

@gcampax gcampax added this to the Almond 2.0 Beta milestone Mar 3, 2021
@sileix sileix removed this from the Almond 2.0 Beta milestone Apr 27, 2021
@nrser nrser added the P2 We need to fix it (backlog) label Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 We need to fix it (backlog)
Projects
None yet
Development

No branches or pull requests

3 participants