Gopal V created HIVE-14171:
------------------------------

             Summary: Parquet: Simple vectorization throws NPEs
                 Key: HIVE-14171
                 URL: https://issues.apache.org/jira/browse/HIVE-14171
             Project: Hive
          Issue Type: Bug
    Affects Versions: 2.2.0
            Reporter: Gopal V


{code}
 create temporary table cd_parquet stored as parquet as select * from 
customer_demographics;

select count(1) from cd_parquet where cd_gender = 'F';
{code}

{code}
Caused by: java.lang.NullPointerException
        at 
org.apache.hadoop.hive.ql.io.parquet.read.ParquetRecordReaderWrapper.next(ParquetRecordReaderWrapper.java:206)
        at 
org.apache.hadoop.hive.ql.io.parquet.VectorizedParquetInputFormat$VectorizedParquetRecordReader.next(VectorizedParquetInputFormat.java:118)
        at 
org.apache.hadoop.hive.ql.io.parquet.VectorizedParquetInputFormat$VectorizedParquetRecordReader.next(VectorizedParquetInputFormat.java:51)
        at 
org.apache.hadoop.hive.ql.io.HiveContextAwareRecordReader.doNext(HiveContextAwareRecordReader.java:350)
        ... 17 more
{code}



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

Reply via email to