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

Xuefu Zhang commented on HIVE-5895:
-----------------------------------

I understand that the current division can possibly return infinity or NaN. 
However, this seems to me a bug (or bad behavior) rather than norm. To me, they 
provide no more information than NULL. Such complication comes due to hive 
having no consistent error handling. HIVE-5348 and HIVE-5660 are to address 
those issues. For this particular case, I wouldn't be crying if NULL is 
returned for both infinity or NaN, especially if it makes the life easier.

> vectorization handles division by zero differently from normal execution
> ------------------------------------------------------------------------
>
>                 Key: HIVE-5895
>                 URL: https://issues.apache.org/jira/browse/HIVE-5895
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>            Priority: Minor
>
> Produces infinity, not NULL



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

Reply via email to