{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/8799","labels_url":"https://api.github.com/repos/apache/spark/issues/8799/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/8799/comments","events_url":"https://api.github.com/repos/apache/spark/issues/8799/events","html_url":"https://github.com/apache/spark/pull/8799","id":107048866,"number":8799,"title":"[SPARK-10623] [SQL] Fixes ORC predicate push-down","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":2,"created_at":"2015-09-17T18:51:23Z","updated_at":"2015-09-17T21:00:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/8799","html_url":"https://github.com/apache/spark/pull/8799","diff_url":"https://github.com/apache/spark/pull/8799.diff","patch_url":"https://github.com/apache/spark/pull/8799.patch"},"body":"When pushing down a leaf predicate, ORC `SearchArgument` builder requires an extra \"parent\" predicate (usually an `AND`) to wrap the leaf predicate. E.g., to push down `a < 1`, we must build `AND(a < 1)` instead. Fortunately, when actually constructing the `SearchArgument`, the builder will eliminate all those unnecessary wrappers.\r\n\r\nThis PR is based on #8783 authored by @zhzhan. I also took the chance to simply `OrcFilters` a little bit to improve readability."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/141227108","html_url":"https://github.com/apache/spark/pull/8799#issuecomment-141227108","issue_url":"https://api.github.com/repos/apache/spark/issues/8799","id":141227108,"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-09-17T21:00:25Z","updated_at":"2015-09-17T21:00:25Z","body":"  [Test build #42613 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42613/console) for   PR 8799 at commit [`5febd85`](https://github.com/apache/spark/commit/5febd8546ab4bcbb4ceb5e810b4547b857b39dd7).\n * This patch **passes all tests**.\n * This patch merges cleanly.\n * This patch adds no public classes."}}