-
Notifications
You must be signed in to change notification settings - Fork 875
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
Implement cudf::reduce
for decimal32
and decimal64
(part 1)
#6814
Conversation
Please update the changelog in order to start CI tests. View the gpuCI docs here. |
36ebd73
to
1e7c9c1
Compare
Codecov Report
@@ Coverage Diff @@
## branch-0.18 #6814 +/- ##
===============================================
+ Coverage 81.57% 82.01% +0.43%
===============================================
Files 96 96
Lines 15912 16267 +355
===============================================
+ Hits 12980 13341 +361
+ Misses 2932 2926 -6
Continue to review full report at Codecov.
|
2b48661
to
442c8e1
Compare
cudf::reduce
for decimal32
and decimal64
cudf::reduce
for decimal32
and decimal64
(part 1)
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, small questions and changes.
This PR resolves a part of #3556. Supporting `cudf::reduce`: 1. Part 1 (`MIN`, `MAX`, `SUM` & `PRODUCT` & `NUNIQUE`) #6814 2. Part 2 (the rest)◀️ **Reduction Ops:** **Done in Previous PR** ✔️ `SUM, ///< sum reduction` ✔️ `PRODUCT, ///< product reduction` ✔️ `MIN, ///< min reduction` ✔️ `MAX, ///< max reduction` ✔️ `NUNIQUE, ///< count number of unique elements` **Not supported by `cudf::reduce`:** * [x] `COUNT_VALID, ///< count number of valid elements` * [x] `COUNT_ALL, ///< count number of elements` * [x] `COLLECT, ///< collect values into a list` * [x] `LEAD, ///< window function, accesses row at specified offset following current row` * [x] `LAG, ///< window function, accesses row at specified offset preceding current row` * [x] `PTX, ///< PTX UDF based reduction` * [x] `CUDA ///< CUDA UDf based reduction` * [x] `ARGMAX, ///< Index of max element` * [x] `ARGMIN, ///< Index of min element` * [x] `ROW_NUMBER, ///< get row-number of element` **Won't be supported:** * [x] `ANY, ///< any reduction` * [x] `ALL, ///< all reduction` **To Do / Investigate:** * [x] `SUM_OF_SQUARES, ///< sum of squares reduction` * [x] `MEDIAN, ///< median reduction` * [x] `QUANTILE, ///< compute specified quantile(s)` * [x] `NTH_ELEMENT, ///< get the nth element` **Deferred until requested** * [x] `MEAN, ///< arithmetic mean reduction` * [x] `VARIANCE, ///< groupwise variance` * [x] `STD, ///< groupwise standard deviation` Authors: - Conor Hoekstra <codereport@outlook.com> Approvers: - null - Karthikeyan - David URL: #6980
This PR resolves a part of #3556.
This is part 1 of 2. The PR implements
MIN
,MAX
,SUM
&PRODUCT
&NUNIQUE
.Reduction Ops:
To Do List:
SUM
PRODUCT
MAX
MIN
Operations that "fell out":
NUNIQUE