Julian Hyde created CALCITE-638:
-----------------------------------
Summary: SQL standard REAL is 4 bytes, FLOAT is 8 bytes
Key: CALCITE-638
URL: https://issues.apache.org/jira/browse/CALCITE-638
Project: Calcite
Issue Type: Bug
Reporter: Julian Hyde
Assignee: Julian Hyde
Per the SQL standard,
* the SQL REAL type is a 4 byte floating point number (thus maps to Java float),
* FLOAT is up to 8 bytes (thus maps to Java double), and
* DOUBLE is 8 bytes (thus maps to Java double).
A number of places in Calcite map FLOAT to float values, and I think a few
others map REAL to double.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)