[
https://issues.apache.org/jira/browse/HIVE-5872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13830908#comment-13830908
]
Hive QA commented on HIVE-5872:
-------------------------------
{color:red}Overall{color}: -1 at least one tests failed
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12615494/HIVE-5872.1.patch
{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 4685 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_ql_rewrite_gbtoidx
org.apache.hadoop.hive.ql.udf.generic.TestGenericUDFOPDivide.testDecimalDivideDecimal2
{noformat}
Test results:
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/427/testReport
Console output:
http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/427/console
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests failed with: TestsFailedException: 2 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12615494
> 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.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)