NVIDIA/spark-rapids-jni

String to double gets null for numbers with long exponet

Opened this issue · 0 comments

Seq("9.299999257686047e-0005603333574677677", "1.0").toDF("s").repartition(1).selectExpr("CAST(s as double)").collect.foreach(println)

on CPU we get back 0.0 and 1.0
on the GPU we get back null and 1.0

Originally posted by @revans2 in #1923 (comment)