[ 
https://issues.apache.org/jira/browse/HIVE-24947?focusedWorklogId=839169&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-839169
 ]

ASF GitHub Bot logged work on HIVE-24947:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/Jan/23 22:41
            Start Date: 13/Jan/23 22:41
    Worklog Time Spent: 10m 
      Work Description: tdbgamer commented on PR #2176:
URL: https://github.com/apache/hive/pull/2176#issuecomment-1382502806

   @pgaref @kuczoram I just ran into this issue with my hive cluster. Was this 
PR closed on purpose? seems like a legitimate issue.




Issue Time Tracking
-------------------

    Worklog Id:     (was: 839169)
    Time Spent: 1h  (was: 50m)

> Casting exception when reading vectorized parquet file for insert into
> ----------------------------------------------------------------------
>
>                 Key: HIVE-24947
>                 URL: https://issues.apache.org/jira/browse/HIVE-24947
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 4.0.0
>            Reporter: Marton Bod
>            Assignee: Panagiotis Garefalakis
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> We have two parquet tables (target and source).
> Upon running the query:
> {code:java}
> set hive.vectorized.execution.enabled=true;
> insert into target2 partition(part_col_1, part_col_2) select * from 
> source;{code}
> The following exception is thrown:
> {code:java}
> Caused by: java.lang.ClassCastException: java.lang.Integer cannot be cast to 
> [B
>       at 
> org.apache.hadoop.hive.ql.io.parquet.vector.VectorizedListColumnReader.fillColumnVector(VectorizedListColumnReader.java:308)
>       at 
> org.apache.hadoop.hive.ql.io.parquet.vector.VectorizedListColumnReader.convertValueListToListColumnVector(VectorizedListColumnReader.java:342)
>       at 
> org.apache.hadoop.hive.ql.io.parquet.vector.VectorizedListColumnReader.readBatch(VectorizedListColumnReader.java:91)
>       at 
> org.apache.hadoop.hive.ql.io.parquet.vector.VectorizedParquetRecordReader.nextBatch(VectorizedParquetRecordReader.java:433)
>       at 
> org.apache.hadoop.hive.ql.io.parquet.vector.VectorizedParquetRecordReader.next(VectorizedParquetRecordReader.java:376)
>       at 
> org.apache.hadoop.hive.ql.io.parquet.vector.VectorizedParquetRecordReader.next(VectorizedParquetRecordReader.java:99)
>       at 
> org.apache.hadoop.hive.ql.io.HiveContextAwareRecordReader.doNext(HiveContextAwareRecordReader.java:365)
>       ... 24 more
> {code}
> The same runs without problems when vectorization is turned off. 
> cc [~nareshpr]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to