Sergey Shelukhin created HIVE-18629:
---------------------------------------

             Summary: copyValues in BytesColumnVector may be missing null checks
                 Key: HIVE-18629
                 URL: https://issues.apache.org/jira/browse/HIVE-18629
             Project: Hive
          Issue Type: Bug
            Reporter: Sergey Shelukhin
            Assignee: Sergey Shelukhin


{noformat}
Caused by: java.lang.NullPointerException
        at java.lang.System.arraycopy(Native Method)
        at 
org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector.setVal(BytesColumnVector.java:173)
        at 
org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector.copySelected(BytesColumnVector.java:333)
        at 
org.apache.hadoop.hive.ql.exec.vector.expressions..evaluate(IfExprStringGroupColumnStringGroupColumn.java:83)
        at 
org.apache.hadoop.hive.ql.exec.vector.VectorSelectOperator.process(VectorSelectOperator.java:133)
{noformat}

IfExprStringGroupColumnStringGroupColumn code below the v1.isRepeating case has 
isNull checks for v2/v3 buffers that copySelected is missing. 




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

Reply via email to