-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[BUG] test_cast_decimal_to_decimal[to:DecimalType(1,-1)-from:Decimal(5,-3)] fails with DATAGEN_SEED=1702439569 #10050
Comments
Failure also showed up in Databricks 11.3 nightly IT run, so very likely this affects all shims |
Input is
|
We are returning what cudf is returning
This makes it obvious that there is a part of code where we are determining if the value is out of bounds, that part is broken. I believe that is the checkNFixDecimalBounds method here |
I know what's happening. The new precision required for correct representation (3) is greater than the target precision (1). I will put up a PR for this |
|
Will test tomorrow then close |
Will have to hold off testing this until jni nightly gets kicked off again as it doesn't have the changes from rapidsai/cudf#14731 |
Describe the bug
This was originally detected in the scala 2.13 pre-merge check against Spark 3.3.0, but I was also able to reproduce against Spark 3.1.1 with Scala 2.12 using the same seed value.
The text was updated successfully, but these errors were encountered: