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)

Reply via email to