You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I plan on disabling yy on GPU for now and filing a follow-on issue to handle this consistently with Spark.
cuDF parsing is based on strptime and I found this in the strptime docs, so I am assuming for now that cuDF does the same but I need to confirm this as well as investigate the rules that Spark implements.
The year within century. When a century is not otherwise specified,
values in the range [69,99] shall refer to years 1969 to 1999 inclusive, and
values in the range [00,68] shall refer to years 2000 to 2068 inclusive;
leading zeros shall be permitted but shall not be required.
Describe the bug
I enabled
spark.rapids.sql.incompatibleDateFormats.enabled
and attempted to parse31/12/99
using the formatdd/MM/yy
.Spark on CPU returns
2099-12-31
but Spark on GPU returns1999-12-31
.Steps/Code to reproduce bug
Update
ParseDateTimeSuite.scala
:Add value
"31/12/99"
totimestampValues
variableAdd new test:
Expected behavior
Test should pass or we should fall back to CPU for
yy
.Additional context
Spark 3.1.1
The text was updated successfully, but these errors were encountered: