{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/12836","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/12836/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/12836/comments","events_url":"https://api.github.com/repos/apache/spark/issues/12836/events","html_url":"https://github.com/apache/spark/pull/12836","id":152490321,"number":12836,"title":"[SPARK-12922][SparkR][WIP] Implement gapply() on DataFrame in SparkR","user":{"login":"NarineK","id":12010601,"avatar_url":"https://avatars.githubusercontent.com/u/12010601?v=3","gravatar_id":"","url":"https://api.github.com/users/NarineK","html_url":"https://github.com/NarineK","followers_url":"https://api.github.com/users/NarineK/followers","following_url":"https://api.github.com/users/NarineK/following{/other_user}","gists_url":"https://api.github.com/users/NarineK/gists{/gist_id}","starred_url":"https://api.github.com/users/NarineK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NarineK/subscriptions","organizations_url":"https://api.github.com/users/NarineK/orgs","repos_url":"https://api.github.com/users/NarineK/repos","events_url":"https://api.github.com/users/NarineK/events{/privacy}","received_events_url":"https://api.github.com/users/NarineK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":82,"created_at":"2016-05-02T06:38:32Z","updated_at":"2016-05-29T21:42:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/12836","html_url":"https://github.com/apache/spark/pull/12836","diff_url":"https://github.com/apache/spark/pull/12836.diff","patch_url":"https://github.com/apache/spark/pull/12836.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\ngapply() applies an R function on groups grouped by one or more columns of a DataFrame, and returns a DataFrame. It is like GroupedDataSet.flatMapGroups() in the Dataset API.\r\n\r\nDue to current limitations on data frames, I’ve implemented and tested gapply for one column. It can be extended to multiple columns later.\r\nPlease, let me know what do you think and if you have any ideas to improve it.\r\n\r\nThank you!\r\n\r\n## How was this patch tested?\r\nUnit tests.\r\n1. Primitive test with different column types\r\n2. Add a boolean column\r\n3. Compute average by a group"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/222384541","html_url":"https://github.com/apache/spark/pull/12836#issuecomment-222384541","issue_url":"https://api.github.com/repos/apache/spark/issues/12836","id":222384541,"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":"2016-05-29T21:42:33Z","updated_at":"2016-05-29T21:42:33Z","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/59598/\nTest PASSed."}}
{"actor":{"display_login":"AmplabJenkins"}}