[
https://issues.apache.org/jira/browse/CALCITE-6059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated CALCITE-6059:
------------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Minor
> Labels: pull-request-available
>
> 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)