-
Notifications
You must be signed in to change notification settings - Fork 900
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 produced by libcudf dictionary decode #14578
Fix unsanitized nulls produced by libcudf dictionary decode #14578
Conversation
@@ -30,6 +29,18 @@ | |||
namespace cudf { | |||
namespace dictionary { | |||
namespace detail { | |||
namespace { | |||
struct indices_handler_fn { |
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 fixing this. Would there be value in naming this functor a "nullifying_handler" or some such?
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.
The actually nullifying happens far away in the gather function. This function simply returns indices.
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.
LGTM!
/merge |
…#14578) Fixes `cudf::dictionary::decode` logic to produced sanitized null entries for compound column types. Reference: rapidsai#14559 -- fixes many of the errors found here concerning dictionary column gtests. Authors: - David Wendt (https://github.com/davidwendt) Approvers: - Nghia Truong (https://github.com/ttnghia) - MithunR (https://github.com/mythrocks) URL: rapidsai#14578
Description
Fixes
cudf::dictionary::decode
logic to produced sanitized null entries for compound column types.Reference: #14559 -- fixes many of the errors found here concerning dictionary column gtests.
Checklist