[
https://issues.apache.org/jira/browse/IGNITE-23178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladimir Steshin updated IGNITE-23178:
--------------------------------------
Ignite Flags: Release Notes Required (was: Docs Required,Release Notes
Required)
> Calcite. Least restrictive type priority DOUBLE over FLOAT
> ----------------------------------------------------------
>
> Key: IGNITE-23178
> URL: https://issues.apache.org/jira/browse/IGNITE-23178
> Project: Ignite
> Issue Type: Bug
> Reporter: Vladimir Steshin
> Priority: Minor
>
> Calcite derives least restrictive approximate numeric type by comparing the
> precisions. While _FLOAT_ has the same precision as _DOUBLE_ (currently 15),
> the least restrictive type may variate between them and issue _FLOAT_ instead
> of _DOUBLE_. DOUBLE is more preferable:
> {code:java}
> IgniteTypeFactory#leastRestrictive(List<RelDataType> types)
> {code}
> may produce _FLOAT_ when _types_ has a _DOUBLE_.
> Adoption of IGNITE-18556
--
This message was sent by Atlassian Jira
(v8.20.10#820010)