[
https://issues.apache.org/jira/browse/CALCITE-6052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17776758#comment-17776758
]
Julian Hyde commented on CALCITE-6052:
--------------------------------------
I suspect that the difference in behavior is due to constant reduction, which
will happen in one path but not others. And maybe constant reduction is
converting -0.0 to 0.0. Suffice to say we don't support special values like
-0.0 yet.
> SqlImplementor writes REAL, FLOAT, or DOUBLE literals as DECIMAL literals
> -------------------------------------------------------------------------
>
> Key: CALCITE-6052
> URL: https://issues.apache.org/jira/browse/CALCITE-6052
> 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.36.0
>
>
> This bug is already fixed in https://github.com/apache/calcite/pull/3411, but
> I plan to submit a smaller point fix for it, which doesn't require reworking
> the type families.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)