-
Notifications
You must be signed in to change notification settings - Fork 915
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
Fixing empty input to getMapValue crashing #9262
Fixing empty input to getMapValue crashing #9262
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-21.10 #9262 +/- ##
================================================
- Coverage 10.85% 10.84% -0.01%
================================================
Files 115 116 +1
Lines 19158 19171 +13
================================================
Hits 2080 2080
- Misses 17078 17091 +13
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.
There should also be an added Java unit test for this case to catch any regressions in the future.
New test before changes:
After 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.
Need to update copyrights but otherwise lgtm.
|
rerun tests |
@gpucibot merge |
This changes the calls in java/cudf to check for an empty input and return an empty result instead of crashing.
Fixes #9253