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

Eric Hanson commented on HIVE-5895:
-----------------------------------

E.g. you could have a vectorized row batch with 1024 entries, and only items 
(rows) 0 and 2 are selected. Then if you do an operation like col/0, the result 
column will be repeating and null. But only items 0 and 2 will be selected. The 
selected array tells you which rows in the batch are selected. 

> 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
>         Attachments: HIVE-5895.01.patch, HIVE-5895.02.patch, HIVE-5895.patch
>
>
> Produces infinity, not NULL



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

Reply via email to