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

parquet.thrift refers to wrong releases for the new compressions

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • format-2.5.0
    • None
    • None

    Description

      parquet.thrift contains the following:

      /**
       * Supported compression algorithms.
       *
       * Codecs added in 2.3.2 can be read by readers based on 2.3.2 and later.
       * Codec support may vary between readers based on the format version and
       * libraries available at runtime. Gzip, Snappy, and LZ4 codecs are
       * widely available, while Zstd and Brotli require additional libraries.
       */
      enum CompressionCodec {
        UNCOMPRESSED = 0;
        SNAPPY = 1;
        GZIP = 2;
        LZO = 3;
        BROTLI = 4; // Added in 2.3.2
        LZ4 = 5; // Added in 2.3.2
        ZSTD = 6; // Added in 2.3.2
      }

      In reality, there was no 2.3.2 release. These compression codecs were added in version 2.4.

      Attachments

        Issue Links

          Activity

            People

              zi Zoltan Ivanfi
              zi Zoltan Ivanfi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: