cudf
cudf copied to clipboard
Sanitize percentile_approx() output for empty input
Closes #10856
If all of the tdigest inputs to percentile_approx are empty, it will return a column containing null rows, as expected, but they will have unsanitary offsets. This PR checks if all the inputs are empty and returns an empty column as expected.
Codecov Report
:exclamation: No coverage uploaded for pull request base (
branch-22.10@039622f). Click here to learn what that means. The diff coverage isn/a.
@@ Coverage Diff @@
## branch-22.10 #11498 +/- ##
===============================================
Coverage ? 86.47%
===============================================
Files ? 144
Lines ? 22852
Branches ? 0
===============================================
Hits ? 19761
Misses ? 3091
Partials ? 0
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
@gpucibot merge