You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Micah Kornfield (Jira)" <ji...@apache.org> on 2020/12/07 06:00:21 UTC
[jira] [Resolved] (ARROW-10748) [Java] TimeStampMilliVector cannot
be cast to TimeStampMilliTZVector
[ https://issues.apache.org/jira/browse/ARROW-10748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Micah Kornfield resolved ARROW-10748.
-------------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
Issue resolved by pull request 8801
[https://github.com/apache/arrow/pull/8801]
> [Java] 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
> Fix For: 3.0.0
>
> Time Spent: 1h
> 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)