We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
Describe the bug
scala> spark.sql("select cast(0.06+0.01 as decimal(18,2))").show +------------------------------------+ |CAST((0.06 + 0.01) AS DECIMAL(18,2))| +------------------------------------+ | 0.07| +------------------------------------+
❯ select cast(0.06+0.01 as decimal(18,2)); +-------------------------------+ | Float64(0.06) + Float64(0.01) | +-------------------------------+ | 0.06 | +-------------------------------+
To Reproduce See above
Expected behavior
Additional context Discovered as part of #4024
The text was updated successfully, but these errors were encountered:
filed related issue in arrow-rs: apache/arrow-rs#2997
Sorry, something went wrong.
Fixed by #4199
❯ select cast(0.06+0.01 as decimal(18,2)); +-------------------------------+ | Float64(0.06) + Float64(0.01) | +-------------------------------+ | 0.07 | +-------------------------------+ 1 row in set. Query took 0.008 seconds.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Spark
DataFusion
To Reproduce
See above
Expected behavior
Additional context
Discovered as part of #4024
The text was updated successfully, but these errors were encountered: