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 issue with binding to hash agg columns with computation [databricks] #4343

Merged
merged 1 commit into from
Dec 14, 2021

Conversation

revans2
Copy link
Collaborator

@revans2 revans2 commented Dec 10, 2021

Fixes an issue where on older versions of Spark the hash aggregate included computation binding was wrong. This was introduced by #4272

Signed-off-by: Robert (Bobby) Evans <bobby@apache.org>
@revans2 revans2 added the bug Something isn't working label Dec 10, 2021
@revans2 revans2 added this to the Nov 30 - Dec 10 milestone Dec 10, 2021
@revans2 revans2 self-assigned this Dec 10, 2021
@revans2
Copy link
Collaborator Author

revans2 commented Dec 10, 2021

build

Copy link
Collaborator

@abellina abellina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 nit, otherwise LGTM

@@ -679,7 +686,7 @@ class GpuHashAggregateIterator(

// a bound expression that is applied before the cuDF aggregate
private val preStepBound = if (forceMerge) {
GpuBindReferences.bindGpuReferences(preStep, aggBufferAttributes)
GpuBindReferences.bindGpuReferences(preStep.toList, aggBufferAttributes.toList)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, do we need the toList here?

@sameerz
Copy link
Collaborator

sameerz commented Dec 10, 2021

build

@jlowe
Copy link
Member

jlowe commented Dec 11, 2021

The CI failure was due to cudf missing a dynamic link dependency. Should be fixed by rapidsai/cudf#9890.

@firestarman
Copy link
Collaborator

build

@jlowe jlowe merged commit bc4cd09 into NVIDIA:branch-22.02 Dec 14, 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.

6 participants