hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt McCline (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-18622) Vectorization: IF Statements, Comparisons, and more do not handle NULLs correctly
Date Thu, 08 Feb 2018 08:16:00 GMT

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

Matt McCline commented on HIVE-18622:
-------------------------------------

[~vihangk1] This problem causes wrong query results.  Backporting will be manual and very
tedious.

> Vectorization: IF Statements, Comparisons, and more do not handle NULLs correctly
> ---------------------------------------------------------------------------------
>
>                 Key: HIVE-18622
>                 URL: https://issues.apache.org/jira/browse/HIVE-18622
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>            Reporter: Matt McCline
>            Assignee: Matt McCline
>            Priority: Critical
>             Fix For: 3.0.0
>
>         Attachments: HIVE-18622.03.patch
>
>
>  
> Many vector expression classes are missing guards around setting noNulls among other
things.
> {code:java}
>     // Carefully update noNulls...
>     if (outputColVector.noNulls) {
>       outputColVector.noNulls = inputColVector.noNulls;
>     }
>  {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message