-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Get different results when casting from timestamp to string #4205
Comments
This appears to switch at about "6053-01-23T02:08:00.00" vs "6053-01-23T02:07:59.99". My guess is that there is an overflow happening somewhere in the calculation of the mins. |
This appears to be a bug in CUDF.
minute works just fine. I'll file an issue against CUDF |
I filed rapidsai/cudf#9790 for this. |
I targeted the fix to 22.02 instead of a hot fix for 21.12 because it requires a date in 6053 or even later to show up, and I don't think it warrants a hotfix. |
Here are more results I get. Minutes in GPU output always equals to |
Yes I have a patch up against CUDF for this. rapidsai/cudf#9793 |
Describe the bug
When casting
"8669-07-22T04:45:57.73"
to string, Spark gives"8669-07-22 04:45:57.73"
, Rapids gives"8669-07-22 04:29:57.73"
which is wrong.Steps/Code to reproduce bug
In CastOpSuite.scala:
run mvn test and get result:
Expected behavior
Rapids should give same result as Spark
Environment details (please complete the following information)
Spark3.2.0
Rapids 22.02
Standalone on my desktop
Additional context
This bug impacts #4028
The text was updated successfully, but these errors were encountered: