phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Liew (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PHOENIX-3733) Calcite BOOLEAN returns precision of 1 but does not allow specifying a precision when creating an instance
Date Sat, 11 Mar 2017 05:57:04 GMT
Kevin Liew created PHOENIX-3733:
-----------------------------------

             Summary: Calcite BOOLEAN returns precision of 1 but does not allow specifying
a precision when creating an instance
                 Key: PHOENIX-3733
                 URL: https://issues.apache.org/jira/browse/PHOENIX-3733
             Project: Phoenix
          Issue Type: Bug
            Reporter: Kevin Liew
            Assignee: Kevin Liew


This causes issues when creating extended columns of type {{BOOLEAN}}.

We create extended columns with the precision returned by {{RelDataType.getPrecision}}. We
later use this precision in {{CalciteUtils.pDataTypeToRelDataType}} as {{RelDataTypeFactory.createSqlType}}
with the precision specified as {{1}}. This causes Calcite to throw an assertion.





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message