You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Owen O'Malley (Jira)" <ji...@apache.org> on 2020/01/22 19:32:00 UTC
[jira] [Resolved] (ORC-578) IllegalArgumentException: Can't use
LongColumnVector to read proleptic Gregorian dates.
[ https://issues.apache.org/jira/browse/ORC-578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen O'Malley resolved ORC-578.
-------------------------------
Fix Version/s: 1.7.0
1.6.3
1.5.9
Resolution: Fixed
I committed this with Jesús' help.
> IllegalArgumentException: Can't use LongColumnVector to read proleptic Gregorian dates.
> ---------------------------------------------------------------------------------------
>
> Key: ORC-578
> URL: https://issues.apache.org/jira/browse/ORC-578
> Project: ORC
> Issue Type: Bug
> Reporter: Owen O'Malley
> Assignee: Owen O'Malley
> Priority: Major
> Fix For: 1.5.9, 1.6.3, 1.7.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Use of the proleptic Gregorian calendar via ORC-27 and schema evolution can lead to an exception.
> {code}
> Caused by: java.lang.IllegalArgumentException: Can't use LongColumnVector to read proleptic Gregorian dates.
> at org.apache.orc.impl.TreeReaderFactory$DateTreeReader.nextVector(TreeReaderFactory.java:1157) ~[orc-core-1.5.9-SNAPSHOT.jar:1.5.9-SNAPSHOT]
> at org.apache.orc.impl.ConvertTreeReaderFactory$StringGroupFromDateTreeReader.nextVector(ConvertTreeReaderFactory.java:1702) ~[orc-core-1.5.9-SNAPSHOT.jar:1.5.9-SNAPSHOT]
> at org.apache.orc.impl.TreeReaderFactory$StructTreeReader.nextVector(TreeReaderFactory.java:2077) ~[orc-core-1.5.9-SNAPSHOT.jar:1.5.9-SNAPSHOT]
> at org.apache.orc.impl.TreeReaderFactory$StructTreeReader.nextBatch(TreeReaderFactory.java:2059) ~[orc-core-1.5.9-SNAPSHOT.jar:1.5.9-SNAPSHOT]
> at org.apache.orc.impl.RecordReaderImpl.nextBatch(RecordReaderImpl.java:1310) ~[orc-core-1.5.9-SNAPSHOT.jar:1.5.9-SNAPSHOT]
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)