[ 
https://issues.apache.org/jira/browse/ARROW-10748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17239615#comment-17239615
 ] 

Liya Fan commented on ARROW-10748:
----------------------------------

[~dclong] Thanks for reporting the problem. How about directly using 
{{TimeStampMilliVector}}?

> TimeStampMilliVector cannot be cast to TimeStampMilliTZVector
> -------------------------------------------------------------
>
>                 Key: ARROW-10748
>                 URL: https://issues.apache.org/jira/browse/ARROW-10748
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Java
>            Reporter: Benjamin Du
>            Priority: Major
>
> I tried to leverage `org.apache.arrow.adapter.jdbc.JdbcToArrow.sqlToArrow` to 
> query a Hive table but got the following error message on Timestamp columns. 
> Notice that Date columns works well. 
>  
>  {{java.lang.ClassCastException: java.lang.ClassCastException: 
> org.apache.arrow.vector.TimeStampMilliVector cannot be cast to 
> org.apache.arrow.vector.TimeStampMilliTZVector}}



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

Reply via email to