You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Mihai Budiu (Jira)" <ji...@apache.org> on 2023/10/18 22:42:00 UTC
[jira] [Created] (CALCITE-6059) Optimizer does not correctly handle special floating point value -0.0E0
Mihai Budiu created CALCITE-6059:
------------------------------------
Summary: Optimizer does not correctly handle special floating point value -0.0E0
Key: CALCITE-6059
URL: https://issues.apache.org/jira/browse/CALCITE-6059
Project: Calcite
Issue Type: Bug
Components: core
Affects Versions: 1.35.0
Reporter: Mihai Budiu
Some optimizations seem to convert -0.0E0 into 0.0E0.
In particular, the following SqlOperatorTest test fails:
f.checkScalarApprox("CAST('-0E0' AS REAL)", "REAL NOT NULL", "-0E0");
This surfaced during CALCITE-6052
--
This message was sent by Atlassian Jira
(v8.20.10#820010)