Maksim Zhuravkov created IGNITE-18556:
-----------------------------------------
Summary: Sql. TypeSystem. Default implementation of
getDefaultPrecision FLOAT and DECIMAL returns the same value.
Key: IGNITE-18556
URL: https://issues.apache.org/jira/browse/IGNITE-18556
Project: Ignite
Issue Type: Improvement
Components: sql
Reporter: Maksim Zhuravkov
Default implementation of TypeSystem::getDefaultPrecision, provided by Calcite,
returns the same value for FLOAT and DOUBLE types. Such behaviour causes
TypeFactory::leastRestrictiveType to return different results for (FLOAT,
DOUBLE) and (DOUBLE, FLOAT).
We fixed getDefaultPrecision to return different values to the problem
leastRestrictiveType in IGNITE-18163.
1) Investigate how these change affect behaviour of other operators
2) Choose appropriate value for default precision.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)