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

Avoid issues where more scalars that expected show up in an expression #1084

Merged
merged 1 commit into from
Nov 7, 2020

Conversation

revans2
Copy link
Collaborator

@revans2 revans2 commented Nov 6, 2020

This fixes #1073
by removing the call to nullSafeEval and offering an alternative path to compute the result. I am not 100% sure that I got all possible cases for this. We could also look into supporting execution on the CPU in the future instead of converting the scalar to a column and doing the processing on the GPU. But this was the fastest way to make this work for the case that we saw failing.

I am happy to file follow on issues if the reviewers think it would be beneficial.

@revans2 revans2 added the bug Something isn't working label Nov 6, 2020
@revans2 revans2 added this to the Nov 9 - Nov 20 milestone Nov 6, 2020
@revans2 revans2 self-assigned this Nov 6, 2020
@revans2
Copy link
Collaborator Author

revans2 commented Nov 6, 2020

build

@revans2 revans2 merged commit 51dcf98 into NVIDIA:branch-0.3 Nov 7, 2020
@revans2 revans2 deleted the avoid_all_scalar_problems branch November 7, 2020 15:28
sperlingxx pushed a commit to sperlingxx/spark-rapids that referenced this pull request Nov 20, 2020
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
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] java.lang.RuntimeException: BinaryExpressions must override either eval or nullSafeEval
2 participants