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] [Updated] (PHOENIX-3733) Calcite BOOLEAN returns precision of 1 but does not allow specifying a precision when creating an instance
Date Sat, 11 Mar 2017 06:02:04 GMT

     [ 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)

Mime
View raw message