{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/9858","labels_url":"https://api.github.com/repos/apache/spark/issues/9858/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/9858/comments","events_url":"https://api.github.com/repos/apache/spark/issues/9858/events","html_url":"https://github.com/apache/spark/pull/9858","id":117984122,"number":9858,"title":"[SPARK-11878][SQL]: Eliminate distribute by in case group by is present with exactly the same grouping expressi","user":{"login":"saucam","id":1253893,"avatar_url":"https://avatars.githubusercontent.com/u/1253893?v=3","gravatar_id":"","url":"https://api.github.com/users/saucam","html_url":"https://github.com/saucam","followers_url":"https://api.github.com/users/saucam/followers","following_url":"https://api.github.com/users/saucam/following{/other_user}","gists_url":"https://api.github.com/users/saucam/gists{/gist_id}","starred_url":"https://api.github.com/users/saucam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saucam/subscriptions","organizations_url":"https://api.github.com/users/saucam/orgs","repos_url":"https://api.github.com/users/saucam/repos","events_url":"https://api.github.com/users/saucam/events{/privacy}","received_events_url":"https://api.github.com/users/saucam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-20T07:46:05Z","updated_at":"2015-11-26T06:02:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/9858","html_url":"https://github.com/apache/spark/pull/9858","diff_url":"https://github.com/apache/spark/pull/9858.diff","patch_url":"https://github.com/apache/spark/pull/9858.patch"},"body":"For queries like :\r\nselect <> from table group by a distribute by a\r\nwe can eliminate distribute by ; since group by will anyways do a hash partitioning\r\nAlso applicable when user uses Dataframe API "},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/159814439","html_url":"https://github.com/apache/spark/pull/9858#issuecomment-159814439","issue_url":"https://api.github.com/repos/apache/spark/issues/9858","id":159814439,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2015-11-26T06:02:21Z","updated_at":"2015-11-26T06:02:21Z","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/46742/\nTest PASSed."}}