{"action":"closed","number":322,"pull_request":{"url":"https://api.github.com/repos/mozafari/verdictdb/pulls/322","id":235312779,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1MzEyNzc5","html_url":"https://github.com/mozafari/verdictdb/pull/322","diff_url":"https://github.com/mozafari/verdictdb/pull/322.diff","patch_url":"https://github.com/mozafari/verdictdb/pull/322.patch","issue_url":"https://api.github.com/repos/mozafari/verdictdb/issues/322","number":322,"state":"closed","locked":false,"title":"Fix nullptr exception when aggregate column contains null value","user":{"login":"Beastjoe","id":20832758,"node_id":"MDQ6VXNlcjIwODMyNzU4","avatar_url":"https://avatars3.githubusercontent.com/u/20832758?v=4","gravatar_id":"","url":"https://api.github.com/users/Beastjoe","html_url":"https://github.com/Beastjoe","followers_url":"https://api.github.com/users/Beastjoe/followers","following_url":"https://api.github.com/users/Beastjoe/following{/other_user}","gists_url":"https://api.github.com/users/Beastjoe/gists{/gist_id}","starred_url":"https://api.github.com/users/Beastjoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Beastjoe/subscriptions","organizations_url":"https://api.github.com/users/Beastjoe/orgs","repos_url":"https://api.github.com/users/Beastjoe/repos","events_url":"https://api.github.com/users/Beastjoe/events{/privacy}","received_events_url":"https://api.github.com/users/Beastjoe/received_events","type":"User","site_admin":false},"body":"Related issue #321.\r\n\r\nThe problem is in the execution of selectAsyncAggNode, where H2 jdbc driver will return NULL value if no rows are selected for aggregating. I think adding the check inside QueryResultAccuracyEstimatorFromDifference is enough, since DbmsQueryResult will interpret NULL as 0 automatically.","created_at":"2018-12-03T02:57:52Z","updated_at":"2018-12-05T19:32:47Z","closed_at":"2018-12-05T19:32:46Z","merged_at":"2018-12-05T19:32:46Z","merge_commit_sha":"d3ee4a668205618316c32db48eaa4314b1622d30","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mozafari/verdictdb/pulls/322/commits","review_comments_url":"https://api.github.com/repos/mozafari/verdictdb/pulls/322/comments","review_comment_url":"https://api.github.com/repos/mozafari/verdictdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozafari/verdictdb/issues/322/comments","statuses_url":"https://api.github.com/repos/mozafari/verdictdb/statuses/50a45d974ffeefbfc0cf6bd5feefd3894c9199f0","head":{"label":"mozafari:joezhong-fix-321","ref":"joezhong-fix-321","sha":"50a45d974ffeefbfc0cf6bd5feefd3894c9199f0","user":{"login":"mozafari","id":5734245,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3MzQyNDU=","avatar_url":"https://avatars0.githubusercontent.com/u/5734245?v=4","gravatar_id":"","url":"https://api.github.com/users/mozafari","html_url":"https://github.com/mozafari","followers_url":"https://api.github.com/users/mozafari/followers","following_url":"https://api.github.com/users/mozafari/following{/other_user}","gists_url":"https://api.github.com/users/mozafari/gists{/gist_id}","starred_url":"https://api.github.com/users/mozafari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozafari/subscriptions","organizations_url":"https://api.github.com/users/mozafari/orgs","repos_url":"https://api.github.com/users/mozafari/repos","events_url":"https://api.github.com/users/mozafari/events{/privacy}","received_events_url":"https://api.github.com/users/mozafari/received_events","type":"Organization","site_admin":false},"repo":{"id":26982745,"node_id":"MDEwOlJlcG9zaXRvcnkyNjk4Mjc0NQ==","name":"verdictdb","full_name":"mozafari/verdictdb","private":false,"owner":{"login":"mozafari","id":5734245,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3MzQyNDU=","avatar_url":"https://avatars0.githubusercontent.com/u/5734245?v=4","gravatar_id":"","url":"https://api.github.com/users/mozafari","html_url":"https://github.com/mozafari","followers_url":"https://api.github.com/users/mozafari/followers","following_url":"https://api.github.com/users/mozafari/following{/other_user}","gists_url":"https://api.github.com/users/mozafari/gists{/gist_id}","starred_url":"https://api.github.com/users/mozafari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozafari/subscriptions","organizations_url":"https://api.github.com/users/mozafari/orgs","repos_url":"https://api.github.com/users/mozafari/repos","events_url":"https://api.github.com/users/mozafari/events{/privacy}","received_events_url":"https://api.github.com/users/mozafari/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mozafari/verdictdb","description":"Interactive-Speed Analytics: 200x Faster, 200x Fewer Cluster Resources, Approximate Query Processing","fork":false,"url":"https://api.github.com/repos/mozafari/verdictdb","forks_url":"https://api.github.com/repos/mozafari/verdictdb/forks","keys_url":"https://api.github.com/repos/mozafari/verdictdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozafari/verdictdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozafari/verdictdb/teams","hooks_url":"https://api.github.com/repos/mozafari/verdictdb/hooks","issue_events_url":"https://api.github.com/repos/mozafari/verdictdb/issues/events{/number}","events_url":"https://api.github.com/repos/mozafari/verdictdb/events","assignees_url":"https://api.github.com/repos/mozafari/verdictdb/assignees{/user}","branches_url":"https://api.github.com/repos/mozafari/verdictdb/branches{/branch}","tags_url":"https://api.github.com/repos/mozafari/verdictdb/tags","blobs_url":"https://api.github.com/repos/mozafari/verdictdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozafari/verdictdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozafari/verdictdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozafari/verdictdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozafari/verdictdb/statuses/{sha}","languages_url":"https://api.github.com/repos/mozafari/verdictdb/languages","stargazers_url":"https://api.github.com/repos/mozafari/verdictdb/stargazers","contributors_url":"https://api.github.com/repos/mozafari/verdictdb/contributors","subscribers_url":"https://api.github.com/repos/mozafari/verdictdb/subscribers","subscription_url":"https://api.github.com/repos/mozafari/verdictdb/subscription","commits_url":"https://api.github.com/repos/mozafari/verdictdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozafari/verdictdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozafari/verdictdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozafari/verdictdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozafari/verdictdb/contents/{+path}","compare_url":"https://api.github.com/repos/mozafari/verdictdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozafari/verdictdb/merges","archive_url":"https://api.github.com/repos/mozafari/verdictdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozafari/verdictdb/downloads","issues_url":"https://api.github.com/repos/mozafari/verdictdb/issues{/number}","pulls_url":"https://api.github.com/repos/mozafari/verdictdb/pulls{/number}","milestones_url":"https://api.github.com/repos/mozafari/verdictdb/milestones{/number}","notifications_url":"https://api.github.com/repos/mozafari/verdictdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozafari/verdictdb/labels{/name}","releases_url":"https://api.github.com/repos/mozafari/verdictdb/releases{/id}","deployments_url":"https://api.github.com/repos/mozafari/verdictdb/deployments","created_at":"2014-11-21T23:45:44Z","updated_at":"2018-11-30T15:30:44Z","pushed_at":"2018-12-05T19:32:46Z","git_url":"git://github.com/mozafari/verdictdb.git","ssh_url":"git@github.com:mozafari/verdictdb.git","clone_url":"https://github.com/mozafari/verdictdb.git","svn_url":"https://github.com/mozafari/verdictdb","homepage":"http://verdictdb.org","size":123678,"stargazers_count":133,"watchers_count":133,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":43,"open_issues":19,"watchers":133,"default_branch":"master"}},"base":{"label":"mozafari:master","ref":"master","sha":"f6e366acd7f43c59ae4a19190b23c9b46eb4ac5a","user":{"login":"mozafari","id":5734245,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3MzQyNDU=","avatar_url":"https://avatars0.githubusercontent.com/u/5734245?v=4","gravatar_id":"","url":"https://api.github.com/users/mozafari","html_url":"https://github.com/mozafari","followers_url":"https://api.github.com/users/mozafari/followers","following_url":"https://api.github.com/users/mozafari/following{/other_user}","gists_url":"https://api.github.com/users/mozafari/gists{/gist_id}","starred_url":"https://api.github.com/users/mozafari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozafari/subscriptions","organizations_url":"https://api.github.com/users/mozafari/orgs","repos_url":"https://api.github.com/users/mozafari/repos","events_url":"https://api.github.com/users/mozafari/events{/privacy}","received_events_url":"https://api.github.com/users/mozafari/received_events","type":"Organization","site_admin":false},"repo":{"id":26982745,"node_id":"MDEwOlJlcG9zaXRvcnkyNjk4Mjc0NQ==","name":"verdictdb","full_name":"mozafari/verdictdb","private":false,"owner":{"login":"mozafari","id":5734245,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3MzQyNDU=","avatar_url":"https://avatars0.githubusercontent.com/u/5734245?v=4","gravatar_id":"","url":"https://api.github.com/users/mozafari","html_url":"https://github.com/mozafari","followers_url":"https://api.github.com/users/mozafari/followers","following_url":"https://api.github.com/users/mozafari/following{/other_user}","gists_url":"https://api.github.com/users/mozafari/gists{/gist_id}","starred_url":"https://api.github.com/users/mozafari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozafari/subscriptions","organizations_url":"https://api.github.com/users/mozafari/orgs","repos_url":"https://api.github.com/users/mozafari/repos","events_url":"https://api.github.com/users/mozafari/events{/privacy}","received_events_url":"https://api.github.com/users/mozafari/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mozafari/verdictdb","description":"Interactive-Speed Analytics: 200x Faster, 200x Fewer Cluster Resources, Approximate Query Processing","fork":false,"url":"https://api.github.com/repos/mozafari/verdictdb","forks_url":"https://api.github.com/repos/mozafari/verdictdb/forks","keys_url":"https://api.github.com/repos/mozafari/verdictdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozafari/verdictdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozafari/verdictdb/teams","hooks_url":"https://api.github.com/repos/mozafari/verdictdb/hooks","issue_events_url":"https://api.github.com/repos/mozafari/verdictdb/issues/events{/number}","events_url":"https://api.github.com/repos/mozafari/verdictdb/events","assignees_url":"https://api.github.com/repos/mozafari/verdictdb/assignees{/user}","branches_url":"https://api.github.com/repos/mozafari/verdictdb/branches{/branch}","tags_url":"https://api.github.com/repos/mozafari/verdictdb/tags","blobs_url":"https://api.github.com/repos/mozafari/verdictdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozafari/verdictdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozafari/verdictdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozafari/verdictdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozafari/verdictdb/statuses/{sha}","languages_url":"https://api.github.com/repos/mozafari/verdictdb/languages","stargazers_url":"https://api.github.com/repos/mozafari/verdictdb/stargazers","contributors_url":"https://api.github.com/repos/mozafari/verdictdb/contributors","subscribers_url":"https://api.github.com/repos/mozafari/verdictdb/subscribers","subscription_url":"https://api.github.com/repos/mozafari/verdictdb/subscription","commits_url":"https://api.github.com/repos/mozafari/verdictdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozafari/verdictdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozafari/verdictdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozafari/verdictdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozafari/verdictdb/contents/{+path}","compare_url":"https://api.github.com/repos/mozafari/verdictdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozafari/verdictdb/merges","archive_url":"https://api.github.com/repos/mozafari/verdictdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozafari/verdictdb/downloads","issues_url":"https://api.github.com/repos/mozafari/verdictdb/issues{/number}","pulls_url":"https://api.github.com/repos/mozafari/verdictdb/pulls{/number}","milestones_url":"https://api.github.com/repos/mozafari/verdictdb/milestones{/number}","notifications_url":"https://api.github.com/repos/mozafari/verdictdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozafari/verdictdb/labels{/name}","releases_url":"https://api.github.com/repos/mozafari/verdictdb/releases{/id}","deployments_url":"https://api.github.com/repos/mozafari/verdictdb/deployments","created_at":"2014-11-21T23:45:44Z","updated_at":"2018-11-30T15:30:44Z","pushed_at":"2018-12-05T19:32:46Z","git_url":"git://github.com/mozafari/verdictdb.git","ssh_url":"git@github.com:mozafari/verdictdb.git","clone_url":"https://github.com/mozafari/verdictdb.git","svn_url":"https://github.com/mozafari/verdictdb","homepage":"http://verdictdb.org","size":123678,"stargazers_count":133,"watchers_count":133,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":43,"open_issues":19,"watchers":133,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozafari/verdictdb/pulls/322"},"html":{"href":"https://github.com/mozafari/verdictdb/pull/322"},"issue":{"href":"https://api.github.com/repos/mozafari/verdictdb/issues/322"},"comments":{"href":"https://api.github.com/repos/mozafari/verdictdb/issues/322/comments"},"review_comments":{"href":"https://api.github.com/repos/mozafari/verdictdb/pulls/322/comments"},"review_comment":{"href":"https://api.github.com/repos/mozafari/verdictdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozafari/verdictdb/pulls/322/commits"},"statuses":{"href":"https://api.github.com/repos/mozafari/verdictdb/statuses/50a45d974ffeefbfc0cf6bd5feefd3894c9199f0"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"pyongjoo","id":1316874,"node_id":"MDQ6VXNlcjEzMTY4NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1316874?v=4","gravatar_id":"","url":"https://api.github.com/users/pyongjoo","html_url":"https://github.com/pyongjoo","followers_url":"https://api.github.com/users/pyongjoo/followers","following_url":"https://api.github.com/users/pyongjoo/following{/other_user}","gists_url":"https://api.github.com/users/pyongjoo/gists{/gist_id}","starred_url":"https://api.github.com/users/pyongjoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyongjoo/subscriptions","organizations_url":"https://api.github.com/users/pyongjoo/orgs","repos_url":"https://api.github.com/users/pyongjoo/repos","events_url":"https://api.github.com/users/pyongjoo/events{/privacy}","received_events_url":"https://api.github.com/users/pyongjoo/received_events","type":"User","site_admin":false},"comments":12,"review_comments":2,"maintainer_can_modify":false,"commits":6,"additions":267,"deletions":31,"changed_files":3}}
{"actor":{"display_login":"pyongjoo"}}