hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-11431) Vectorization: select * Left Semi Join projections NPE
Date Fri, 31 Jul 2015 23:10:04 GMT
Gopal V created HIVE-11431:
------------------------------

             Summary: Vectorization: select * Left Semi Join projections NPE
                 Key: HIVE-11431
                 URL: https://issues.apache.org/jira/browse/HIVE-11431
             Project: Hive
          Issue Type: Bug
          Components: Vectorization
    Affects Versions: 1.3.0, 1.2.1
            Reporter: Gopal V
            Assignee: Matt McCline
         Attachments: left-semi-bug.sql

The "select *" is meant to only apply to the left most table, not the right most - the unprojected
"d" from tmp1 triggers this NPE.

{code}
select * from tmp2 left semi join tmp1 where c1 = id and c0 = q;
{code}

{code}
Caused by: java.lang.NullPointerException
        at java.lang.System.arraycopy(Native Method)
        at org.apache.hadoop.io.Text.set(Text.java:225)
        at org.apache.hadoop.hive.ql.exec.vector.VectorExtractRow$StringExtractorByValue.extract(VectorExtractRow.java:472)
        at org.apache.hadoop.hive.ql.exec.vector.VectorExtractRow.extractRow(VectorExtractRow.java:732)
        at org.apache.hadoop.hive.ql.exec.vector.VectorFileSinkOperator.process(VectorFileSinkOperator.java:96)
        at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:837)
        at org.apache.hadoop.hive.ql.exec.vector.VectorSelectOperator.process(VectorSelectOperator.java:136)
        at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:837)
        at org.apache.hadoop.hive.ql.exec.vector.VectorFilterOperator.process(VectorFilterOperator.java:117)
        at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:837)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message