{"action":"closed","number":7076,"pull_request":{"url":"https://api.github.com/repos/apache/flink/pulls/7076","id":229707961,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5NzA3OTYx","html_url":"https://github.com/apache/flink/pull/7076","diff_url":"https://github.com/apache/flink/pull/7076.diff","patch_url":"https://github.com/apache/flink/pull/7076.patch","issue_url":"https://api.github.com/repos/apache/flink/issues/7076","number":7076,"state":"closed","locked":false,"title":"[FLINK-10674] [table] Fix DistinctAccumulator.remove lead to NPE.","user":{"login":"wenhuitang","id":42363767,"node_id":"MDQ6VXNlcjQyMzYzNzY3","avatar_url":"https://avatars3.githubusercontent.com/u/42363767?v=4","gravatar_id":"","url":"https://api.github.com/users/wenhuitang","html_url":"https://github.com/wenhuitang","followers_url":"https://api.github.com/users/wenhuitang/followers","following_url":"https://api.github.com/users/wenhuitang/following{/other_user}","gists_url":"https://api.github.com/users/wenhuitang/gists{/gist_id}","starred_url":"https://api.github.com/users/wenhuitang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenhuitang/subscriptions","organizations_url":"https://api.github.com/users/wenhuitang/orgs","repos_url":"https://api.github.com/users/wenhuitang/repos","events_url":"https://api.github.com/users/wenhuitang/events{/privacy}","received_events_url":"https://api.github.com/users/wenhuitang/received_events","type":"User","site_admin":false},"body":"\r\n## What is the purpose of the change\r\nThis pull request fixes the problem reported by FLINK-10674 DistinctAccumulator.remove lead to NPE.\r\n\r\n\r\n## Brief change log\r\nDistinctAccumulator.remove deals with the situation that there is no corresponding instance of the parameters in the distinct map.\r\n\r\n## Verifying this change\r\n\r\n*(Please pick either of the following options)*\r\n\r\nThis change is a trivial rework / code cleanup without any test coverage.\r\n\r\n## Does this pull request potentially affect one of the following parts:\r\n\r\n  - Dependencies (does it add or upgrade a dependency): (yes / no) no\r\n  - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (yes / no) no\r\n  - The serializers: (yes / no / don't know) no\r\n  - The runtime per-record code paths (performance sensitive): (yes / no / don't know) no\r\n  - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / no / don't know) no\r\n  - The S3 file system connector: (yes / no / don't know) no\r\n\r\n## Documentation\r\n\r\n  - Does this pull request introduce a new feature? (yes / no) \r\n    no\r\n  - If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)\r\n","created_at":"2018-11-09T14:20:23Z","updated_at":"2018-11-13T06:45:11Z","closed_at":"2018-11-13T06:45:11Z","merged_at":null,"merge_commit_sha":"7653f39e9d08a0e03afe4188df0bd8f45cf7f47f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/flink/pulls/7076/commits","review_comments_url":"https://api.github.com/repos/apache/flink/pulls/7076/comments","review_comment_url":"https://api.github.com/repos/apache/flink/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/flink/issues/7076/comments","statuses_url":"https://api.github.com/repos/apache/flink/statuses/bfd7b3a026311d6c88a712399e18584ee2c4a1be","head":{"label":"wenhuitang:FLINK-10674","ref":"FLINK-10674","sha":"bfd7b3a026311d6c88a712399e18584ee2c4a1be","user":{"login":"wenhuitang","id":42363767,"node_id":"MDQ6VXNlcjQyMzYzNzY3","avatar_url":"https://avatars3.githubusercontent.com/u/42363767?v=4","gravatar_id":"","url":"https://api.github.com/users/wenhuitang","html_url":"https://github.com/wenhuitang","followers_url":"https://api.github.com/users/wenhuitang/followers","following_url":"https://api.github.com/users/wenhuitang/following{/other_user}","gists_url":"https://api.github.com/users/wenhuitang/gists{/gist_id}","starred_url":"https://api.github.com/users/wenhuitang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenhuitang/subscriptions","organizations_url":"https://api.github.com/users/wenhuitang/orgs","repos_url":"https://api.github.com/users/wenhuitang/repos","events_url":"https://api.github.com/users/wenhuitang/events{/privacy}","received_events_url":"https://api.github.com/users/wenhuitang/received_events","type":"User","site_admin":false},"repo":{"id":148570785,"node_id":"MDEwOlJlcG9zaXRvcnkxNDg1NzA3ODU=","name":"flink","full_name":"wenhuitang/flink","private":false,"owner":{"login":"wenhuitang","id":42363767,"node_id":"MDQ6VXNlcjQyMzYzNzY3","avatar_url":"https://avatars3.githubusercontent.com/u/42363767?v=4","gravatar_id":"","url":"https://api.github.com/users/wenhuitang","html_url":"https://github.com/wenhuitang","followers_url":"https://api.github.com/users/wenhuitang/followers","following_url":"https://api.github.com/users/wenhuitang/following{/other_user}","gists_url":"https://api.github.com/users/wenhuitang/gists{/gist_id}","starred_url":"https://api.github.com/users/wenhuitang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenhuitang/subscriptions","organizations_url":"https://api.github.com/users/wenhuitang/orgs","repos_url":"https://api.github.com/users/wenhuitang/repos","events_url":"https://api.github.com/users/wenhuitang/events{/privacy}","received_events_url":"https://api.github.com/users/wenhuitang/received_events","type":"User","site_admin":false},"html_url":"https://github.com/wenhuitang/flink","description":"Apache Flink","fork":true,"url":"https://api.github.com/repos/wenhuitang/flink","forks_url":"https://api.github.com/repos/wenhuitang/flink/forks","keys_url":"https://api.github.com/repos/wenhuitang/flink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wenhuitang/flink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wenhuitang/flink/teams","hooks_url":"https://api.github.com/repos/wenhuitang/flink/hooks","issue_events_url":"https://api.github.com/repos/wenhuitang/flink/issues/events{/number}","events_url":"https://api.github.com/repos/wenhuitang/flink/events","assignees_url":"https://api.github.com/repos/wenhuitang/flink/assignees{/user}","branches_url":"https://api.github.com/repos/wenhuitang/flink/branches{/branch}","tags_url":"https://api.github.com/repos/wenhuitang/flink/tags","blobs_url":"https://api.github.com/repos/wenhuitang/flink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wenhuitang/flink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wenhuitang/flink/git/refs{/sha}","trees_url":"https://api.github.com/repos/wenhuitang/flink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wenhuitang/flink/statuses/{sha}","languages_url":"https://api.github.com/repos/wenhuitang/flink/languages","stargazers_url":"https://api.github.com/repos/wenhuitang/flink/stargazers","contributors_url":"https://api.github.com/repos/wenhuitang/flink/contributors","subscribers_url":"https://api.github.com/repos/wenhuitang/flink/subscribers","subscription_url":"https://api.github.com/repos/wenhuitang/flink/subscription","commits_url":"https://api.github.com/repos/wenhuitang/flink/commits{/sha}","git_commits_url":"https://api.github.com/repos/wenhuitang/flink/git/commits{/sha}","comments_url":"https://api.github.com/repos/wenhuitang/flink/comments{/number}","issue_comment_url":"https://api.github.com/repos/wenhuitang/flink/issues/comments{/number}","contents_url":"https://api.github.com/repos/wenhuitang/flink/contents/{+path}","compare_url":"https://api.github.com/repos/wenhuitang/flink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wenhuitang/flink/merges","archive_url":"https://api.github.com/repos/wenhuitang/flink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wenhuitang/flink/downloads","issues_url":"https://api.github.com/repos/wenhuitang/flink/issues{/number}","pulls_url":"https://api.github.com/repos/wenhuitang/flink/pulls{/number}","milestones_url":"https://api.github.com/repos/wenhuitang/flink/milestones{/number}","notifications_url":"https://api.github.com/repos/wenhuitang/flink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wenhuitang/flink/labels{/name}","releases_url":"https://api.github.com/repos/wenhuitang/flink/releases{/id}","deployments_url":"https://api.github.com/repos/wenhuitang/flink/deployments","created_at":"2018-09-13T02:32:52Z","updated_at":"2018-09-13T02:33:22Z","pushed_at":"2018-11-13T05:14:31Z","git_url":"git://github.com/wenhuitang/flink.git","ssh_url":"git@github.com:wenhuitang/flink.git","clone_url":"https://github.com/wenhuitang/flink.git","svn_url":"https://github.com/wenhuitang/flink","homepage":"","size":164486,"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":0,"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":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"dc8e27fb07ec8593037ce0205b5ecb4a5bc16a40","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","private":false,"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},"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-11-13T02:33:03Z","pushed_at":"2018-11-13T05:14:37Z","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":169808,"stargazers_count":4894,"watchers_count":4894,"language":"Java","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3104,"mirror_url":null,"archived":false,"open_issues_count":405,"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":3104,"open_issues":405,"watchers":4894,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/flink/pulls/7076"},"html":{"href":"https://github.com/apache/flink/pull/7076"},"issue":{"href":"https://api.github.com/repos/apache/flink/issues/7076"},"comments":{"href":"https://api.github.com/repos/apache/flink/issues/7076/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/flink/pulls/7076/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/flink/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/flink/pulls/7076/commits"},"statuses":{"href":"https://api.github.com/repos/apache/flink/statuses/bfd7b3a026311d6c88a712399e18584ee2c4a1be"}},"author_association":"NONE","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":10,"deletions":6,"changed_files":42}}
{"actor":{"display_login":"wenhuitang"}}