-
Notifications
You must be signed in to change notification settings - Fork 889
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
Refactor AggregationJni to support collectSet [skip ci] #8057
Refactor AggregationJni to support collectSet [skip ci] #8057
Conversation
Signed-off-by: sperlingxx <lovedreamf@gmail.com>
Codecov Report
@@ Coverage Diff @@
## branch-0.20 #8057 +/- ##
===============================================
- Coverage 82.88% 82.43% -0.46%
===============================================
Files 103 103
Lines 17668 17422 -246
===============================================
- Hits 14645 14361 -284
- Misses 3023 3061 +38
Continue to review full report at Codecov.
|
Co-authored-by: Nghia Truong <ttnghia@users.noreply.github.com>
Signed-off-by: sperlingxx <lovedreamf@gmail.com>
@jlowe Could you help to review this PR? It introduces a change on the mapping of AggregationKind, which suggested by Nghia. |
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.
This reverts commit fc62d71.
@@ -186,10 +186,10 @@ JNIEXPORT jlong JNICALL Java_ai_rapids_cudf_Aggregation_createLeadLagAgg(JNIEnv | |||
std::unique_ptr<cudf::aggregation> ret; |
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.
There are some comments starting on line 84 of this file that should be updated per the new enumeration values.
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.
Fixed. Thanks for pointing out!
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.
Only small nits remain, otherwise this looks good to me.
@gpucibot merge |
This pull request refactored AggregationJni to support
COLLECT_SET
as a kind of Aggregation (as well asCOLLECT_LIST
).