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 unsanitized nulls from strings segmented-reduce #14586

Merged
merged 3 commits into from
Dec 8, 2023

Conversation

davidwendt
Copy link
Contributor

Description

Fixes the string specialization logic in cudf::segmented_reduce to not produce unsanitized null entries. The functor used to build a gather map for argmin/argmax was corrected to handle include/exclude nulls correctly.

Reference: #14559

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@davidwendt davidwendt added bug Something isn't working 3 - Ready for Review Ready for review by team libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change labels Dec 6, 2023
@davidwendt davidwendt self-assigned this Dec 6, 2023
@davidwendt davidwendt requested a review from a team as a code owner December 6, 2023 15:40
cpp/src/reductions/segmented/simple.cuh Outdated Show resolved Hide resolved
@davidwendt
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 8b23436 into rapidsai:branch-24.02 Dec 8, 2023
68 checks passed
@davidwendt davidwendt deleted the fix-segred-unsanitized branch December 8, 2023 20:09
karthikeyann pushed a commit to karthikeyann/cudf that referenced this pull request Dec 12, 2023
Fixes the string specialization logic in `cudf::segmented_reduce` to not produce unsanitized null entries. The functor used to build a gather map for argmin/argmax was corrected to handle include/exclude nulls correctly.

Reference: rapidsai#14559

Authors:
  - David Wendt (https://github.com/davidwendt)

Approvers:
  - Nghia Truong (https://github.com/ttnghia)
  - Bradley Dice (https://github.com/bdice)

URL: rapidsai#14586
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team bug Something isn't working libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants