[jira] [Work logged] (HIVE-24947) Casting exception when reading vectorized parquet file for insert into

2023-01-13 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-24947?focusedWorklogId=839169=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)


[jira] [Work logged] (HIVE-24947) Casting exception when reading vectorized parquet file for insert into

2021-08-20 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-24947:
-

Author: ASF GitHub Bot
Created on: 21/Aug/21 00:09
Start Date: 21/Aug/21 00:09
Worklog Time Spent: 10m 
  Work Description: github-actions[bot] closed pull request #2176:
URL: https://github.com/apache/hive/pull/2176


   


-- 
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.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 640425)
Time Spent: 50m  (was: 40m)

> 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: 50m
>  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.3.4#803005)


[jira] [Work logged] (HIVE-24947) Casting exception when reading vectorized parquet file for insert into

2021-08-13 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-24947:
-

Author: ASF GitHub Bot
Created on: 14/Aug/21 00:09
Start Date: 14/Aug/21 00:09
Worklog Time Spent: 10m 
  Work Description: github-actions[bot] commented on pull request #2176:
URL: https://github.com/apache/hive/pull/2176#issuecomment-898776778


   This pull request has been automatically marked as stale because it has not 
had recent activity. It will be closed if no further activity occurs.
   Feel free to reach out on the d...@hive.apache.org list if the patch is in 
need of reviews.


-- 
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.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 637903)
Time Spent: 40m  (was: 0.5h)

> 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: 40m
>  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.3.4#803005)


[jira] [Work logged] (HIVE-24947) Casting exception when reading vectorized parquet file for insert into

2021-06-14 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-24947:
-

Author: ASF GitHub Bot
Created on: 14/Jun/21 07:49
Start Date: 14/Jun/21 07:49
Worklog Time Spent: 10m 
  Work Description: github-actions[bot] commented on pull request #2176:
URL: https://github.com/apache/hive/pull/2176#issuecomment-860291339


   This pull request has been automatically marked as stale because it has not 
had recent activity. It will be closed if no further activity occurs.
   Feel free to reach out on the d...@hive.apache.org list if the patch is in 
need of reviews.


-- 
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:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 610425)
Time Spent: 0.5h  (was: 20m)

> 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: 0.5h
>  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.3.4#803005)


[jira] [Work logged] (HIVE-24947) Casting exception when reading vectorized parquet file for insert into

2021-04-14 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-24947:
-

Author: ASF GitHub Bot
Created on: 14/Apr/21 10:32
Start Date: 14/Apr/21 10:32
Worklog Time Spent: 10m 
  Work Description: pgaref commented on pull request #2176:
URL: https://github.com/apache/hive/pull/2176#issuecomment-819414769


   Hey @kuczoram  can you take a look when you have a sec? 
   Adding a qtest for this shortly


-- 
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:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 582363)
Time Spent: 20m  (was: 10m)

> 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: 20m
>  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.3.4#803005)


[jira] [Work logged] (HIVE-24947) Casting exception when reading vectorized parquet file for insert into

2021-04-13 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot logged work on HIVE-24947:
-

Author: ASF GitHub Bot
Created on: 13/Apr/21 20:09
Start Date: 13/Apr/21 20:09
Worklog Time Spent: 10m 
  Work Description: pgaref opened a new pull request #2176:
URL: https://github.com/apache/hive/pull/2176


   ### What changes were proposed in this pull request?
   Make sure Parquet values are decoded on the fly are each Page can decide to 
encode values or not.
   As a result we might end up with a VRB where half the values are encoded and 
the rest are not!
   
   
   ### Does this PR introduce _any_ user-facing change?
   NO
   
   ### How was this patch tested?
   TODO -- add q.test
   


-- 
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:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 582037)
Remaining Estimate: 0h
Time Spent: 10m

> 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
>Priority: Major
>  Time Spent: 10m
>  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.3.4#803005)