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)

Reply via email to