Skip to content
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] cast(10.05 as decimal(38,18)), actual: 10.050000000000001000, expected: 10.05 #11250

Open
ttnghia opened this issue Jul 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ttnghia
Copy link
Collaborator

ttnghia commented Jul 24, 2024

When running the changes in #10917 on org.apache.spark.sql.rapids.suites.RapidsCastSuite, the previous failed test (cast(10.3 as decimal(38,18))) now passes, however, a new failure shows up:

- casting to fixed-precision decimals *** FAILED ***
  Incorrect evaluation: cast(10.05 as decimal(38,18)), actual: 10.050000000000001000, expected: 10.05 
@ttnghia ttnghia added bug Something isn't working ? - Needs Triage Need team to review and classify labels Jul 24, 2024
@mattahrens mattahrens removed the ? - Needs Triage Need team to review and classify label Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants