GitHub PullRequestEvent at 2014-09-17 18:21:30
Repository: spark
Actor: ankurdave
Payload: {"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/larryxiao/spark/pulls/1","id":21385427,"html_url":"https://github.com/larryxiao/spark/pull/1","diff_url":"https://github.com/larryxiao/spark/pull/1.diff","patch_url":"https://github.com/larryxiao/spark/pull/1.patch","issue_url":"https://api.github.com/repos/larryxiao/spark/issues/1","number":1,"state":"open","locked":false,"title":"ShippableVertexPartition.initFrom: Don't run mergeFunc on default values","user":{"login":"ankurdave","id":408432,"avatar_url":"https://avatars.githubusercontent.com/u/408432?v=2","gravatar_id":"f73cc9ac2398bbdb35779de968620b25","url":"https://api.github.com/users/ankurdave","html_url":"https://github.com/ankurdave","followers_url":"https://api.github.com/users/ankurdave/followers","following_url":"https://api.github.com/users/ankurdave/following{/other_user}","gists_url":"https://api.github.com/users/ankurdave/gists{/gist_id}","starred_url":"https://api.github.com/users/ankurdave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankurdave/subscriptions","organizations_url":"https://api.github.com/users/ankurdave/orgs","repos_url":"https://api.github.com/users/ankurdave/repos","events_url":"https://api.github.com/users/ankurdave/events{/privacy}","received_events_url":"https://api.github.com/users/ankurdave/received_events","type":"User","site_admin":false},"body":"Now that we're taking a mergeFunc in ShippableVertexPartition.initFrom, it's not ideal to use the iterator concatenation approach for setting the default values anymore, because the mergeFunc will get run on the default value, which might surprise users. This PR avoids this by doing the merge first, *then* populating the default values.","created_at":"2014-09-17T18:21:30Z","updated_at":"2014-09-17T18:21:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/larryxiao/spark/pulls/1/commits","review_comments_url":"https://api.github.com/repos/larryxiao/spark/pulls/1/comments","review_comment_url":"https://api.github.com/repos/larryxiao/spark/pulls/comments/{number}","comments_url":"https://api.github.com/repos/larryxiao/spark/issues/1/comments","statuses_url":"https://api.github.com/repos/larryxiao/spark/statuses/476770babc4aece60e08d9dab5bd46c739ec9e66","head":{"label":"ankurdave:SPARK-2062","ref":"SPARK-2062","sha":"476770babc4aece60e08d9dab5bd46c739ec9e66","user":{"login":"ankurdave","id":408432,"avatar_url":"https://avatars.githubusercontent.com/u/408432?v=2","gravatar_id":"f73cc9ac2398bbdb35779de968620b25","url":"https://api.github.com/users/ankurdave","html_url":"https://github.com/ankurdave","followers_url":"https://api.github.com/users/ankurdave/followers","following_url":"https://api.github.com/users/ankurdave/following{/other_user}","gists_url":"https://api.github.com/users/ankurdave/gists{/gist_id}","starred_url":"https://api.github.com/users/ankurdave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankurdave/subscriptions","organizations_url":"https://api.github.com/users/ankurdave/orgs","repos_url":"https://api.github.com/users/ankurdave/repos","events_url":"https://api.github.com/users/ankurdave/events{/privacy}","received_events_url":"https://api.github.com/users/ankurdave/received_events","type":"User","site_admin":false},"repo":{"id":18090820,"name":"spark","full_name":"ankurdave/spark","owner":{"login":"ankurdave","id":408432,"avatar_url":"https://avatars.githubusercontent.com/u/408432?v=2","gravatar_id":"f73cc9ac2398bbdb35779de968620b25","url":"https://api.github.com/users/ankurdave","html_url":"https://github.com/ankurdave","followers_url":"https://api.github.com/users/ankurdave/followers","following_url":"https://api.github.com/users/ankurdave/following{/other_user}","gists_url":"https://api.github.com/users/ankurdave/gists{/gist_id}","starred_url":"https://api.github.com/users/ankurdave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankurdave/subscriptions","organizations_url":"https://api.github.com/users/ankurdave/orgs","repos_url":"https://api.github.com/users/ankurdave/repos","events_url":"https://api.github.com/users/ankurdave/events{/privacy}","received_events_url":"https://api.github.com/users/ankurdave/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ankurdave/spark","description":"Mirror of Apache Spark","fork":true,"url":"https://api.github.com/repos/ankurdave/spark","forks_url":"https://api.github.com/repos/ankurdave/spark/forks","keys_url":"https://api.github.com/repos/ankurdave/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ankurdave/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ankurdave/spark/teams","hooks_url":"https://api.github.com/repos/ankurdave/spark/hooks","issue_events_url":"https://api.github.com/repos/ankurdave/spark/issues/events{/number}","events_url":"https://api.github.com/repos/ankurdave/spark/events","assignees_url":"https://api.github.com/repos/ankurdave/spark/assignees{/user}","branches_url":"https://api.github.com/repos/ankurdave/spark/branches{/branch}","tags_url":"https://api.github.com/repos/ankurdave/spark/tags","blobs_url":"https://api.github.com/repos/ankurdave/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ankurdave/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ankurdave/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/ankurdave/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ankurdave/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/ankurdave/spark/languages","stargazers_url":"https://api.github.com/repos/ankurdave/spark/stargazers","contributors_url":"https://api.github.com/repos/ankurdave/spark/contributors","subscribers_url":"https://api.github.com/repos/ankurdave/spark/subscribers","subscription_url":"https://api.github.com/repos/ankurdave/spark/subscription","commits_url":"https://api.github.com/repos/ankurdave/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/ankurdave/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/ankurdave/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/ankurdave/spark/issues/comments/{number}","contents_url":"https://api.github.com/repos/ankurdave/spark/contents/{+path}","compare_url":"https://api.github.com/repos/ankurdave/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ankurdave/spark/merges","archive_url":"https://api.github.com/repos/ankurdave/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ankurdave/spark/downloads","issues_url":"https://api.github.com/repos/ankurdave/spark/issues{/number}","pulls_url":"https://api.github.com/repos/ankurdave/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/ankurdave/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/ankurdave/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ankurdave/spark/labels{/name}","releases_url":"https://api.github.com/repos/ankurdave/spark/releases{/id}","created_at":"2014-03-25T06:24:28Z","updated_at":"2014-07-05T11:15:55Z","pushed_at":"2014-09-17T18:20:21Z","git_url":"git://github.com/ankurdave/spark.git","ssh_url":"git@github.com:ankurdave/spark.git","clone_url":"https://github.com/ankurdave/spark.git","svn_url":"https://github.com/ankurdave/spark","homepage":null,"size":77428,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"larryxiao:2062","ref":"2062","sha":"614059fd711a5cd0351c133fc98a288f8c712ad1","user":{"login":"larryxiao","id":3643298,"avatar_url":"https://avatars.githubusercontent.com/u/3643298?v=2","gravatar_id":"978a0504e137faa08c4104c0d3de418c","url":"https://api.github.com/users/larryxiao","html_url":"https://github.com/larryxiao","followers_url":"https://api.github.com/users/larryxiao/followers","following_url":"https://api.github.com/users/larryxiao/following{/other_user}","gists_url":"https://api.github.com/users/larryxiao/gists{/gist_id}","starred_url":"https://api.github.com/users/larryxiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larryxiao/subscriptions","organizations_url":"https://api.github.com/users/larryxiao/orgs","repos_url":"https://api.github.com/users/larryxiao/repos","events_url":"https://api.github.com/users/larryxiao/events{/privacy}","received_events_url":"https://api.github.com/users/larryxiao/received_events","type":"User","site_admin":false},"repo":{"id":21563397,"name":"spark","full_name":"larryxiao/spark","owner":{"login":"larryxiao","id":3643298,"avatar_url":"https://avatars.githubusercontent.com/u/3643298?v=2","gravatar_id":"978a0504e137faa08c4104c0d3de418c","url":"https://api.github.com/users/larryxiao","html_url":"https://github.com/larryxiao","followers_url":"https://api.github.com/users/larryxiao/followers","following_url":"https://api.github.com/users/larryxiao/following{/other_user}","gists_url":"https://api.github.com/users/larryxiao/gists{/gist_id}","starred_url":"https://api.github.com/users/larryxiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larryxiao/subscriptions","organizations_url":"https://api.github.com/users/larryxiao/orgs","repos_url":"https://api.github.com/users/larryxiao/repos","events_url":"https://api.github.com/users/larryxiao/events{/privacy}","received_events_url":"https://api.github.com/users/larryxiao/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/larryxiao/spark","description":"","fork":true,"url":"https://api.github.com/repos/larryxiao/spark","forks_url":"https://api.github.com/repos/larryxiao/spark/forks","keys_url":"https://api.github.com/repos/larryxiao/spark/keys{/key_id}","collaborators_url":"https://api.github.com/repos/larryxiao/spark/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/larryxiao/spark/teams","hooks_url":"https://api.github.com/repos/larryxiao/spark/hooks","issue_events_url":"https://api.github.com/repos/larryxiao/spark/issues/events{/number}","events_url":"https://api.github.com/repos/larryxiao/spark/events","assignees_url":"https://api.github.com/repos/larryxiao/spark/assignees{/user}","branches_url":"https://api.github.com/repos/larryxiao/spark/branches{/branch}","tags_url":"https://api.github.com/repos/larryxiao/spark/tags","blobs_url":"https://api.github.com/repos/larryxiao/spark/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/larryxiao/spark/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/larryxiao/spark/git/refs{/sha}","trees_url":"https://api.github.com/repos/larryxiao/spark/git/trees{/sha}","statuses_url":"https://api.github.com/repos/larryxiao/spark/statuses/{sha}","languages_url":"https://api.github.com/repos/larryxiao/spark/languages","stargazers_url":"https://api.github.com/repos/larryxiao/spark/stargazers","contributors_url":"https://api.github.com/repos/larryxiao/spark/contributors","subscribers_url":"https://api.github.com/repos/larryxiao/spark/subscribers","subscription_url":"https://api.github.com/repos/larryxiao/spark/subscription","commits_url":"https://api.github.com/repos/larryxiao/spark/commits{/sha}","git_commits_url":"https://api.github.com/repos/larryxiao/spark/git/commits{/sha}","comments_url":"https://api.github.com/repos/larryxiao/spark/comments{/number}","issue_comment_url":"https://api.github.com/repos/larryxiao/spark/issues/comments/{number}","contents_url":"https://api.github.com/repos/larryxiao/spark/contents/{+path}","compare_url":"https://api.github.com/repos/larryxiao/spark/compare/{base}...{head}","merges_url":"https://api.github.com/repos/larryxiao/spark/merges","archive_url":"https://api.github.com/repos/larryxiao/spark/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/larryxiao/spark/downloads","issues_url":"https://api.github.com/repos/larryxiao/spark/issues{/number}","pulls_url":"https://api.github.com/repos/larryxiao/spark/pulls{/number}","milestones_url":"https://api.github.com/repos/larryxiao/spark/milestones{/number}","notifications_url":"https://api.github.com/repos/larryxiao/spark/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/larryxiao/spark/labels{/name}","releases_url":"https://api.github.com/repos/larryxiao/spark/releases{/id}","created_at":"2014-07-07T08:43:13Z","updated_at":"2014-09-17T02:44:38Z","pushed_at":"2014-09-16T23:55:31Z","git_url":"git://github.com/larryxiao/spark.git","ssh_url":"git@github.com:larryxiao/spark.git","clone_url":"https://github.com/larryxiao/spark.git","svn_url":"https://github.com/larryxiao/spark","homepage":"","size":101102,"stargazers_count":1,"watchers_count":1,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/larryxiao/spark/pulls/1"},"html":{"href":"https://github.com/larryxiao/spark/pull/1"},"issue":{"href":"https://api.github.com/repos/larryxiao/spark/issues/1"},"comments":{"href":"https://api.github.com/repos/larryxiao/spark/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/larryxiao/spark/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/larryxiao/spark/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/larryxiao/spark/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/larryxiao/spark/statuses/476770babc4aece60e08d9dab5bd46c739ec9e66"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":13,"deletions":9,"changed_files":2}}