You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Mihai Budiu (Jira)" <ji...@apache.org> on 2024/08/17 17:32:00 UTC
[jira] [Assigned] (CALCITE-6533) Division between integer and decimal produces incorrect result
[ https://issues.apache.org/jira/browse/CALCITE-6533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mihai Budiu reassigned CALCITE-6533:
------------------------------------
Assignee: Mihai Budiu
> 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
>
> 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)