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
Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-11536
Currently converting the Float64 to Decimal(15, 2) fails with:
Error: Plan("'Int64 - Decimal(15, 2)' can't be evaluated because there isn't a common type to coerce the types to")
FYI [~MikeSeddonAU]
The text was updated successfully, but these errors were encountered:
@alamb this issue can be closed. The cast/try_cast has been implemented. We can cast float to decimal or decimal to float.
Sorry, something went wrong.
❯ select cast(12.33 as decimal(10,2)); +----------------------------------------+ | CAST(Float64(12.33) AS Decimal(10, 2)) | +----------------------------------------+ | 12.33 | +----------------------------------------+ 1 row in set. Query took 0.006 seconds.
🎉
No branches or pull requests
Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-11536
Currently converting the Float64 to Decimal(15, 2) fails with:
Error: Plan("'Int64 - Decimal(15, 2)' can't be evaluated because there isn't a common type to coerce the types to")
FYI [~MikeSeddonAU]
The text was updated successfully, but these errors were encountered: