{"action":"created","comment":{"url":"https://api.github.com/repos/prestodb/presto/pulls/comments/80165558","id":80165558,"diff_hunk":"@@ -148,16 +163,31 @@ private boolean predicateIsTrue(MethodsGroup methodsGroup, SpecializeContext con\n         return methodsGroup.getExtraParametersFunction().map(function -> function.apply(context)).orElse(emptyList());\n     }\n \n+    private int getNullFlagsCount()\n+    {\n+        int count = 0;\n+        for (Boolean flag : nullFlags) {","path":"presto-main/src/main/java/com/facebook/presto/metadata/PolymorphicScalarFunction.java","position":65,"original_position":65,"commit_id":"84d763f2949da4fc516b72d2b709b7f3ef867999","original_commit_id":"84d763f2949da4fc516b72d2b709b7f3ef867999","user":{"login":"haozhun","id":2020503,"avatar_url":"https://avatars.githubusercontent.com/u/2020503?v=3","gravatar_id":"","url":"https://api.github.com/users/haozhun","html_url":"https://github.com/haozhun","followers_url":"https://api.github.com/users/haozhun/followers","following_url":"https://api.github.com/users/haozhun/following{/other_user}","gists_url":"https://api.github.com/users/haozhun/gists{/gist_id}","starred_url":"https://api.github.com/users/haozhun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haozhun/subscriptions","organizations_url":"https://api.github.com/users/haozhun/orgs","repos_url":"https://api.github.com/users/haozhun/repos","events_url":"https://api.github.com/users/haozhun/events{/privacy}","received_events_url":"https://api.github.com/users/haozhun/received_events","type":"User","site_admin":false},"body":"boolean","created_at":"2016-09-23T00:51:22Z","updated_at":"2016-09-23T00:59:01Z","html_url":"https://github.com/prestodb/presto/pull/6091#discussion_r80165558","pull_request_url":"https://api.github.com/repos/prestodb/presto/pulls/6091","_links":{"self":{"href":"https://api.github.com/repos/prestodb/presto/pulls/comments/80165558"},"html":{"href":"https://github.com/prestodb/presto/pull/6091#discussion_r80165558"},"pull_request":{"href":"https://api.github.com/repos/prestodb/presto/pulls/6091"}}},"pull_request":{"url":"https://api.github.com/repos/prestodb/presto/pulls/6091","id":84776001,"html_url":"https://github.com/prestodb/presto/pull/6091","diff_url":"https://github.com/prestodb/presto/pull/6091.diff","patch_url":"https://github.com/prestodb/presto/pull/6091.patch","issue_url":"https://api.github.com/repos/prestodb/presto/issues/6091","number":6091,"state":"open","locked":false,"title":"IS_DISTINCT_FROM operator.","user":{"login":"idemura","id":2356456,"avatar_url":"https://avatars.githubusercontent.com/u/2356456?v=3","gravatar_id":"","url":"https://api.github.com/users/idemura","html_url":"https://github.com/idemura","followers_url":"https://api.github.com/users/idemura/followers","following_url":"https://api.github.com/users/idemura/following{/other_user}","gists_url":"https://api.github.com/users/idemura/gists{/gist_id}","starred_url":"https://api.github.com/users/idemura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idemura/subscriptions","organizations_url":"https://api.github.com/users/idemura/orgs","repos_url":"https://api.github.com/users/idemura/repos","events_url":"https://api.github.com/users/idemura/events{/privacy}","received_events_url":"https://api.github.com/users/idemura/received_events","type":"User","site_admin":false},"body":"Fixes #5969 ","created_at":"2016-09-11T03:51:10Z","updated_at":"2016-09-23T00:59:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b1d4b79285b0a888e0ed6c34f15a093e0a84c077","assignee":{"login":"haozhun","id":2020503,"avatar_url":"https://avatars.githubusercontent.com/u/2020503?v=3","gravatar_id":"","url":"https://api.github.com/users/haozhun","html_url":"https://github.com/haozhun","followers_url":"https://api.github.com/users/haozhun/followers","following_url":"https://api.github.com/users/haozhun/following{/other_user}","gists_url":"https://api.github.com/users/haozhun/gists{/gist_id}","starred_url":"https://api.github.com/users/haozhun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haozhun/subscriptions","organizations_url":"https://api.github.com/users/haozhun/orgs","repos_url":"https://api.github.com/users/haozhun/repos","events_url":"https://api.github.com/users/haozhun/events{/privacy}","received_events_url":"https://api.github.com/users/haozhun/received_events","type":"User","site_admin":false},"assignees":[{"login":"haozhun","id":2020503,"avatar_url":"https://avatars.githubusercontent.com/u/2020503?v=3","gravatar_id":"","url":"https://api.github.com/users/haozhun","html_url":"https://github.com/haozhun","followers_url":"https://api.github.com/users/haozhun/followers","following_url":"https://api.github.com/users/haozhun/following{/other_user}","gists_url":"https://api.github.com/users/haozhun/gists{/gist_id}","starred_url":"https://api.github.com/users/haozhun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haozhun/subscriptions","organizations_url":"https://api.github.com/users/haozhun/orgs","repos_url":"https://api.github.com/users/haozhun/repos","events_url":"https://api.github.com/users/haozhun/events{/privacy}","received_events_url":"https://api.github.com/users/haozhun/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/prestodb/presto/pulls/6091/commits","review_comments_url":"https://api.github.com/repos/prestodb/presto/pulls/6091/comments","review_comment_url":"https://api.github.com/repos/prestodb/presto/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prestodb/presto/issues/6091/comments","statuses_url":"https://api.github.com/repos/prestodb/presto/statuses/84d763f2949da4fc516b72d2b709b7f3ef867999","head":{"label":"idemura:distinct","ref":"distinct","sha":"84d763f2949da4fc516b72d2b709b7f3ef867999","user":{"login":"idemura","id":2356456,"avatar_url":"https://avatars.githubusercontent.com/u/2356456?v=3","gravatar_id":"","url":"https://api.github.com/users/idemura","html_url":"https://github.com/idemura","followers_url":"https://api.github.com/users/idemura/followers","following_url":"https://api.github.com/users/idemura/following{/other_user}","gists_url":"https://api.github.com/users/idemura/gists{/gist_id}","starred_url":"https://api.github.com/users/idemura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idemura/subscriptions","organizations_url":"https://api.github.com/users/idemura/orgs","repos_url":"https://api.github.com/users/idemura/repos","events_url":"https://api.github.com/users/idemura/events{/privacy}","received_events_url":"https://api.github.com/users/idemura/received_events","type":"User","site_admin":false},"repo":{"id":66978007,"name":"presto","full_name":"idemura/presto","owner":{"login":"idemura","id":2356456,"avatar_url":"https://avatars.githubusercontent.com/u/2356456?v=3","gravatar_id":"","url":"https://api.github.com/users/idemura","html_url":"https://github.com/idemura","followers_url":"https://api.github.com/users/idemura/followers","following_url":"https://api.github.com/users/idemura/following{/other_user}","gists_url":"https://api.github.com/users/idemura/gists{/gist_id}","starred_url":"https://api.github.com/users/idemura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idemura/subscriptions","organizations_url":"https://api.github.com/users/idemura/orgs","repos_url":"https://api.github.com/users/idemura/repos","events_url":"https://api.github.com/users/idemura/events{/privacy}","received_events_url":"https://api.github.com/users/idemura/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/idemura/presto","description":"Distributed SQL query engine for big data","fork":true,"url":"https://api.github.com/repos/idemura/presto","forks_url":"https://api.github.com/repos/idemura/presto/forks","keys_url":"https://api.github.com/repos/idemura/presto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/idemura/presto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/idemura/presto/teams","hooks_url":"https://api.github.com/repos/idemura/presto/hooks","issue_events_url":"https://api.github.com/repos/idemura/presto/issues/events{/number}","events_url":"https://api.github.com/repos/idemura/presto/events","assignees_url":"https://api.github.com/repos/idemura/presto/assignees{/user}","branches_url":"https://api.github.com/repos/idemura/presto/branches{/branch}","tags_url":"https://api.github.com/repos/idemura/presto/tags","blobs_url":"https://api.github.com/repos/idemura/presto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/idemura/presto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/idemura/presto/git/refs{/sha}","trees_url":"https://api.github.com/repos/idemura/presto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/idemura/presto/statuses/{sha}","languages_url":"https://api.github.com/repos/idemura/presto/languages","stargazers_url":"https://api.github.com/repos/idemura/presto/stargazers","contributors_url":"https://api.github.com/repos/idemura/presto/contributors","subscribers_url":"https://api.github.com/repos/idemura/presto/subscribers","subscription_url":"https://api.github.com/repos/idemura/presto/subscription","commits_url":"https://api.github.com/repos/idemura/presto/commits{/sha}","git_commits_url":"https://api.github.com/repos/idemura/presto/git/commits{/sha}","comments_url":"https://api.github.com/repos/idemura/presto/comments{/number}","issue_comment_url":"https://api.github.com/repos/idemura/presto/issues/comments{/number}","contents_url":"https://api.github.com/repos/idemura/presto/contents/{+path}","compare_url":"https://api.github.com/repos/idemura/presto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/idemura/presto/merges","archive_url":"https://api.github.com/repos/idemura/presto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/idemura/presto/downloads","issues_url":"https://api.github.com/repos/idemura/presto/issues{/number}","pulls_url":"https://api.github.com/repos/idemura/presto/pulls{/number}","milestones_url":"https://api.github.com/repos/idemura/presto/milestones{/number}","notifications_url":"https://api.github.com/repos/idemura/presto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/idemura/presto/labels{/name}","releases_url":"https://api.github.com/repos/idemura/presto/releases{/id}","deployments_url":"https://api.github.com/repos/idemura/presto/deployments","created_at":"2016-08-30T21:09:06Z","updated_at":"2016-08-30T21:09:21Z","pushed_at":"2016-09-22T01:24:57Z","git_url":"git://github.com/idemura/presto.git","ssh_url":"git@github.com:idemura/presto.git","clone_url":"https://github.com/idemura/presto.git","svn_url":"https://github.com/idemura/presto","homepage":"https://prestodb.io","size":58693,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"prestodb:master","ref":"master","sha":"17909908e00ed234f825171deae96798b3812cd6","user":{"login":"prestodb","id":6882181,"avatar_url":"https://avatars.githubusercontent.com/u/6882181?v=3","gravatar_id":"","url":"https://api.github.com/users/prestodb","html_url":"https://github.com/prestodb","followers_url":"https://api.github.com/users/prestodb/followers","following_url":"https://api.github.com/users/prestodb/following{/other_user}","gists_url":"https://api.github.com/users/prestodb/gists{/gist_id}","starred_url":"https://api.github.com/users/prestodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prestodb/subscriptions","organizations_url":"https://api.github.com/users/prestodb/orgs","repos_url":"https://api.github.com/users/prestodb/repos","events_url":"https://api.github.com/users/prestodb/events{/privacy}","received_events_url":"https://api.github.com/users/prestodb/received_events","type":"Organization","site_admin":false},"repo":{"id":5349565,"name":"presto","full_name":"prestodb/presto","owner":{"login":"prestodb","id":6882181,"avatar_url":"https://avatars.githubusercontent.com/u/6882181?v=3","gravatar_id":"","url":"https://api.github.com/users/prestodb","html_url":"https://github.com/prestodb","followers_url":"https://api.github.com/users/prestodb/followers","following_url":"https://api.github.com/users/prestodb/following{/other_user}","gists_url":"https://api.github.com/users/prestodb/gists{/gist_id}","starred_url":"https://api.github.com/users/prestodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prestodb/subscriptions","organizations_url":"https://api.github.com/users/prestodb/orgs","repos_url":"https://api.github.com/users/prestodb/repos","events_url":"https://api.github.com/users/prestodb/events{/privacy}","received_events_url":"https://api.github.com/users/prestodb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prestodb/presto","description":"Distributed SQL query engine for big data","fork":false,"url":"https://api.github.com/repos/prestodb/presto","forks_url":"https://api.github.com/repos/prestodb/presto/forks","keys_url":"https://api.github.com/repos/prestodb/presto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prestodb/presto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prestodb/presto/teams","hooks_url":"https://api.github.com/repos/prestodb/presto/hooks","issue_events_url":"https://api.github.com/repos/prestodb/presto/issues/events{/number}","events_url":"https://api.github.com/repos/prestodb/presto/events","assignees_url":"https://api.github.com/repos/prestodb/presto/assignees{/user}","branches_url":"https://api.github.com/repos/prestodb/presto/branches{/branch}","tags_url":"https://api.github.com/repos/prestodb/presto/tags","blobs_url":"https://api.github.com/repos/prestodb/presto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prestodb/presto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prestodb/presto/git/refs{/sha}","trees_url":"https://api.github.com/repos/prestodb/presto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prestodb/presto/statuses/{sha}","languages_url":"https://api.github.com/repos/prestodb/presto/languages","stargazers_url":"https://api.github.com/repos/prestodb/presto/stargazers","contributors_url":"https://api.github.com/repos/prestodb/presto/contributors","subscribers_url":"https://api.github.com/repos/prestodb/presto/subscribers","subscription_url":"https://api.github.com/repos/prestodb/presto/subscription","commits_url":"https://api.github.com/repos/prestodb/presto/commits{/sha}","git_commits_url":"https://api.github.com/repos/prestodb/presto/git/commits{/sha}","comments_url":"https://api.github.com/repos/prestodb/presto/comments{/number}","issue_comment_url":"https://api.github.com/repos/prestodb/presto/issues/comments{/number}","contents_url":"https://api.github.com/repos/prestodb/presto/contents/{+path}","compare_url":"https://api.github.com/repos/prestodb/presto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prestodb/presto/merges","archive_url":"https://api.github.com/repos/prestodb/presto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prestodb/presto/downloads","issues_url":"https://api.github.com/repos/prestodb/presto/issues{/number}","pulls_url":"https://api.github.com/repos/prestodb/presto/pulls{/number}","milestones_url":"https://api.github.com/repos/prestodb/presto/milestones{/number}","notifications_url":"https://api.github.com/repos/prestodb/presto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prestodb/presto/labels{/name}","releases_url":"https://api.github.com/repos/prestodb/presto/releases{/id}","deployments_url":"https://api.github.com/repos/prestodb/presto/deployments","created_at":"2012-08-09T01:03:37Z","updated_at":"2016-09-22T20:47:14Z","pushed_at":"2016-09-23T00:10:17Z","git_url":"git://github.com/prestodb/presto.git","ssh_url":"git@github.com:prestodb/presto.git","clone_url":"https://github.com/prestodb/presto.git","svn_url":"https://github.com/prestodb/presto","homepage":"https://prestodb.io","size":163835,"stargazers_count":5127,"watchers_count":5127,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1573,"mirror_url":null,"open_issues_count":665,"forks":1573,"open_issues":665,"watchers":5127,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prestodb/presto/pulls/6091"},"html":{"href":"https://github.com/prestodb/presto/pull/6091"},"issue":{"href":"https://api.github.com/repos/prestodb/presto/issues/6091"},"comments":{"href":"https://api.github.com/repos/prestodb/presto/issues/6091/comments"},"review_comments":{"href":"https://api.github.com/repos/prestodb/presto/pulls/6091/comments"},"review_comment":{"href":"https://api.github.com/repos/prestodb/presto/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prestodb/presto/pulls/6091/commits"},"statuses":{"href":"https://api.github.com/repos/prestodb/presto/statuses/84d763f2949da4fc516b72d2b709b7f3ef867999"}}}}
{"actor":{"display_login":"haozhun"}}