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

Fix GpuTimeAdd handling both input expressions being GpuScalar [databricks] #8333

Merged
merged 6 commits into from
May 22, 2023

Conversation

tgravescs
Copy link
Collaborator

fixes #8293

GpuTimeAdd was failing with:

 Caused by: java.lang.UnsupportedOperationException: GpuTimeAdd takes column and interval as an argument only, the types passed are, left: class
 com.nvidia.spark.rapids.GpuScalar right: class com.nvidia.spark.rapids.GpuScalar

GpuTimeAdd currently doesn't handle both input expressions being GpuScalar. This can happen when a subquery is input to the filter. The issue has more details. I validated test fails without this fix and passes with it.

integration test created and also verified this fixed the customer query that ran into the issue.

@tgravescs tgravescs self-assigned this May 19, 2023
@tgravescs
Copy link
Collaborator Author

build

@sameerz sameerz added the bug Something isn't working label May 21, 2023
@tgravescs tgravescs merged commit 9faed13 into NVIDIA:branch-23.06 May 22, 2023
@tgravescs tgravescs deleted the gputimeadddebug branch May 22, 2023 16:03
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] GpuTimeAdd throws UnsupportedOperationException takes column and interval as an argument only
4 participants