Quanlong Huang created ORC-1127:
-----------------------------------

             Summary: [C++] Add missing version of UNSTABLE-PRE-2.0
                 Key: ORC-1127
                 URL: https://issues.apache.org/jira/browse/ORC-1127
             Project: ORC
          Issue Type: Bug
          Components: C++
            Reporter: Quanlong Huang
            Assignee: Quanlong Huang


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.
{code:java}
$ 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",
  ...
}{code}
The Java client can read the version as expected
{code}
$ 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
...
{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to