{"action":"created","comment":{"url":"https://api.github.com/repos/apache/incubator-carbondata/pulls/comments/112655868","pull_request_review_id":33987231,"id":112655868,"diff_hunk":"@@ -349,7 +353,9 @@ private[sql] class CarbonLateDecodeStrategy extends SparkStrategy {\n       UnknownPartitioning(0)\n     }\n   }\n-\n+  case class CastExpr1(expr: Expression) extends Filter {","path":"integration/spark2/src/main/scala/org/apache/spark/sql/execution/CarbonLateDecodeStrategy.scala","position":32,"original_position":32,"commit_id":"9204a755847a76fe8d3dc183615973c7b13c784c","original_commit_id":"9204a755847a76fe8d3dc183615973c7b13c784c","user":{"login":"sounakr","id":14341802,"avatar_url":"https://avatars0.githubusercontent.com/u/14341802?v=3","gravatar_id":"","url":"https://api.github.com/users/sounakr","html_url":"https://github.com/sounakr","followers_url":"https://api.github.com/users/sounakr/followers","following_url":"https://api.github.com/users/sounakr/following{/other_user}","gists_url":"https://api.github.com/users/sounakr/gists{/gist_id}","starred_url":"https://api.github.com/users/sounakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sounakr/subscriptions","organizations_url":"https://api.github.com/users/sounakr/orgs","repos_url":"https://api.github.com/users/sounakr/repos","events_url":"https://api.github.com/users/sounakr/events{/privacy}","received_events_url":"https://api.github.com/users/sounakr/received_events","type":"User","site_admin":false},"body":"Removed","created_at":"2017-04-21T10:05:58Z","updated_at":"2017-04-21T10:05:58Z","html_url":"https://github.com/apache/incubator-carbondata/pull/805#discussion_r112655868","pull_request_url":"https://api.github.com/repos/apache/incubator-carbondata/pulls/805","_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-carbondata/pulls/comments/112655868"},"html":{"href":"https://github.com/apache/incubator-carbondata/pull/805#discussion_r112655868"},"pull_request":{"href":"https://api.github.com/repos/apache/incubator-carbondata/pulls/805"}}},"pull_request":{"url":"https://api.github.com/repos/apache/incubator-carbondata/pulls/805","id":116082688,"html_url":"https://github.com/apache/incubator-carbondata/pull/805","diff_url":"https://github.com/apache/incubator-carbondata/pull/805.diff","patch_url":"https://github.com/apache/incubator-carbondata/pull/805.patch","issue_url":"https://api.github.com/repos/apache/incubator-carbondata/issues/805","number":805,"state":"open","locked":false,"title":"[CARBONDATA-934] Cast Filter Expression Push Down to Carbon Optimization","user":{"login":"sounakr","id":14341802,"avatar_url":"https://avatars0.githubusercontent.com/u/14341802?v=3","gravatar_id":"","url":"https://api.github.com/users/sounakr","html_url":"https://github.com/sounakr","followers_url":"https://api.github.com/users/sounakr/followers","following_url":"https://api.github.com/users/sounakr/following{/other_user}","gists_url":"https://api.github.com/users/sounakr/gists{/gist_id}","starred_url":"https://api.github.com/users/sounakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sounakr/subscriptions","organizations_url":"https://api.github.com/users/sounakr/orgs","repos_url":"https://api.github.com/users/sounakr/repos","events_url":"https://api.github.com/users/sounakr/events{/privacy}","received_events_url":"https://api.github.com/users/sounakr/received_events","type":"User","site_admin":false},"body":"Problem : With Filter Expression with Casts, PushDown to Carbon layer was not happening. \r\n\r\nAnalysis : Cast Expressions are handled in Spark. So Whenever Cast Expressions are present in the Filter predicates then Carbon Scan all its data and move it to spark for evaluation. This makes the query processing slow.\r\n\r\nFix : Handle Cast Expression in Carbon Layer. As of now it is handled in Spark -2.1 ","created_at":"2017-04-17T02:31:48Z","updated_at":"2017-04-21T10:05:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c281e6998f84db1f3adda0a20f754c1423855f0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/incubator-carbondata/pulls/805/commits","review_comments_url":"https://api.github.com/repos/apache/incubator-carbondata/pulls/805/comments","review_comment_url":"https://api.github.com/repos/apache/incubator-carbondata/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/incubator-carbondata/issues/805/comments","statuses_url":"https://api.github.com/repos/apache/incubator-carbondata/statuses/9204a755847a76fe8d3dc183615973c7b13c784c","head":{"label":"sounakr:casts","ref":"casts","sha":"9204a755847a76fe8d3dc183615973c7b13c784c","user":{"login":"sounakr","id":14341802,"avatar_url":"https://avatars0.githubusercontent.com/u/14341802?v=3","gravatar_id":"","url":"https://api.github.com/users/sounakr","html_url":"https://github.com/sounakr","followers_url":"https://api.github.com/users/sounakr/followers","following_url":"https://api.github.com/users/sounakr/following{/other_user}","gists_url":"https://api.github.com/users/sounakr/gists{/gist_id}","starred_url":"https://api.github.com/users/sounakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sounakr/subscriptions","organizations_url":"https://api.github.com/users/sounakr/orgs","repos_url":"https://api.github.com/users/sounakr/repos","events_url":"https://api.github.com/users/sounakr/events{/privacy}","received_events_url":"https://api.github.com/users/sounakr/received_events","type":"User","site_admin":false},"repo":{"id":77815028,"name":"incubator-carbondata","full_name":"sounakr/incubator-carbondata","owner":{"login":"sounakr","id":14341802,"avatar_url":"https://avatars0.githubusercontent.com/u/14341802?v=3","gravatar_id":"","url":"https://api.github.com/users/sounakr","html_url":"https://github.com/sounakr","followers_url":"https://api.github.com/users/sounakr/followers","following_url":"https://api.github.com/users/sounakr/following{/other_user}","gists_url":"https://api.github.com/users/sounakr/gists{/gist_id}","starred_url":"https://api.github.com/users/sounakr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sounakr/subscriptions","organizations_url":"https://api.github.com/users/sounakr/orgs","repos_url":"https://api.github.com/users/sounakr/repos","events_url":"https://api.github.com/users/sounakr/events{/privacy}","received_events_url":"https://api.github.com/users/sounakr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sounakr/incubator-carbondata","description":"Mirror of Apache CarbonData (Incubating)","fork":true,"url":"https://api.github.com/repos/sounakr/incubator-carbondata","forks_url":"https://api.github.com/repos/sounakr/incubator-carbondata/forks","keys_url":"https://api.github.com/repos/sounakr/incubator-carbondata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sounakr/incubator-carbondata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sounakr/incubator-carbondata/teams","hooks_url":"https://api.github.com/repos/sounakr/incubator-carbondata/hooks","issue_events_url":"https://api.github.com/repos/sounakr/incubator-carbondata/issues/events{/number}","events_url":"https://api.github.com/repos/sounakr/incubator-carbondata/events","assignees_url":"https://api.github.com/repos/sounakr/incubator-carbondata/assignees{/user}","branches_url":"https://api.github.com/repos/sounakr/incubator-carbondata/branches{/branch}","tags_url":"https://api.github.com/repos/sounakr/incubator-carbondata/tags","blobs_url":"https://api.github.com/repos/sounakr/incubator-carbondata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sounakr/incubator-carbondata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sounakr/incubator-carbondata/git/refs{/sha}","trees_url":"https://api.github.com/repos/sounakr/incubator-carbondata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sounakr/incubator-carbondata/statuses/{sha}","languages_url":"https://api.github.com/repos/sounakr/incubator-carbondata/languages","stargazers_url":"https://api.github.com/repos/sounakr/incubator-carbondata/stargazers","contributors_url":"https://api.github.com/repos/sounakr/incubator-carbondata/contributors","subscribers_url":"https://api.github.com/repos/sounakr/incubator-carbondata/subscribers","subscription_url":"https://api.github.com/repos/sounakr/incubator-carbondata/subscription","commits_url":"https://api.github.com/repos/sounakr/incubator-carbondata/commits{/sha}","git_commits_url":"https://api.github.com/repos/sounakr/incubator-carbondata/git/commits{/sha}","comments_url":"https://api.github.com/repos/sounakr/incubator-carbondata/comments{/number}","issue_comment_url":"https://api.github.com/repos/sounakr/incubator-carbondata/issues/comments{/number}","contents_url":"https://api.github.com/repos/sounakr/incubator-carbondata/contents/{+path}","compare_url":"https://api.github.com/repos/sounakr/incubator-carbondata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sounakr/incubator-carbondata/merges","archive_url":"https://api.github.com/repos/sounakr/incubator-carbondata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sounakr/incubator-carbondata/downloads","issues_url":"https://api.github.com/repos/sounakr/incubator-carbondata/issues{/number}","pulls_url":"https://api.github.com/repos/sounakr/incubator-carbondata/pulls{/number}","milestones_url":"https://api.github.com/repos/sounakr/incubator-carbondata/milestones{/number}","notifications_url":"https://api.github.com/repos/sounakr/incubator-carbondata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sounakr/incubator-carbondata/labels{/name}","releases_url":"https://api.github.com/repos/sounakr/incubator-carbondata/releases{/id}","deployments_url":"https://api.github.com/repos/sounakr/incubator-carbondata/deployments","created_at":"2017-01-02T06:25:07Z","updated_at":"2017-01-02T06:25:13Z","pushed_at":"2017-04-20T12:00:32Z","git_url":"git://github.com/sounakr/incubator-carbondata.git","ssh_url":"git@github.com:sounakr/incubator-carbondata.git","clone_url":"https://github.com/sounakr/incubator-carbondata.git","svn_url":"https://github.com/sounakr/incubator-carbondata","homepage":null,"size":43585,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"ca07119d121efd8c4b2f95d0ab5cb79a4851aa50","user":{"login":"apache","id":47359,"avatar_url":"https://avatars3.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":62117818,"name":"incubator-carbondata","full_name":"apache/incubator-carbondata","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars3.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/incubator-carbondata","description":"Mirror of Apache CarbonData (Incubating)","fork":false,"url":"https://api.github.com/repos/apache/incubator-carbondata","forks_url":"https://api.github.com/repos/apache/incubator-carbondata/forks","keys_url":"https://api.github.com/repos/apache/incubator-carbondata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/incubator-carbondata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/incubator-carbondata/teams","hooks_url":"https://api.github.com/repos/apache/incubator-carbondata/hooks","issue_events_url":"https://api.github.com/repos/apache/incubator-carbondata/issues/events{/number}","events_url":"https://api.github.com/repos/apache/incubator-carbondata/events","assignees_url":"https://api.github.com/repos/apache/incubator-carbondata/assignees{/user}","branches_url":"https://api.github.com/repos/apache/incubator-carbondata/branches{/branch}","tags_url":"https://api.github.com/repos/apache/incubator-carbondata/tags","blobs_url":"https://api.github.com/repos/apache/incubator-carbondata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/incubator-carbondata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/incubator-carbondata/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/incubator-carbondata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/incubator-carbondata/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/incubator-carbondata/languages","stargazers_url":"https://api.github.com/repos/apache/incubator-carbondata/stargazers","contributors_url":"https://api.github.com/repos/apache/incubator-carbondata/contributors","subscribers_url":"https://api.github.com/repos/apache/incubator-carbondata/subscribers","subscription_url":"https://api.github.com/repos/apache/incubator-carbondata/subscription","commits_url":"https://api.github.com/repos/apache/incubator-carbondata/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/incubator-carbondata/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/incubator-carbondata/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/incubator-carbondata/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/incubator-carbondata/contents/{+path}","compare_url":"https://api.github.com/repos/apache/incubator-carbondata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/incubator-carbondata/merges","archive_url":"https://api.github.com/repos/apache/incubator-carbondata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/incubator-carbondata/downloads","issues_url":"https://api.github.com/repos/apache/incubator-carbondata/issues{/number}","pulls_url":"https://api.github.com/repos/apache/incubator-carbondata/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/incubator-carbondata/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/incubator-carbondata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/incubator-carbondata/labels{/name}","releases_url":"https://api.github.com/repos/apache/incubator-carbondata/releases{/id}","deployments_url":"https://api.github.com/repos/apache/incubator-carbondata/deployments","created_at":"2016-06-28T07:00:06Z","updated_at":"2017-04-21T08:27:12Z","pushed_at":"2017-04-21T08:31:53Z","git_url":"git://github.com/apache/incubator-carbondata.git","ssh_url":"git@github.com:apache/incubator-carbondata.git","clone_url":"https://github.com/apache/incubator-carbondata.git","svn_url":"https://github.com/apache/incubator-carbondata","homepage":null,"size":43834,"stargazers_count":331,"watchers_count":331,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":254,"mirror_url":"git://git.apache.org/incubator-carbondata.git","open_issues_count":53,"forks":254,"open_issues":53,"watchers":331,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/incubator-carbondata/pulls/805"},"html":{"href":"https://github.com/apache/incubator-carbondata/pull/805"},"issue":{"href":"https://api.github.com/repos/apache/incubator-carbondata/issues/805"},"comments":{"href":"https://api.github.com/repos/apache/incubator-carbondata/issues/805/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/incubator-carbondata/pulls/805/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/incubator-carbondata/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/incubator-carbondata/pulls/805/commits"},"statuses":{"href":"https://api.github.com/repos/apache/incubator-carbondata/statuses/9204a755847a76fe8d3dc183615973c7b13c784c"}}}}
{"actor":{"display_login":"sounakr"}}