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

Sergey Shelukhin commented on HIVE-5895:
----------------------------------------

Actually regular division can also produce infinities according to the spec, so 
in order to preserve the logic that avoids the null-value-setting loop when 
batch has no nulls, one would have to also pass in input to do the if for 
entire batch anyway if there's at least one 0 on the right side. So there will 
be a lot of code change for this case.

> 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