hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5872) Make UDAFs such as GenericUDAFSum report accurate precision/scale for decimal types
Date Wed, 04 Dec 2013 07:22:36 GMT

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

Hive QA commented on HIVE-5872:
-------------------------------



{color:green}Overall{color}: +1 all checks pass

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12616931/HIVE-5872.3.patch

{color:green}SUCCESS:{color} +1 4455 tests passed

Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/510/testReport
Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/510/console

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12616931

> Make UDAFs such as GenericUDAFSum report accurate precision/scale for decimal types
> -----------------------------------------------------------------------------------
>
>                 Key: HIVE-5872
>                 URL: https://issues.apache.org/jira/browse/HIVE-5872
>             Project: Hive
>          Issue Type: Improvement
>          Components: Types, UDF
>    Affects Versions: 0.12.0
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>         Attachments: HIVE-5872.1.patch, HIVE-5872.2.patch, HIVE-5872.3.patch, HIVE-5872.patch
>
>
> Currently UDAFs are still reporting system default precision/scale (38, 18) for decimal
results. Not only this is coarse, but also this can cause problems in subsequent operators
such as division, where the result is dependent on the precision/scale of the input, which
can go out of bound (38,38). Thus, these UDAFs should correctly report the precision/scale
of the result.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message