phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Soldatov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-3408) arithmetic/mathematical operations with Decimal columns failed in Hive with PheonixStorageHandler.
Date Wed, 02 Nov 2016 20:12:58 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15630305#comment-15630305
] 

Sergey Soldatov commented on PHOENIX-3408:
------------------------------------------

LGTM. Committed to master and 4.x branches. Thank you, [~Jeongdae Kim] !

> arithmetic/mathematical operations with Decimal columns failed in Hive with PheonixStorageHandler.
> --------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-3408
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3408
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Jeongdae Kim
>            Assignee: Jeongdae Kim
>              Labels: HivePhoenix
>         Attachments: PHOENIX-3408.patch
>
>
> PhoenixDecimalObjectInspector doesn't hold decimal type information (holds default max
precision/scale (38/10)), so it doesn't make correct object that fits into the schema. this
causes incorrect results for decimal operations (+, -, *, -, functions...)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message