{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/9225","labels_url":"https://api.github.com/repos/apache/spark/issues/9225/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/9225/comments","events_url":"https://api.github.com/repos/apache/spark/issues/9225/events","html_url":"https://github.com/apache/spark/pull/9225","id":112820358,"number":9225,"title":"[SPARK-9876] [SQL] Bumps parquet-mr to 1.8.1","user":{"login":"liancheng","id":230655,"avatar_url":"https://avatars.githubusercontent.com/u/230655?v=3","gravatar_id":"","url":"https://api.github.com/users/liancheng","html_url":"https://github.com/liancheng","followers_url":"https://api.github.com/users/liancheng/followers","following_url":"https://api.github.com/users/liancheng/following{/other_user}","gists_url":"https://api.github.com/users/liancheng/gists{/gist_id}","starred_url":"https://api.github.com/users/liancheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liancheng/subscriptions","organizations_url":"https://api.github.com/users/liancheng/orgs","repos_url":"https://api.github.com/users/liancheng/repos","events_url":"https://api.github.com/users/liancheng/events{/privacy}","received_events_url":"https://api.github.com/users/liancheng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-22T14:50:42Z","updated_at":"2015-10-22T14:56:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/9225","html_url":"https://github.com/apache/spark/pull/9225","diff_url":"https://github.com/apache/spark/pull/9225.diff","patch_url":"https://github.com/apache/spark/pull/9225.patch"},"body":"This PR bumps parquet-mr to 1.8.1 to fix [PARQUET-251] [3].\r\n\r\nOne 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]).\r\n\r\n[1]: https://issues.apache.org/jira/browse/PARQUET-278\r\n[2]: https://issues.apache.org/jira/browse/PARQUET-363\r\n[3]: https://issues.apache.org/jira/browse/PARQUET-251"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/150252440","html_url":"https://github.com/apache/spark/pull/9225#issuecomment-150252440","issue_url":"https://api.github.com/repos/apache/spark/issues/9225","id":150252440,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T14:56:26Z","updated_at":"2015-10-22T14:56:26Z","body":"  [Test build #44151 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44151/consoleFull) for   PR 9225 at commit [`d00ff45`](https://github.com/apache/spark/commit/d00ff458c77bfe84272aee824b490ea78724ed35)."}}