We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've been studying basic usage and I found wrong minus result on DecimalXX type.
Example Query select toDecimal64(4,4) - toDecimal32(2,2)
select toDecimal64(4,4) - toDecimal32(2,2)
Expected output 2.0000
Actual output 3.9800
Is there anything wrong or maybe my misunderstanding of toDecimal ?
How to reproduce
The text was updated successfully, but these errors were encountered:
Confirmed. It's a bug.
Sorry, something went wrong.
20.12 and before are not affected. Thanks for the report!
Broken in #18145.
myrrc
kitaisreal
Successfully merging a pull request may close this issue.
I've been studying basic usage and I found wrong minus result on DecimalXX type.
Example Query
select toDecimal64(4,4) - toDecimal32(2,2)
Expected output
2.0000
Actual output
3.9800
Is there anything wrong or maybe my misunderstanding of toDecimal ?
How to reproduce
The text was updated successfully, but these errors were encountered: