{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/21608","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/21608/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/21608/comments","events_url":"https://api.github.com/repos/apache/spark/issues/21608/events","html_url":"https://github.com/apache/spark/pull/21608","id":334679087,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2NTkyNDYy","number":21608,"title":"[SPARK-24626] [SQL] Improve location size calculation in Analyze Table command","user":{"login":"Achuth17","id":6129216,"node_id":"MDQ6VXNlcjYxMjkyMTY=","avatar_url":"https://avatars3.githubusercontent.com/u/6129216?v=4","gravatar_id":"","url":"https://api.github.com/users/Achuth17","html_url":"https://github.com/Achuth17","followers_url":"https://api.github.com/users/Achuth17/followers","following_url":"https://api.github.com/users/Achuth17/following{/other_user}","gists_url":"https://api.github.com/users/Achuth17/gists{/gist_id}","starred_url":"https://api.github.com/users/Achuth17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Achuth17/subscriptions","organizations_url":"https://api.github.com/users/Achuth17/orgs","repos_url":"https://api.github.com/users/Achuth17/repos","events_url":"https://api.github.com/users/Achuth17/events{/privacy}","received_events_url":"https://api.github.com/users/Achuth17/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":35,"created_at":"2018-06-21T22:25:43Z","updated_at":"2018-07-26T16:59:59Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/21608","html_url":"https://github.com/apache/spark/pull/21608","diff_url":"https://github.com/apache/spark/pull/21608.diff","patch_url":"https://github.com/apache/spark/pull/21608.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nCurrently, Analyze table calculates table size sequentially for each partition. We can parallelize size calculations over partitions.\r\n\r\nResults : Tested on a table with 100 partitions and data stored in S3. \r\nWith changes :\r\n- 10.429s\r\n- 10.557s\r\n- 10.439s\r\n- 9.893s \r\n\r\nWithout changes :\r\n- 110.034s\r\n- 99.510s\r\n- 100.743s\r\n- 99.106s\r\n\r\n## How was this patch tested?\r\n\r\nSimple unit test. \r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/408165053","html_url":"https://github.com/apache/spark/pull/21608#issuecomment-408165053","issue_url":"https://api.github.com/repos/apache/spark/issues/21608","id":408165053,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODE2NTA1Mw==","user":{"login":"Achuth17","id":6129216,"node_id":"MDQ6VXNlcjYxMjkyMTY=","avatar_url":"https://avatars3.githubusercontent.com/u/6129216?v=4","gravatar_id":"","url":"https://api.github.com/users/Achuth17","html_url":"https://github.com/Achuth17","followers_url":"https://api.github.com/users/Achuth17/followers","following_url":"https://api.github.com/users/Achuth17/following{/other_user}","gists_url":"https://api.github.com/users/Achuth17/gists{/gist_id}","starred_url":"https://api.github.com/users/Achuth17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Achuth17/subscriptions","organizations_url":"https://api.github.com/users/Achuth17/orgs","repos_url":"https://api.github.com/users/Achuth17/repos","events_url":"https://api.github.com/users/Achuth17/events{/privacy}","received_events_url":"https://api.github.com/users/Achuth17/received_events","type":"User","site_admin":false},"created_at":"2018-07-26T16:59:59Z","updated_at":"2018-07-26T16:59:59Z","author_association":"NONE","body":"@gatorsmile Can you review this please? Thanks. "}}
{"actor":{"display_login":"Achuth17"}}