[
https://issues.apache.org/jira/browse/CALCITE-6533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihai Budiu resolved CALCITE-6533.
----------------------------------
Fix Version/s: 1.38.0
Resolution: Fixed
Fixed in
https://github.com/apache/calcite/commit/ac06dbcf5016ced9f158eb548c3348dcf62d7de7
> Division between integer and decimal produces incorrect result
> --------------------------------------------------------------
>
> Key: CALCITE-6533
> URL: https://issues.apache.org/jira/browse/CALCITE-6533
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.37.0
> Reporter: Mihai Budiu
> Assignee: Mihai Budiu
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.38.0
>
>
> The following program
> SELECT 95.0 / 100
> produces the expected result, .95, as a DECIMAL(14, 8).
> However, the program
> SELECT 95 / 100.0
> produces the result 0E+! with type DECIMAL(17, -1)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)