You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Xuefu Zhang (JIRA)" <ji...@apache.org> on 2013/11/21 19:08:36 UTC
[jira] [Created] (HIVE-5866) Hive divide operator generates wrong
results in certain cases
Xuefu Zhang created HIVE-5866:
---------------------------------
Summary: 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
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)