GitHub user rxin opened a pull request: https://github.com/apache/spark/pull/12256
[SPARK-14482][SQL] Change default Parquet codec from gzip to snappy ## What changes were proposed in this pull request? 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. This patch changes the default compression codec for Parquet output from gzip to snappy, and also introduces a ParquetOptions class to be more consistent with other data sources (e.g. CSV, JSON). ## How was this patch tested? Should be covered by existing unit tests. You can merge this pull request into a Git repository by running: $ git pull https://github.com/rxin/spark SPARK-14482 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/12256.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #12256 ---- commit 70ea5f88a3eaf878379acaf0e31597c297cdb8d4 Author: Reynold Xin <r...@databricks.com> Date: 2016-04-08T07:15:24Z [SPARK-14482][SQL] Change default compression codec for Parquet from gzip to snappy ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org