{"action":"closed","number":6527,"pull_request":{"url":"https://api.github.com/repos/apache/flink/pulls/6527","id":207231666,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3MjMxNjY2","html_url":"https://github.com/apache/flink/pull/6527","diff_url":"https://github.com/apache/flink/pull/6527.diff","patch_url":"https://github.com/apache/flink/pull/6527.patch","issue_url":"https://api.github.com/repos/apache/flink/issues/6527","number":6527,"state":"closed","locked":false,"title":"[hotfix] [docs] Fix ProcessWindowFunction code snippets.","user":{"login":"fhueske","id":2388347,"node_id":"MDQ6VXNlcjIzODgzNDc=","avatar_url":"https://avatars3.githubusercontent.com/u/2388347?v=4","gravatar_id":"","url":"https://api.github.com/users/fhueske","html_url":"https://github.com/fhueske","followers_url":"https://api.github.com/users/fhueske/followers","following_url":"https://api.github.com/users/fhueske/following{/other_user}","gists_url":"https://api.github.com/users/fhueske/gists{/gist_id}","starred_url":"https://api.github.com/users/fhueske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fhueske/subscriptions","organizations_url":"https://api.github.com/users/fhueske/orgs","repos_url":"https://api.github.com/users/fhueske/repos","events_url":"https://api.github.com/users/fhueske/events{/privacy}","received_events_url":"https://api.github.com/users/fhueske/received_events","type":"User","site_admin":false},"body":"## What is the purpose of the change\r\n\r\n- Fix the code snippets for the `ProcessWindowFunction` in the documentation\r\n\r\n## Brief change log\r\n\r\nProblems with the examples:\r\n\r\n- Java: Tuple does not take generic parameters (`Tuple<String, Long>`)\r\n- Java: `process()` method must be `public`\r\n- `MyProcessWindowFunction` expects `String` key, but no key extractor is used\r\n- `MyProcessWindowFunction` expects `TimeWindow`, but window assigner is not defined\r\n\r\n## Verifying this change\r\n\r\ncopy and paste code in an IDE.\r\n\r\n## Does this pull request potentially affect one of the following parts:\r\n\r\nNo\r\n\r\n## Documentation\r\n\r\nFix for the docs","created_at":"2018-08-09T08:01:36Z","updated_at":"2018-08-10T14:03:36Z","closed_at":"2018-08-10T14:03:36Z","merged_at":null,"merge_commit_sha":"323abd74af5287ed012fd31b41000b9f6e3a9de6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/flink/pulls/6527/commits","review_comments_url":"https://api.github.com/repos/apache/flink/pulls/6527/comments","review_comment_url":"https://api.github.com/repos/apache/flink/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/flink/issues/6527/comments","statuses_url":"https://api.github.com/repos/apache/flink/statuses/04703a1a6533a6b4e8cefbd027c50bb310be4ea1","head":{"label":"fhueske:docs-processWindowFunction","ref":"docs-processWindowFunction","sha":"04703a1a6533a6b4e8cefbd027c50bb310be4ea1","user":{"login":"fhueske","id":2388347,"node_id":"MDQ6VXNlcjIzODgzNDc=","avatar_url":"https://avatars3.githubusercontent.com/u/2388347?v=4","gravatar_id":"","url":"https://api.github.com/users/fhueske","html_url":"https://github.com/fhueske","followers_url":"https://api.github.com/users/fhueske/followers","following_url":"https://api.github.com/users/fhueske/following{/other_user}","gists_url":"https://api.github.com/users/fhueske/gists{/gist_id}","starred_url":"https://api.github.com/users/fhueske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fhueske/subscriptions","organizations_url":"https://api.github.com/users/fhueske/orgs","repos_url":"https://api.github.com/users/fhueske/repos","events_url":"https://api.github.com/users/fhueske/events{/privacy}","received_events_url":"https://api.github.com/users/fhueske/received_events","type":"User","site_admin":false},"repo":{"id":22737163,"node_id":"MDEwOlJlcG9zaXRvcnkyMjczNzE2Mw==","name":"flink","full_name":"fhueske/flink","owner":{"login":"fhueske","id":2388347,"node_id":"MDQ6VXNlcjIzODgzNDc=","avatar_url":"https://avatars3.githubusercontent.com/u/2388347?v=4","gravatar_id":"","url":"https://api.github.com/users/fhueske","html_url":"https://github.com/fhueske","followers_url":"https://api.github.com/users/fhueske/followers","following_url":"https://api.github.com/users/fhueske/following{/other_user}","gists_url":"https://api.github.com/users/fhueske/gists{/gist_id}","starred_url":"https://api.github.com/users/fhueske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fhueske/subscriptions","organizations_url":"https://api.github.com/users/fhueske/orgs","repos_url":"https://api.github.com/users/fhueske/repos","events_url":"https://api.github.com/users/fhueske/events{/privacy}","received_events_url":"https://api.github.com/users/fhueske/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fhueske/flink","description":"Mirror of Apache Flink","fork":true,"url":"https://api.github.com/repos/fhueske/flink","forks_url":"https://api.github.com/repos/fhueske/flink/forks","keys_url":"https://api.github.com/repos/fhueske/flink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fhueske/flink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fhueske/flink/teams","hooks_url":"https://api.github.com/repos/fhueske/flink/hooks","issue_events_url":"https://api.github.com/repos/fhueske/flink/issues/events{/number}","events_url":"https://api.github.com/repos/fhueske/flink/events","assignees_url":"https://api.github.com/repos/fhueske/flink/assignees{/user}","branches_url":"https://api.github.com/repos/fhueske/flink/branches{/branch}","tags_url":"https://api.github.com/repos/fhueske/flink/tags","blobs_url":"https://api.github.com/repos/fhueske/flink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fhueske/flink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fhueske/flink/git/refs{/sha}","trees_url":"https://api.github.com/repos/fhueske/flink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fhueske/flink/statuses/{sha}","languages_url":"https://api.github.com/repos/fhueske/flink/languages","stargazers_url":"https://api.github.com/repos/fhueske/flink/stargazers","contributors_url":"https://api.github.com/repos/fhueske/flink/contributors","subscribers_url":"https://api.github.com/repos/fhueske/flink/subscribers","subscription_url":"https://api.github.com/repos/fhueske/flink/subscription","commits_url":"https://api.github.com/repos/fhueske/flink/commits{/sha}","git_commits_url":"https://api.github.com/repos/fhueske/flink/git/commits{/sha}","comments_url":"https://api.github.com/repos/fhueske/flink/comments{/number}","issue_comment_url":"https://api.github.com/repos/fhueske/flink/issues/comments{/number}","contents_url":"https://api.github.com/repos/fhueske/flink/contents/{+path}","compare_url":"https://api.github.com/repos/fhueske/flink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fhueske/flink/merges","archive_url":"https://api.github.com/repos/fhueske/flink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fhueske/flink/downloads","issues_url":"https://api.github.com/repos/fhueske/flink/issues{/number}","pulls_url":"https://api.github.com/repos/fhueske/flink/pulls{/number}","milestones_url":"https://api.github.com/repos/fhueske/flink/milestones{/number}","notifications_url":"https://api.github.com/repos/fhueske/flink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fhueske/flink/labels{/name}","releases_url":"https://api.github.com/repos/fhueske/flink/releases{/id}","deployments_url":"https://api.github.com/repos/fhueske/flink/deployments","created_at":"2014-08-07T21:30:01Z","updated_at":"2018-06-07T20:00:43Z","pushed_at":"2018-08-10T13:54:07Z","git_url":"git://github.com/fhueske/flink.git","ssh_url":"git@github.com:fhueske/flink.git","clone_url":"https://github.com/fhueske/flink.git","svn_url":"https://github.com/fhueske/flink","homepage":null,"size":157324,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"4607b2e6b6a5d9b3286bc5a0745fa91c9e657876","user":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnkyMDU4NzU5OQ==","name":"flink","full_name":"apache/flink","owner":{"login":"apache","id":47359,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3MzU5","avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","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":"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}","deployments_url":"https://api.github.com/repos/apache/flink/deployments","created_at":"2014-06-07T07:00:10Z","updated_at":"2018-08-10T12:05:06Z","pushed_at":"2018-08-10T14:03:12Z","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":"","size":162513,"stargazers_count":4136,"watchers_count":4136,"language":"Java","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2757,"mirror_url":null,"archived":false,"open_issues_count":379,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2757,"open_issues":379,"watchers":4136,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/flink/pulls/6527"},"html":{"href":"https://github.com/apache/flink/pull/6527"},"issue":{"href":"https://api.github.com/repos/apache/flink/issues/6527"},"comments":{"href":"https://api.github.com/repos/apache/flink/issues/6527/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/flink/pulls/6527/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/flink/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/flink/pulls/6527/commits"},"statuses":{"href":"https://api.github.com/repos/apache/flink/statuses/04703a1a6533a6b4e8cefbd027c50bb310be4ea1"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":11,"deletions":9,"changed_files":1}}
{"actor":{"display_login":"asfgit"}}