Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-1527

[parquet-tools] cat command throw java.lang.ClassCastException

    XMLWordPrintableJSON

    Details

      Description

      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.

      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
      

      The schema of v11.parquet is below:

      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));
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                masayuki038 Masayuki Takahashi
                Reporter:
                masayuki038 Masayuki Takahashi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: