Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-578

IllegalArgumentException: Can't use LongColumnVector to read proleptic Gregorian dates.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.9, 1.6.3, 1.7.0
    • Component/s: None
    • Labels:
      None

      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

            Activity

              People

              • Assignee:
                omalley Owen O'Malley
                Reporter:
                omalley Owen O'Malley
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h