This is an automated email from the ASF dual-hosted git repository.

mbudiu pushed a commit to branch issue2067
in repository https://gitbox.apache.org/repos/asf/calcite.git

commit ab66827d96f4324fc59b2d2637863e3937c9bb8b
Author: Mihai Budiu <[email protected]>
AuthorDate: Fri Feb 2 11:53:25 2024 -0800

    Document breaking change
    
    Signed-off-by: Mihai Budiu <[email protected]>
---
 site/_docs/history.md | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/site/_docs/history.md b/site/_docs/history.md
index e341ac57ec..e395d8b6ab 100644
--- a/site/_docs/history.md
+++ b/site/_docs/history.md
@@ -53,6 +53,17 @@ using JDK/OpenJDK versions 8 to 23;
 Guava versions 21.0 to 33.3.0-jre;
 other software versions as specified in gradle.properties.
 
+* [a <href="https://issues.apache.org/jira/browse/CALCITE-2067";>]
+  **RexLiteral cannot represent accurately floating point values,
+  including NaN, Infinity**.  This fix changes the way RexLiteral
+  represents floating point values.  Previously floating point values
+  were encoded into BigDecimal values.  This caused precision loss
+  when representing the results of simplifying expressions whose
+  results are floating point.  With this change RexLiteral uses
+  internally a Java Double value to represent a SQL DOUBLE, FLOAT, or
+  REAL value.  The result of RexLiteral.getValue() accordingly changes
+  type in this case.
+
 #### New features
 {: #new-features-1-38-0}
 

Reply via email to