spark-rapids
spark-rapids copied to clipboard
Add `Nan` handling in `GpuArrayMin`
Signed-off-by: remzi [email protected]
Close #6317 Close #6330 Close #6332
Changes in this PR
- remove the
hasNanconfiguration onGpuArrayMin - Add
Nanhandling inGpuArrayMin
- Just as
GpuMaxandGpuArrayMax, we createGpuBasicArrayMinandGpuFloatArrayMIn - The method to handle
Nans is:- If a list only contains
Nans ornull, then we returnNanif the list containsNan, otherwise returnnullElse, we replace allNans tonulland then call cuDF kernel to get the min value
- If a list only contains
- Update docs and tests
build
build
build
build