Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.3.4
Description
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;
This query will throw java.lang.UnsupportedOperationException:
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)
Above query works fine with Hive 2.1.1 and Hive 3.1.x.
Attachments
Issue Links
- links to