[ https://issues.apache.org/jira/browse/HIVE-6421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14225812#comment-14225812 ]
Hive QA commented on HIVE-6421: ------------------------------- {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/12683449/HIVE-6421.3.patch {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 6683 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_optimize_nullscan {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1903/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/1903/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-1903/ Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12683449 - PreCommit-HIVE-TRUNK-Build > abs() should preserve precision/scale of decimal input > ------------------------------------------------------ > > Key: HIVE-6421 > URL: https://issues.apache.org/jira/browse/HIVE-6421 > Project: Hive > Issue Type: Bug > Components: UDF > Reporter: Jason Dere > Assignee: Jason Dere > Attachments: HIVE-6421.1.txt, HIVE-6421.2.patch, HIVE-6421.3.patch > > > {noformat} > hive> describe dec1; > OK > c1 decimal(10,2) None > hive> explain select c1, abs(c1) from dec1; > ... > Select Operator > expressions: c1 (type: decimal(10,2)), abs(c1) (type: > decimal(38,18)) > {noformat} > Given that abs() is a GenericUDF it should be possible for the return type > precision/scale to match the input precision/scale. -- This message was sent by Atlassian JIRA (v6.3.4#6332)