[
https://issues.apache.org/jira/browse/HIVE-21200?focusedWorklogId=597266&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-597266
]
ASF GitHub Bot logged work on HIVE-21200:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 15/May/21 17:16
Start Date: 15/May/21 17:16
Worklog Time Spent: 10m
Work Description: sunchao merged pull request #2276:
URL: https://github.com/apache/hive/pull/2276
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 597266)
Time Spent: 40m (was: 0.5h)
> Vectorization: date column throwing java.lang.UnsupportedOperationException
> for parquet
> ---------------------------------------------------------------------------------------
>
> Key: HIVE-21200
> URL: https://issues.apache.org/jira/browse/HIVE-21200
> Project: Hive
> Issue Type: Bug
> Components: Vectorization
> Affects Versions: 2.3.4
> Reporter: Vipin Vishvkarma
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> {code:java}
> set hive.vectorized.execution.enabled=true;
> set hive.fetch.task.conversion=none;
> create table t1(d date) stored as parquet;
> insert into table t1 values("2019-01-01");
> select * from t1;
> {code}
> This query will throw java.lang.UnsupportedOperationException:
> {code:java}
> Caused by: java.lang.UnsupportedOperationException at
> org.apache.parquet.column.values.ValuesReader.readLong(ValuesReader.java:131)
> at
> org.apache.hadoop.hive.ql.io.parquet.vector.VectorizedPrimitiveColumnReader.readLongs(VectorizedPrimitiveColumnReader.java:297)
> at
> org.apache.hadoop.hive.ql.io.parquet.vector.VectorizedPrimitiveColumnReader.readBatchHelper(VectorizedPrimitiveColumnReader.java:176)
> at
> org.apache.hadoop.hive.ql.io.parquet.vector.VectorizedPrimitiveColumnReader.readBatch(VectorizedPrimitiveColumnReader.java:154)
> at
> org.apache.hadoop.hive.ql.io.parquet.vector.VectorizedParquetRecordReader.nextBatch(VectorizedParquetRecordReader.java:292)
> at
> org.apache.hadoop.hive.ql.io.parquet.vector.VectorizedParquetRecordReader.next(VectorizedParquetRecordReader.java:238)
> at
> org.apache.hadoop.hive.ql.io.parquet.vector.VectorizedParquetRecordReader.next(VectorizedParquetRecordReader.java:64)
> at
> org.apache.hadoop.hive.ql.io.HiveContextAwareRecordReader.doNext(HiveContextAwareRecordReader.java:365)
> {code}
> Above query works fine with Hive 2.1.1 and Hive 3.1.x.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)