-
Notifications
You must be signed in to change notification settings - Fork 907
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 min/max sorted groupby aggregation on string column with nulls (argmin, argmax sentinel value missing on nulls) #8731
Fix min/max sorted groupby aggregation on string column with nulls (argmin, argmax sentinel value missing on nulls) #8731
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-21.08 #8731 +/- ##
===============================================
Coverage ? 10.67%
===============================================
Files ? 109
Lines ? 18670
Branches ? 0
===============================================
Hits ? 1993
Misses ? 16677
Partials ? 0 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick turnaround, @karthikeyann! The RAPIDS Accelerator tests that were failing due to this before now pass with this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work and quick turnaround @karthikeyann !
@gpucibot merge |
closes #8717
Usages of argmin, argmax depends on presence of sentinel values at nulls (ARGMIN_SENTINEL, ARGMAX_SENTINEL), group_argmin and group_argmax need to guarantee these sentinel values in their output. but
cudf::detaill:gather
doesn't guarantee that. This PR fixes this.cudf::detail::gather
withthrust::gather_if
on indices to fix missing SENTINEL values for argmin, argmax.