GitHub user liancheng opened a pull request: https://github.com/apache/spark/pull/9225
[SPARK-9876] [SQL] Bumps parquet-mr to 1.8.1 This PR bumps parquet-mr to 1.8.1 to fix [PARQUET-251] [3]. One unexpected issue is that parquet-mr 1.8.1 doesn't allow instantiating empty Parquet schema ([PARQUET-278] [1]). This affects queries like `SELECT COUNT(1) FROM t`, since we have to leave at least one column in Parquet requested schema. This PR works around this issue by selecting the "narrowest" column when no columns is requested. This issue has already been fixed in parquet-mr 1.8.2-SNAPSHOT ([PARQUET-363][2]). [1]: https://issues.apache.org/jira/browse/PARQUET-278 [2]: https://issues.apache.org/jira/browse/PARQUET-363 [3]: https://issues.apache.org/jira/browse/PARQUET-251 You can merge this pull request into a Git repository by running: $ git pull https://github.com/liancheng/spark spark-9876.parquet-mr-1.8.1 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/9225.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 #9225 ---- commit d00ff458c77bfe84272aee824b490ea78724ed35 Author: Cheng Lian <l...@databricks.com> Date: 2015-10-22T13:58:27Z Bumps parquet-mr to 1.8.1 ---- --- 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