{"action":"created","comment":{"url":"https://api.github.com/repos/apache/flink/pulls/comments/34974826","id":34974826,"diff_hunk":"@@ -924,6 +924,183 @@ Not supported.\n \n **Note:** Extending the set of supported aggregation functions is on our roadmap.\n \n+### Distinct\n+\n+The Distinct transformation computes the DataSet of the distinct elements of the source DataSet.\n+The following code removes from the DataSet the duplicate elements:","path":"docs/apis/dataset_transformations.md","position":7,"original_position":7,"commit_id":"942dc1a51e44195ef907ae5c75fba3b3162e8771","original_commit_id":"942dc1a51e44195ef907ae5c75fba3b3162e8771","user":{"login":"mxm","id":837221,"avatar_url":"https://avatars.githubusercontent.com/u/837221?v=3","gravatar_id":"","url":"https://api.github.com/users/mxm","html_url":"https://github.com/mxm","followers_url":"https://api.github.com/users/mxm/followers","following_url":"https://api.github.com/users/mxm/following{/other_user}","gists_url":"https://api.github.com/users/mxm/gists{/gist_id}","starred_url":"https://api.github.com/users/mxm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mxm/subscriptions","organizations_url":"https://api.github.com/users/mxm/orgs","repos_url":"https://api.github.com/users/mxm/repos","events_url":"https://api.github.com/users/mxm/events{/privacy}","received_events_url":"https://api.github.com/users/mxm/received_events","type":"User","site_admin":false},"body":"I'd rephrase this sentence to\r\n> The following code removes duplicate elements from the DataSet:","created_at":"2015-07-20T08:16:56Z","updated_at":"2015-07-20T08:16:56Z","html_url":"https://github.com/apache/flink/pull/922#discussion_r34974826","pull_request_url":"https://api.github.com/repos/apache/flink/pulls/922","_links":{"self":{"href":"https://api.github.com/repos/apache/flink/pulls/comments/34974826"},"html":{"href":"https://github.com/apache/flink/pull/922#discussion_r34974826"},"pull_request":{"href":"https://api.github.com/repos/apache/flink/pulls/922"}}},"pull_request":{"url":"https://api.github.com/repos/apache/flink/pulls/922","id":40316715,"html_url":"https://github.com/apache/flink/pull/922","diff_url":"https://github.com/apache/flink/pull/922.diff","patch_url":"https://github.com/apache/flink/pull/922.patch","issue_url":"https://api.github.com/repos/apache/flink/issues/922","number":922,"state":"open","locked":false,"title":"[FLINK-2362] - distinct is missing in DataSet API documentation","user":{"login":"pp86","id":11685975,"avatar_url":"https://avatars.githubusercontent.com/u/11685975?v=3","gravatar_id":"","url":"https://api.github.com/users/pp86","html_url":"https://github.com/pp86","followers_url":"https://api.github.com/users/pp86/followers","following_url":"https://api.github.com/users/pp86/following{/other_user}","gists_url":"https://api.github.com/users/pp86/gists{/gist_id}","starred_url":"https://api.github.com/users/pp86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pp86/subscriptions","organizations_url":"https://api.github.com/users/pp86/orgs","repos_url":"https://api.github.com/users/pp86/repos","events_url":"https://api.github.com/users/pp86/events{/privacy}","received_events_url":"https://api.github.com/users/pp86/received_events","type":"User","site_admin":false},"body":"add scala and java documentation for the distinct transformation.","created_at":"2015-07-19T22:56:34Z","updated_at":"2015-07-20T08:16:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ae82cc2be101643c7b6ccec9bd8fd60aace862bb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apache/flink/pulls/922/commits","review_comments_url":"https://api.github.com/repos/apache/flink/pulls/922/comments","review_comment_url":"https://api.github.com/repos/apache/flink/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/flink/issues/922/comments","statuses_url":"https://api.github.com/repos/apache/flink/statuses/942dc1a51e44195ef907ae5c75fba3b3162e8771","head":{"label":"pp86:distinctDoc","ref":"distinctDoc","sha":"942dc1a51e44195ef907ae5c75fba3b3162e8771","user":{"login":"pp86","id":11685975,"avatar_url":"https://avatars.githubusercontent.com/u/11685975?v=3","gravatar_id":"","url":"https://api.github.com/users/pp86","html_url":"https://github.com/pp86","followers_url":"https://api.github.com/users/pp86/followers","following_url":"https://api.github.com/users/pp86/following{/other_user}","gists_url":"https://api.github.com/users/pp86/gists{/gist_id}","starred_url":"https://api.github.com/users/pp86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pp86/subscriptions","organizations_url":"https://api.github.com/users/pp86/orgs","repos_url":"https://api.github.com/users/pp86/repos","events_url":"https://api.github.com/users/pp86/events{/privacy}","received_events_url":"https://api.github.com/users/pp86/received_events","type":"User","site_admin":false},"repo":{"id":39350266,"name":"flink","full_name":"pp86/flink","owner":{"login":"pp86","id":11685975,"avatar_url":"https://avatars.githubusercontent.com/u/11685975?v=3","gravatar_id":"","url":"https://api.github.com/users/pp86","html_url":"https://github.com/pp86","followers_url":"https://api.github.com/users/pp86/followers","following_url":"https://api.github.com/users/pp86/following{/other_user}","gists_url":"https://api.github.com/users/pp86/gists{/gist_id}","starred_url":"https://api.github.com/users/pp86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pp86/subscriptions","organizations_url":"https://api.github.com/users/pp86/orgs","repos_url":"https://api.github.com/users/pp86/repos","events_url":"https://api.github.com/users/pp86/events{/privacy}","received_events_url":"https://api.github.com/users/pp86/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pp86/flink","description":"Mirror of Apache Flink","fork":true,"url":"https://api.github.com/repos/pp86/flink","forks_url":"https://api.github.com/repos/pp86/flink/forks","keys_url":"https://api.github.com/repos/pp86/flink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pp86/flink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pp86/flink/teams","hooks_url":"https://api.github.com/repos/pp86/flink/hooks","issue_events_url":"https://api.github.com/repos/pp86/flink/issues/events{/number}","events_url":"https://api.github.com/repos/pp86/flink/events","assignees_url":"https://api.github.com/repos/pp86/flink/assignees{/user}","branches_url":"https://api.github.com/repos/pp86/flink/branches{/branch}","tags_url":"https://api.github.com/repos/pp86/flink/tags","blobs_url":"https://api.github.com/repos/pp86/flink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pp86/flink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pp86/flink/git/refs{/sha}","trees_url":"https://api.github.com/repos/pp86/flink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pp86/flink/statuses/{sha}","languages_url":"https://api.github.com/repos/pp86/flink/languages","stargazers_url":"https://api.github.com/repos/pp86/flink/stargazers","contributors_url":"https://api.github.com/repos/pp86/flink/contributors","subscribers_url":"https://api.github.com/repos/pp86/flink/subscribers","subscription_url":"https://api.github.com/repos/pp86/flink/subscription","commits_url":"https://api.github.com/repos/pp86/flink/commits{/sha}","git_commits_url":"https://api.github.com/repos/pp86/flink/git/commits{/sha}","comments_url":"https://api.github.com/repos/pp86/flink/comments{/number}","issue_comment_url":"https://api.github.com/repos/pp86/flink/issues/comments{/number}","contents_url":"https://api.github.com/repos/pp86/flink/contents/{+path}","compare_url":"https://api.github.com/repos/pp86/flink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pp86/flink/merges","archive_url":"https://api.github.com/repos/pp86/flink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pp86/flink/downloads","issues_url":"https://api.github.com/repos/pp86/flink/issues{/number}","pulls_url":"https://api.github.com/repos/pp86/flink/pulls{/number}","milestones_url":"https://api.github.com/repos/pp86/flink/milestones{/number}","notifications_url":"https://api.github.com/repos/pp86/flink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pp86/flink/labels{/name}","releases_url":"https://api.github.com/repos/pp86/flink/releases{/id}","created_at":"2015-07-19T21:54:48Z","updated_at":"2015-07-19T21:55:00Z","pushed_at":"2015-07-19T22:52:21Z","git_url":"git://github.com/pp86/flink.git","ssh_url":"git@github.com:pp86/flink.git","clone_url":"https://github.com/pp86/flink.git","svn_url":"https://github.com/pp86/flink","homepage":null,"size":2550998,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"apache:master","ref":"master","sha":"2d191ab05fff3392697fbce8dd909003c86d34e1","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":20587599,"name":"flink","full_name":"apache/flink","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/flink","description":"Mirror of Apache Flink","fork":false,"url":"https://api.github.com/repos/apache/flink","forks_url":"https://api.github.com/repos/apache/flink/forks","keys_url":"https://api.github.com/repos/apache/flink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/flink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/flink/teams","hooks_url":"https://api.github.com/repos/apache/flink/hooks","issue_events_url":"https://api.github.com/repos/apache/flink/issues/events{/number}","events_url":"https://api.github.com/repos/apache/flink/events","assignees_url":"https://api.github.com/repos/apache/flink/assignees{/user}","branches_url":"https://api.github.com/repos/apache/flink/branches{/branch}","tags_url":"https://api.github.com/repos/apache/flink/tags","blobs_url":"https://api.github.com/repos/apache/flink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/flink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/flink/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/flink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/flink/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/flink/languages","stargazers_url":"https://api.github.com/repos/apache/flink/stargazers","contributors_url":"https://api.github.com/repos/apache/flink/contributors","subscribers_url":"https://api.github.com/repos/apache/flink/subscribers","subscription_url":"https://api.github.com/repos/apache/flink/subscription","commits_url":"https://api.github.com/repos/apache/flink/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/flink/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/flink/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/flink/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/flink/contents/{+path}","compare_url":"https://api.github.com/repos/apache/flink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/flink/merges","archive_url":"https://api.github.com/repos/apache/flink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/flink/downloads","issues_url":"https://api.github.com/repos/apache/flink/issues{/number}","pulls_url":"https://api.github.com/repos/apache/flink/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/flink/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/flink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/flink/labels{/name}","releases_url":"https://api.github.com/repos/apache/flink/releases{/id}","created_at":"2014-06-07T07:00:10Z","updated_at":"2015-07-20T06:16:25Z","pushed_at":"2015-07-19T23:16:07Z","git_url":"git://github.com/apache/flink.git","ssh_url":"git@github.com:apache/flink.git","clone_url":"https://github.com/apache/flink.git","svn_url":"https://github.com/apache/flink","homepage":null,"size":2550998,"stargazers_count":507,"watchers_count":507,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":334,"mirror_url":"git://git.apache.org/incubator-flink.git","open_issues_count":68,"forks":334,"open_issues":68,"watchers":507,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/flink/pulls/922"},"html":{"href":"https://github.com/apache/flink/pull/922"},"issue":{"href":"https://api.github.com/repos/apache/flink/issues/922"},"comments":{"href":"https://api.github.com/repos/apache/flink/issues/922/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/flink/pulls/922/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/flink/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/flink/pulls/922/commits"},"statuses":{"href":"https://api.github.com/repos/apache/flink/statuses/942dc1a51e44195ef907ae5c75fba3b3162e8771"}}}}