-
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
[REVIEW] Add cudf::dictionary::make_dictionary_pair_iterator #6651
[REVIEW] Add cudf::dictionary::make_dictionary_pair_iterator #6651
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-0.17 #6651 +/- ##
============================================
Coverage 82.33% 82.33%
============================================
Files 94 94
Lines 15369 15369
============================================
Hits 12654 12654
Misses 2715 2715 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.
LGTM 👍 Couple small changes
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
Reference #5963 This PR adds dictionary column type support to the set of `cudf::reduce` functions. This PR depends on utilities added in PR #6651 Here are the reduce operations that will be included in this PR. - [x] all - [x] any - [x] max - [x] mean - [x] median - [x] min - [x] nth_element - [x] product - [x] quantile - [x] std - [x] sum_of_squares - [x] sum - [x] unique_count - [x] var Authors: - davidwendt <[email protected]> Approvers: - Mike Wendt - AJ Schmidt - Ram (Ramakrishna Prabhu) - Karthikeyan URL: #6666
This adds a pair iterator for dictionary column types that returns key/valid pairs for each row access.
This is useful in PR #6585 and will be useful in supporting dictionary type columns in
cudf::reduce
.This PR also adds an
cudf::is_dictionary
totraits.hpp
The
cudf::is_unsigned
was declared in an odd place in thetraits.hpp
and so was also moved in this PR.