NVIDIA / spark-rapids-jni

RAPIDS Accelerator JNI For Apache Spark
Apache License 2.0
41 stars 66 forks source link

Fix non-empty nulls handling in `string_to_decimal` and add more tests for non-empty nulls #2607

Closed ttnghia closed 6 days ago

ttnghia commented 6 days ago

This fixes string_to_decimal_kernel which incorrectly handles non-emty nulls in the input. More tests are also added to verify that non-empty nulls are correctly handled in string_to_integer, string_to_decimal and string_to_float.

ttnghia commented 6 days ago

build

hyperbolic2346 commented 6 days ago

This came up during review of #2510