[ 
https://issues.apache.org/jira/browse/CALCITE-6059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mihai Budiu resolved CALCITE-6059.
----------------------------------
    Fix Version/s: 1.43.0
         Assignee: Mihai Budiu
       Resolution: Fixed

Fixed in 
[https://github.com/apache/calcite/commit/92ff2a6b5f3374c330d384ffef99db9b1f287e16]

Thank you for the review [~snuyanzin] 

> 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
>            Assignee: Mihai Budiu
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.43.0
>
>
> 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