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

Implement hasSideEffects for GpuSequence #5042

Merged
merged 1 commit into from
Mar 25, 2022

Conversation

andygrove
Copy link
Contributor

Signed-off-by: Andy Grove andygrove@nvidia.com

Closes #5023

This PR implements hasSideEffects for GpuSequence to fix a bug where a conditional expression such as CASE .. WHEN could result in GpuSequence throwing an exception because we were evaluating for all rows and not just the rows that met the condition.

I filed a follow on issue #5041 to do the same for all other expressions that could potentially have side-effects.

Signed-off-by: Andy Grove <andygrove@nvidia.com>
@andygrove andygrove self-assigned this Mar 24, 2022
@andygrove andygrove added this to the Mar 21 - Apr 1 milestone Mar 24, 2022
@andygrove
Copy link
Contributor Author

build

@sameerz sameerz added the bug Something isn't working label Mar 24, 2022
@pxLi
Copy link
Collaborator

pxLi commented Mar 25, 2022

build

@jlowe jlowe merged commit 6745c5b into NVIDIA:branch-22.04 Mar 25, 2022
@andygrove andygrove deleted the sequence-side-effect branch March 30, 2022 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] When+sequence could trigger "Illegal sequence boundaries" error
4 participants