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

Update presence test state tracking and pruning #711

Merged

Conversation

TristonianJones
Copy link
Collaborator

The has() macro calls were not being adequately captured during
state tracking which led to issues in cost estimation and ast
pruning function. The updated behavior ensures that the has()
macro calls have the same cost as a traditional select expression
and that the state for the presence test is correctly recorded
in a way that works with partial evaluation.

@TristonianJones TristonianJones force-pushed the unknowns-presence-test-fix-b branch 2 times, most recently from 3e97648 to da0bde9 Compare May 23, 2023 20:13
The has() macro calls were not being adequately captured during
state tracking which led to issues in cost estimation and ast
pruning function. The updated behavior ensures that the has()
macro calls have the same cost as a traditional select expression
and that the state for the presence test is correctly recorded
in a way that works with partial evaluation.
@TristonianJones TristonianJones merged commit 0b54df4 into google:master May 23, 2023
2 checks passed
@TristonianJones TristonianJones deleted the unknowns-presence-test-fix-b branch May 23, 2023 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants