[
https://issues.apache.org/jira/browse/PHOENIX-3733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevin Liew updated PHOENIX-3733:
--------------------------------
Attachment: PHOENIX-3733.patch
[~maryannxue], [~rajeshbabu] please review
> 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
> Labels: calcite
> Attachments: PHOENIX-3733.patch
>
>
> 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)