[
https://issues.apache.org/jira/browse/PHOENIX-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15631346#comment-15631346
]
Hudson commented on PHOENIX-3408:
---------------------------------
FAILURE: Integrated in Jenkins build Phoenix-master #1470 (See
[https://builds.apache.org/job/Phoenix-master/1470/])
PHOENIX-3408 arithmetic/mathematical operations with Decimal columns (ssa: rev
c83d272b565447d39c42a4a8d3b0687bb2b5a16c)
* (edit)
phoenix-hive/src/main/java/org/apache/phoenix/hive/objectinspector/PhoenixObjectInspectorFactory.java
* (edit)
phoenix-hive/src/main/java/org/apache/phoenix/hive/objectinspector/PhoenixDecimalObjectInspector.java
> 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
> Fix For: 4.9.0
>
> 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)