You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Masayuki Takahashi (JIRA)" <ji...@apache.org> on 2019/02/11 08:00:00 UTC

[jira] [Created] (PARQUET-1527) [parquet-tools] cat command throw java.lang.ClassCastException

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)