hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-5866) Hive divide operator generates wrong results in certain cases
Date Wed, 04 Dec 2013 02:38:35 GMT

     [ https://issues.apache.org/jira/browse/HIVE-5866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xuefu Zhang updated HIVE-5866:
------------------------------

       Resolution: Fixed
    Fix Version/s: 0.13.0
           Status: Resolved  (was: Patch Available)

Patch committed to trunk. Thanks Prasad for the review.

> 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
>             Fix For: 0.13.0
>
>         Attachments: HIVE-5866.1.patch, HIVE-5866.2.patch, HIVE-5866.3.patch, HIVE-5866.4.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