Owen O'Malley created ORC-578:
---------------------------------

             Summary: 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


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)

Reply via email to