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-5866) Hive divide operator generates wrong results in certain cases
Date Fri, 22 Nov 2013 20:55:36 GMT

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

Hive QA commented on HIVE-5866:
-------------------------------



{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/12615378/HIVE-5866.1.patch

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 4681 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vectorization_5
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_vectorization_short_regress
{noformat}

Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/400/testReport
Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/400/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: 12615378

> Hive divide operator generates wrong results in certain cases
> -------------------------------------------------------------
>
>                 Key: HIVE-5866
>                 URL: https://issues.apache.org/jira/browse/HIVE-5866
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.13.0
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>         Attachments: HIVE-5866.1.patch, HIVE-5866.patch
>
>
> Current GenericUDFOPDivide seems having a bug. The following query generates NULL result.
> {code}
> hive> select 4BD / 25BD  from test limit 1;        
> ...
> Total MapReduce CPU Time Spent: 890 msec
> OK
> NULL
> Time taken: 7.901 seconds, Fetched: 1 row(s)
> {code}
> The correct result should be 0.16 in this query.



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

Mime
View raw message