mihaibudiu opened a new pull request, #5309: URL: https://github.com/apache/calcite/pull/5309
## Jira Link [CALCITE-7840](https://issues.apache.org/jira/browse/CALCITE-7840) ## Changes Proposed Calcite stores floating point literals as Java Double values. Java Float values can be stored as Double values without precision loss; however, e.g., a `CAST(double_literal AS REAL)` *should* represent the value of double_literal only with the precision supported by Float. Prior to this fix it stored the value with Double precision, which is too much for Float. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
