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

CLI show footer command fails if Parquet file contains date fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.12.2
    • 1.13.0
    • parquet-cli
    • None

    Description

      The show footer command in the CLI fails with the following error if run against a file with date fields:

      com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Java 8 date/time type `java.time.ZoneOffset` not supported by default: add Module "com.fasterxml.jackson.datatype:jackson-datatype-jsr310" to enable handling (through reference chain: org.apache.parquet.hadoop.metadata.ParquetMetadata["blocks"]>java.util.ArrayList[0]>org.apache.parquet.hadoop.metadata.BlockMetaData["columns"]>java.util.ArrayList[2]>org.apache.parquet.hadoop.metadata.IntColumnChunkMetaData["statistics"]>org.apache.parquet.column.statistics.IntStatistics["stringifier"]>org.apache.parquet.schema.PrimitiveStringifier$5["formatter"]->java.time.format.DateTimeFormatter["zone"])

      Attachments

        1. sample.parquet
          8 kB
          Bryan Keller

        Activity

          People

            Unassigned Unassigned
            bryanck Bryan Keller
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: