{"action":"created","comment":{"url":"https://api.github.com/repos/graphframes/graphframes/pulls/comments/101116572","pull_request_review_id":21836992,"id":101116572,"diff_hunk":"@@ -130,6 +130,13 @@ class AggregateMessages private[graphframes] (private val g: GraphFrame)\n     }\n     unionedMsgs.groupBy(ID).agg(aggCol)\n   }\n+\n+  /**\n+   * Run the aggregation, specifying SQL expression as a String\n+   *\n+   * See the overloaded method documentation for more details.\n+   */\n+  def agg(aggCol: String): DataFrame = agg(expr(aggCol))","path":"src/main/scala/org/graphframes/lib/AggregateMessages.scala","position":34,"original_position":10,"commit_id":"be48d75b4611127396faf1e74f0251fdd91dccb9","original_commit_id":"be48d75b4611127396faf1e74f0251fdd91dccb9","user":{"login":"felixcheung","id":8969467,"avatar_url":"https://avatars.githubusercontent.com/u/8969467?v=3","gravatar_id":"","url":"https://api.github.com/users/felixcheung","html_url":"https://github.com/felixcheung","followers_url":"https://api.github.com/users/felixcheung/followers","following_url":"https://api.github.com/users/felixcheung/following{/other_user}","gists_url":"https://api.github.com/users/felixcheung/gists{/gist_id}","starred_url":"https://api.github.com/users/felixcheung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixcheung/subscriptions","organizations_url":"https://api.github.com/users/felixcheung/orgs","repos_url":"https://api.github.com/users/felixcheung/repos","events_url":"https://api.github.com/users/felixcheung/events{/privacy}","received_events_url":"https://api.github.com/users/felixcheung/received_events","type":"User","site_admin":false},"body":"Would be great to add a Scala test for this - this helps mitigate the Codecov decrease too","created_at":"2017-02-14T19:11:28Z","updated_at":"2017-02-14T19:12:10Z","html_url":"https://github.com/graphframes/graphframes/pull/169#discussion_r101116572","pull_request_url":"https://api.github.com/repos/graphframes/graphframes/pulls/169","_links":{"self":{"href":"https://api.github.com/repos/graphframes/graphframes/pulls/comments/101116572"},"html":{"href":"https://github.com/graphframes/graphframes/pull/169#discussion_r101116572"},"pull_request":{"href":"https://api.github.com/repos/graphframes/graphframes/pulls/169"}}},"pull_request":{"url":"https://api.github.com/repos/graphframes/graphframes/pulls/169","id":104695045,"html_url":"https://github.com/graphframes/graphframes/pull/169","diff_url":"https://github.com/graphframes/graphframes/pull/169.diff","patch_url":"https://github.com/graphframes/graphframes/pull/169.patch","issue_url":"https://api.github.com/repos/graphframes/graphframes/issues/169","number":169,"state":"open","locked":false,"title":"[57] aggregateMessages for Python","user":{"login":"tsivula","id":4025364,"avatar_url":"https://avatars.githubusercontent.com/u/4025364?v=3","gravatar_id":"","url":"https://api.github.com/users/tsivula","html_url":"https://github.com/tsivula","followers_url":"https://api.github.com/users/tsivula/followers","following_url":"https://api.github.com/users/tsivula/following{/other_user}","gists_url":"https://api.github.com/users/tsivula/gists{/gist_id}","starred_url":"https://api.github.com/users/tsivula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsivula/subscriptions","organizations_url":"https://api.github.com/users/tsivula/orgs","repos_url":"https://api.github.com/users/tsivula/repos","events_url":"https://api.github.com/users/tsivula/events{/privacy}","received_events_url":"https://api.github.com/users/tsivula/received_events","type":"User","site_admin":false},"body":"This PR adds `aggregateMessages` API to Python (issue #57)","created_at":"2017-02-05T10:24:02Z","updated_at":"2017-02-14T19:12:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"834b6b90f893a34517cb2a2f784135709db17c05","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/graphframes/graphframes/pulls/169/commits","review_comments_url":"https://api.github.com/repos/graphframes/graphframes/pulls/169/comments","review_comment_url":"https://api.github.com/repos/graphframes/graphframes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/graphframes/graphframes/issues/169/comments","statuses_url":"https://api.github.com/repos/graphframes/graphframes/statuses/be48d75b4611127396faf1e74f0251fdd91dccb9","head":{"label":"tsivula:aggregatemessages-python","ref":"aggregatemessages-python","sha":"be48d75b4611127396faf1e74f0251fdd91dccb9","user":{"login":"tsivula","id":4025364,"avatar_url":"https://avatars.githubusercontent.com/u/4025364?v=3","gravatar_id":"","url":"https://api.github.com/users/tsivula","html_url":"https://github.com/tsivula","followers_url":"https://api.github.com/users/tsivula/followers","following_url":"https://api.github.com/users/tsivula/following{/other_user}","gists_url":"https://api.github.com/users/tsivula/gists{/gist_id}","starred_url":"https://api.github.com/users/tsivula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsivula/subscriptions","organizations_url":"https://api.github.com/users/tsivula/orgs","repos_url":"https://api.github.com/users/tsivula/repos","events_url":"https://api.github.com/users/tsivula/events{/privacy}","received_events_url":"https://api.github.com/users/tsivula/received_events","type":"User","site_admin":false},"repo":{"id":80191160,"name":"graphframes","full_name":"tsivula/graphframes","owner":{"login":"tsivula","id":4025364,"avatar_url":"https://avatars.githubusercontent.com/u/4025364?v=3","gravatar_id":"","url":"https://api.github.com/users/tsivula","html_url":"https://github.com/tsivula","followers_url":"https://api.github.com/users/tsivula/followers","following_url":"https://api.github.com/users/tsivula/following{/other_user}","gists_url":"https://api.github.com/users/tsivula/gists{/gist_id}","starred_url":"https://api.github.com/users/tsivula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsivula/subscriptions","organizations_url":"https://api.github.com/users/tsivula/orgs","repos_url":"https://api.github.com/users/tsivula/repos","events_url":"https://api.github.com/users/tsivula/events{/privacy}","received_events_url":"https://api.github.com/users/tsivula/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tsivula/graphframes","description":null,"fork":true,"url":"https://api.github.com/repos/tsivula/graphframes","forks_url":"https://api.github.com/repos/tsivula/graphframes/forks","keys_url":"https://api.github.com/repos/tsivula/graphframes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tsivula/graphframes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tsivula/graphframes/teams","hooks_url":"https://api.github.com/repos/tsivula/graphframes/hooks","issue_events_url":"https://api.github.com/repos/tsivula/graphframes/issues/events{/number}","events_url":"https://api.github.com/repos/tsivula/graphframes/events","assignees_url":"https://api.github.com/repos/tsivula/graphframes/assignees{/user}","branches_url":"https://api.github.com/repos/tsivula/graphframes/branches{/branch}","tags_url":"https://api.github.com/repos/tsivula/graphframes/tags","blobs_url":"https://api.github.com/repos/tsivula/graphframes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tsivula/graphframes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tsivula/graphframes/git/refs{/sha}","trees_url":"https://api.github.com/repos/tsivula/graphframes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tsivula/graphframes/statuses/{sha}","languages_url":"https://api.github.com/repos/tsivula/graphframes/languages","stargazers_url":"https://api.github.com/repos/tsivula/graphframes/stargazers","contributors_url":"https://api.github.com/repos/tsivula/graphframes/contributors","subscribers_url":"https://api.github.com/repos/tsivula/graphframes/subscribers","subscription_url":"https://api.github.com/repos/tsivula/graphframes/subscription","commits_url":"https://api.github.com/repos/tsivula/graphframes/commits{/sha}","git_commits_url":"https://api.github.com/repos/tsivula/graphframes/git/commits{/sha}","comments_url":"https://api.github.com/repos/tsivula/graphframes/comments{/number}","issue_comment_url":"https://api.github.com/repos/tsivula/graphframes/issues/comments{/number}","contents_url":"https://api.github.com/repos/tsivula/graphframes/contents/{+path}","compare_url":"https://api.github.com/repos/tsivula/graphframes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tsivula/graphframes/merges","archive_url":"https://api.github.com/repos/tsivula/graphframes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tsivula/graphframes/downloads","issues_url":"https://api.github.com/repos/tsivula/graphframes/issues{/number}","pulls_url":"https://api.github.com/repos/tsivula/graphframes/pulls{/number}","milestones_url":"https://api.github.com/repos/tsivula/graphframes/milestones{/number}","notifications_url":"https://api.github.com/repos/tsivula/graphframes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tsivula/graphframes/labels{/name}","releases_url":"https://api.github.com/repos/tsivula/graphframes/releases{/id}","deployments_url":"https://api.github.com/repos/tsivula/graphframes/deployments","created_at":"2017-01-27T08:16:40Z","updated_at":"2017-01-27T08:16:41Z","pushed_at":"2017-02-14T18:24:53Z","git_url":"git://github.com/tsivula/graphframes.git","ssh_url":"git@github.com:tsivula/graphframes.git","clone_url":"https://github.com/tsivula/graphframes.git","svn_url":"https://github.com/tsivula/graphframes","homepage":"http://graphframes.github.io/","size":725,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"graphframes:master","ref":"master","sha":"5cfc0276d7e874c65c2be0acb1c9787e0ed27b26","user":{"login":"graphframes","id":16808115,"avatar_url":"https://avatars.githubusercontent.com/u/16808115?v=3","gravatar_id":"","url":"https://api.github.com/users/graphframes","html_url":"https://github.com/graphframes","followers_url":"https://api.github.com/users/graphframes/followers","following_url":"https://api.github.com/users/graphframes/following{/other_user}","gists_url":"https://api.github.com/users/graphframes/gists{/gist_id}","starred_url":"https://api.github.com/users/graphframes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graphframes/subscriptions","organizations_url":"https://api.github.com/users/graphframes/orgs","repos_url":"https://api.github.com/users/graphframes/repos","events_url":"https://api.github.com/users/graphframes/events{/privacy}","received_events_url":"https://api.github.com/users/graphframes/received_events","type":"Organization","site_admin":false},"repo":{"id":50067430,"name":"graphframes","full_name":"graphframes/graphframes","owner":{"login":"graphframes","id":16808115,"avatar_url":"https://avatars.githubusercontent.com/u/16808115?v=3","gravatar_id":"","url":"https://api.github.com/users/graphframes","html_url":"https://github.com/graphframes","followers_url":"https://api.github.com/users/graphframes/followers","following_url":"https://api.github.com/users/graphframes/following{/other_user}","gists_url":"https://api.github.com/users/graphframes/gists{/gist_id}","starred_url":"https://api.github.com/users/graphframes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graphframes/subscriptions","organizations_url":"https://api.github.com/users/graphframes/orgs","repos_url":"https://api.github.com/users/graphframes/repos","events_url":"https://api.github.com/users/graphframes/events{/privacy}","received_events_url":"https://api.github.com/users/graphframes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/graphframes/graphframes","description":null,"fork":false,"url":"https://api.github.com/repos/graphframes/graphframes","forks_url":"https://api.github.com/repos/graphframes/graphframes/forks","keys_url":"https://api.github.com/repos/graphframes/graphframes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/graphframes/graphframes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/graphframes/graphframes/teams","hooks_url":"https://api.github.com/repos/graphframes/graphframes/hooks","issue_events_url":"https://api.github.com/repos/graphframes/graphframes/issues/events{/number}","events_url":"https://api.github.com/repos/graphframes/graphframes/events","assignees_url":"https://api.github.com/repos/graphframes/graphframes/assignees{/user}","branches_url":"https://api.github.com/repos/graphframes/graphframes/branches{/branch}","tags_url":"https://api.github.com/repos/graphframes/graphframes/tags","blobs_url":"https://api.github.com/repos/graphframes/graphframes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/graphframes/graphframes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/graphframes/graphframes/git/refs{/sha}","trees_url":"https://api.github.com/repos/graphframes/graphframes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/graphframes/graphframes/statuses/{sha}","languages_url":"https://api.github.com/repos/graphframes/graphframes/languages","stargazers_url":"https://api.github.com/repos/graphframes/graphframes/stargazers","contributors_url":"https://api.github.com/repos/graphframes/graphframes/contributors","subscribers_url":"https://api.github.com/repos/graphframes/graphframes/subscribers","subscription_url":"https://api.github.com/repos/graphframes/graphframes/subscription","commits_url":"https://api.github.com/repos/graphframes/graphframes/commits{/sha}","git_commits_url":"https://api.github.com/repos/graphframes/graphframes/git/commits{/sha}","comments_url":"https://api.github.com/repos/graphframes/graphframes/comments{/number}","issue_comment_url":"https://api.github.com/repos/graphframes/graphframes/issues/comments{/number}","contents_url":"https://api.github.com/repos/graphframes/graphframes/contents/{+path}","compare_url":"https://api.github.com/repos/graphframes/graphframes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/graphframes/graphframes/merges","archive_url":"https://api.github.com/repos/graphframes/graphframes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/graphframes/graphframes/downloads","issues_url":"https://api.github.com/repos/graphframes/graphframes/issues{/number}","pulls_url":"https://api.github.com/repos/graphframes/graphframes/pulls{/number}","milestones_url":"https://api.github.com/repos/graphframes/graphframes/milestones{/number}","notifications_url":"https://api.github.com/repos/graphframes/graphframes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/graphframes/graphframes/labels{/name}","releases_url":"https://api.github.com/repos/graphframes/graphframes/releases{/id}","deployments_url":"https://api.github.com/repos/graphframes/graphframes/deployments","created_at":"2016-01-20T23:17:56Z","updated_at":"2017-02-03T19:08:55Z","pushed_at":"2017-02-14T18:24:55Z","git_url":"git://github.com/graphframes/graphframes.git","ssh_url":"git@github.com:graphframes/graphframes.git","clone_url":"https://github.com/graphframes/graphframes.git","svn_url":"https://github.com/graphframes/graphframes","homepage":"http://graphframes.github.io/","size":712,"stargazers_count":204,"watchers_count":204,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":70,"mirror_url":null,"open_issues_count":42,"forks":70,"open_issues":42,"watchers":204,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/graphframes/graphframes/pulls/169"},"html":{"href":"https://github.com/graphframes/graphframes/pull/169"},"issue":{"href":"https://api.github.com/repos/graphframes/graphframes/issues/169"},"comments":{"href":"https://api.github.com/repos/graphframes/graphframes/issues/169/comments"},"review_comments":{"href":"https://api.github.com/repos/graphframes/graphframes/pulls/169/comments"},"review_comment":{"href":"https://api.github.com/repos/graphframes/graphframes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/graphframes/graphframes/pulls/169/commits"},"statuses":{"href":"https://api.github.com/repos/graphframes/graphframes/statuses/be48d75b4611127396faf1e74f0251fdd91dccb9"}}}}
{"actor":{"display_login":"felixcheung"}}