[BUG] Reading invalid DATE
strings yields exceptions instead of nulls
#7089
Labels
bug
Something isn't working
DATE
strings yields exceptions instead of nulls
#7089
Scope
This behaviour affects reads of both CSV and Hive delimited text input.
Description
When an invalid
DATE
string (e.g. "2020-50-16", or even "abcde") is read through the Spark RAPIDS plugin, one sees the following exception:Repro
This may be reproduced by reading the following input either as CSV or as Hive delimited text:
Expected behaviour
Invalid strings should produce
null
when interpreted asDATE
, as it does with Apache Spark.Caveats
This behaviour does not happen with date values serialized through the Hive
LazySimpleSerDe
, which are read correctly throughGpuHiveTableScanExec
.The text was updated successfully, but these errors were encountered: