Masayuki Takahashi created PARQUET-1527:
-------------------------------------------

             Summary: [parquet-tools] cat command throw 
java.lang.ClassCastException
                 Key: PARQUET-1527
                 URL: https://issues.apache.org/jira/browse/PARQUET-1527
             Project: Parquet
          Issue Type: Bug
          Components: parquet-mr
    Affects Versions: 1.11.0
            Reporter: Masayuki Takahashi


I download sources from release/1.11.0 and built.
https://github.com/apache/parquet-mr/releases/tag/apache-parquet-1.11.0 

As I ran cat command of parquet-tools, the below exception occurred. 

{code}
java -jar ./parquet-tools-1.11.0.jar cat 
D:\development\repository\git\parquet-column-index-benchmark\src\test\res 
ources\v11.parquet
java.lang.ClassCastException: required int32 int32_field is not a group
{code}

The schema of v11.parquet is below:

{code}
java -jar ./parquet-tools-1.11.0.jar schema 
D:\development\repository\git\parquet-column-index-benchmark\src\test\ 
resources\v11.parquet
message test {
  required int32 int32_field;
  required int64 int64_field;
  required float float_field;
  required double double_field;
  required binary binary_field;
  required int64 timestamp_field (TIMESTAMP(MILLIS,true));
}
{code}




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to