You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "James Duong (JIRA)" <ji...@apache.org> on 2018/09/30 22:05:00 UTC

[jira] [Created] (CALCITE-2603) Error double literal with exponential when unparsing with RelToSqlConverter

James Duong created CALCITE-2603:
------------------------------------

             Summary: Error double literal with exponential when unparsing with RelToSqlConverter
                 Key: CALCITE-2603
                 URL: https://issues.apache.org/jira/browse/CALCITE-2603
             Project: Calcite
          Issue Type: Bug
            Reporter: James Duong
            Assignee: Julian Hyde


Calcite calls SqlLiteral.createExactNumeric() when it encounters a double literal with an exponential such as

6.023E-23

 

However this seems to trigger an assertion failure:

assert scale == value.scale() : s;



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)