Description
Use of the proleptic Gregorian calendar via ORC-27 and schema evolution can lead to an exception.
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]
Attachments
Issue Links
- blocks
-
HIVE-22589 Add storage support for ProlepticCalendar in ORC, Parquet, and Avro
- Closed
- causes
-
ORC-594 Fix compatibility with ORC 1.5.8 on OrcTail.getStripeStatistics
- Closed
- is related to
-
HIVE-22667 ORC version upgrade including ORC-578
- Resolved
- links to