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

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

                Author: ASF GitHub Bot
            Created on: 04/Aug/21 09:35
            Start Date: 04/Aug/21 09:35
    Worklog Time Spent: 10m 
      Work Description: szlta opened a new pull request #2557:
URL: https://github.com/apache/hive/pull/2557


   Time is a valid type in Iceberg but not in Hive. In Hive it is represented 
as a string type column, while (at least if ORC is used as underlying file 
format) long type is written out to data files.
   
   This requires translation two times: long@ORC -> LocalDate@Iceberg -> 
toString()@Hive and it works well for non vectorized reads, but when 
vectorization is turned on, we will get:
   
   org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector cannot be cast to 
org.apache.hadoop.hive.ql.exec.vector.LongColumnVector 
   
   Thus for now, time type is not supported with vectorization, and the 
relevant test cases should be ignored in such test configs.


-- 
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: 633391)
    Remaining Estimate: 0h
            Time Spent: 10m

> Ignore time type column in Iceberg testing for vectorized runs
> --------------------------------------------------------------
>
>                 Key: HIVE-25420
>                 URL: https://issues.apache.org/jira/browse/HIVE-25420
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ádám Szita
>            Assignee: Ádám Szita
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Time is a valid type in Iceberg but not in Hive. In Hive it is represented as 
> a string type column, while (at least if ORC is used as underlying file 
> format) long type is written out to data files.
> This requires translation two times: long@ORC -> LocalDate@Iceberg -> 
> toString()@Hive and it works well for non vectorized reads, but when 
> vectorization is turned on, we will get:
> {code:java}
> org.apache.hadoop.hive.ql.exec.vector.BytesColumnVector cannot be cast to 
> org.apache.hadoop.hive.ql.exec.vector.LongColumnVector {code}
> Thus for now, time type is not supported with vectorization, and the relevant 
> test cases should be ignored in such test configs.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to