[
https://issues.apache.org/jira/browse/ARROW-10748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17241116#comment-17241116
]
Benjamin Du edited comment on ARROW-10748 at 11/30/20, 10:41 PM:
-----------------------------------------------------------------
[~fan_li_ya],
Thank you very much for the quick fix and the extra information! The customized
mapping of types helps resolve other issues
https://issues.apache.org/jira/browse/ARROW-10762 that I encountered before.
I will try your branch to see whether it fix the Timestamp issue.
was (Author: dclong):
[~fan_li_ya],
Thank you very much for the quick fix and the extra information! The customized
mapping of types helps resolve other issues (array and maps) that I encountered
before.
I will try your branch to see whether it fix the Timestamp issue.
> 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
> Assignee: Liya Fan
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)