[
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)