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

[C++] Add missing version of UNSTABLE-PRE-2.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.3
    • 1.7.4
    • C++
    • None

    Description

      The C++ reader currently doesn't recognize the UNSTABLE-PRE-2.0 version which is added in ORC-49 in the Java client.

      To be specifit, when reading an ORCv2 file, the C++ reader gets "1.9999" as the version.

      $ tools/src/orc-metadata decimal64_v2.orc
      Warning: ORC file decimal64_v2.orc was written in an unknown format version 1.9999
      { ...
        "format": "1.9999", "writer version": "ORC-135", "software version": "ORC Java",
        ...
      }

      The Java client can read the version as expected

      $ java -jar orc-tools-1.8.0-SNAPSHOT-uber.jar meta decimal64_v2.orc
      ...
      File Version: UNSTABLE-PRE-2.0 with ORC_135 by ORC Java
      ...
      

      Attachments

        Issue Links

          Activity

            People

              stigahuang Quanlong Huang
              stigahuang Quanlong Huang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: