Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-14482

Change default compression codec for Parquet from gzip to snappy

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: SQL
    • Labels:
      None

      Description

      Based on our tests, gzip decompression is very slow (< 100MB/s), making queries decompression bound. Snappy can decompress at ~ 500MB/s on a single core.

        Issue Links

          Activity

          Hide
          apachespark Apache Spark added a comment -

          User 'rxin' has created a pull request for this issue:
          https://github.com/apache/spark/pull/12256

          Show
          apachespark Apache Spark added a comment - User 'rxin' has created a pull request for this issue: https://github.com/apache/spark/pull/12256
          Hide
          Downchuck Charles Pritchard added a comment -

          I don't think this fully made it into the manual; this impacts default compression for Parquet, but I think the manual still shows the default as gzip.

          Show
          Downchuck Charles Pritchard added a comment - I don't think this fully made it into the manual; this impacts default compression for Parquet, but I think the manual still shows the default as gzip.

            People

            • Assignee:
              rxin Reynold Xin
              Reporter:
              rxin Reynold Xin
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development