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

Reply via email to