-
Notifications
You must be signed in to change notification settings - Fork 931
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
[Java] Added JNI for getMapValueForKeys #11104
[Java] Added JNI for getMapValueForKeys #11104
Conversation
Seems need to format C++ code.
refer to https://github.com/rapidsai/cudf/blob/branch-22.04/CONTRIBUTING.md#pre-commit-hooks |
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.
Just a nit.
* @param keys the column view with keys to lookup in the column | ||
* @return a column of values or nulls based on the lookup result | ||
*/ | ||
public final ColumnVector getMapValueForKeys(ColumnView keys) { |
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.
Why not just call it getMapValue
just like the Scalar API is called? If they do the same thing, then to me it is ideal to call them the same thing.
rerun tests |
rerun tests |
Codecov Report
@@ Coverage Diff @@
## branch-22.08 #11104 +/- ##
===============================================
Coverage ? 86.30%
===============================================
Files ? 144
Lines ? 22844
Branches ? 0
===============================================
Hits ? 19715
Misses ? 3129
Partials ? 0 Continue to review full report at Codecov.
|
rerun tests |
@gpucibot merge |
This PR adds Java method for getting values for a list of keys
fixes #10818