{"action":"closed","number":41,"pull_request":{"url":"https://api.github.com/repos/databricks/spark-sql-perf/pulls/41","id":52475989,"html_url":"https://github.com/databricks/spark-sql-perf/pull/41","diff_url":"https://github.com/databricks/spark-sql-perf/pull/41.diff","patch_url":"https://github.com/databricks/spark-sql-perf/pull/41.patch","issue_url":"https://api.github.com/repos/databricks/spark-sql-perf/issues/41","number":41,"state":"closed","locked":false,"title":"Make ExecutionMode.HashResults handle null value","user":{"login":"yhuai","id":2072857,"avatar_url":"https://avatars.githubusercontent.com/u/2072857?v=3","gravatar_id":"","url":"https://api.github.com/users/yhuai","html_url":"https://github.com/yhuai","followers_url":"https://api.github.com/users/yhuai/followers","following_url":"https://api.github.com/users/yhuai/following{/other_user}","gists_url":"https://api.github.com/users/yhuai/gists{/gist_id}","starred_url":"https://api.github.com/users/yhuai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhuai/subscriptions","organizations_url":"https://api.github.com/users/yhuai/orgs","repos_url":"https://api.github.com/users/yhuai/repos","events_url":"https://api.github.com/users/yhuai/events{/privacy}","received_events_url":"https://api.github.com/users/yhuai/received_events","type":"User","site_admin":false},"body":"In Spark 1.6, if a value is null, `getLong` will throw an exception. Before 1.6, it will return 0. With this PR, we will check if the result is null. If it is null, null will be returned instead of 0.","created_at":"2015-12-03T00:32:06Z","updated_at":"2015-12-08T23:28:54Z","closed_at":"2015-12-08T23:28:54Z","merged_at":null,"merge_commit_sha":"6b7e7a03f77465cc90499e27f2a5779c6b6f247e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/databricks/spark-sql-perf/pulls/41/commits","review_comments_url":"https://api.github.com/repos/databricks/spark-sql-perf/pulls/41/comments","review_comment_url":"https://api.github.com/repos/databricks/spark-sql-perf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/databricks/spark-sql-perf/issues/41/comments","statuses_url":"https://api.github.com/repos/databricks/spark-sql-perf/statuses/d65adb61c2f3f065f5f38e71e4ee756ca6ad4d07","head":{"label":"yhuai:fixSumHash","ref":"fixSumHash","sha":"d65adb61c2f3f065f5f38e71e4ee756ca6ad4d07","user":{"login":"yhuai","id":2072857,"avatar_url":"https://avatars.githubusercontent.com/u/2072857?v=3","gravatar_id":"","url":"https://api.github.com/users/yhuai","html_url":"https://github.com/yhuai","followers_url":"https://api.github.com/users/yhuai/followers","following_url":"https://api.github.com/users/yhuai/following{/other_user}","gists_url":"https://api.github.com/users/yhuai/gists{/gist_id}","starred_url":"https://api.github.com/users/yhuai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhuai/subscriptions","organizations_url":"https://api.github.com/users/yhuai/orgs","repos_url":"https://api.github.com/users/yhuai/repos","events_url":"https://api.github.com/users/yhuai/events{/privacy}","received_events_url":"https://api.github.com/users/yhuai/received_events","type":"User","site_admin":false},"repo":{"id":35235005,"name":"spark-sql-perf","full_name":"yhuai/spark-sql-perf","owner":{"login":"yhuai","id":2072857,"avatar_url":"https://avatars.githubusercontent.com/u/2072857?v=3","gravatar_id":"","url":"https://api.github.com/users/yhuai","html_url":"https://github.com/yhuai","followers_url":"https://api.github.com/users/yhuai/followers","following_url":"https://api.github.com/users/yhuai/following{/other_user}","gists_url":"https://api.github.com/users/yhuai/gists{/gist_id}","starred_url":"https://api.github.com/users/yhuai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhuai/subscriptions","organizations_url":"https://api.github.com/users/yhuai/orgs","repos_url":"https://api.github.com/users/yhuai/repos","events_url":"https://api.github.com/users/yhuai/events{/privacy}","received_events_url":"https://api.github.com/users/yhuai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yhuai/spark-sql-perf","description":"","fork":true,"url":"https://api.github.com/repos/yhuai/spark-sql-perf","forks_url":"https://api.github.com/repos/yhuai/spark-sql-perf/forks","keys_url":"https://api.github.com/repos/yhuai/spark-sql-perf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yhuai/spark-sql-perf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yhuai/spark-sql-perf/teams","hooks_url":"https://api.github.com/repos/yhuai/spark-sql-perf/hooks","issue_events_url":"https://api.github.com/repos/yhuai/spark-sql-perf/issues/events{/number}","events_url":"https://api.github.com/repos/yhuai/spark-sql-perf/events","assignees_url":"https://api.github.com/repos/yhuai/spark-sql-perf/assignees{/user}","branches_url":"https://api.github.com/repos/yhuai/spark-sql-perf/branches{/branch}","tags_url":"https://api.github.com/repos/yhuai/spark-sql-perf/tags","blobs_url":"https://api.github.com/repos/yhuai/spark-sql-perf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yhuai/spark-sql-perf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yhuai/spark-sql-perf/git/refs{/sha}","trees_url":"https://api.github.com/repos/yhuai/spark-sql-perf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yhuai/spark-sql-perf/statuses/{sha}","languages_url":"https://api.github.com/repos/yhuai/spark-sql-perf/languages","stargazers_url":"https://api.github.com/repos/yhuai/spark-sql-perf/stargazers","contributors_url":"https://api.github.com/repos/yhuai/spark-sql-perf/contributors","subscribers_url":"https://api.github.com/repos/yhuai/spark-sql-perf/subscribers","subscription_url":"https://api.github.com/repos/yhuai/spark-sql-perf/subscription","commits_url":"https://api.github.com/repos/yhuai/spark-sql-perf/commits{/sha}","git_commits_url":"https://api.github.com/repos/yhuai/spark-sql-perf/git/commits{/sha}","comments_url":"https://api.github.com/repos/yhuai/spark-sql-perf/comments{/number}","issue_comment_url":"https://api.github.com/repos/yhuai/spark-sql-perf/issues/comments{/number}","contents_url":"https://api.github.com/repos/yhuai/spark-sql-perf/contents/{+path}","compare_url":"https://api.github.com/repos/yhuai/spark-sql-perf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yhuai/spark-sql-perf/merges","archive_url":"https://api.github.com/repos/yhuai/spark-sql-perf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yhuai/spark-sql-perf/downloads","issues_url":"https://api.github.com/repos/yhuai/spark-sql-perf/issues{/number}","pulls_url":"https://api.github.com/repos/yhuai/spark-sql-perf/pulls{/number}","milestones_url":"https://api.github.com/repos/yhuai/spark-sql-perf/milestones{/number}","notifications_url":"https://api.github.com/repos/yhuai/spark-sql-perf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yhuai/spark-sql-perf/labels{/name}","releases_url":"https://api.github.com/repos/yhuai/spark-sql-perf/releases{/id}","created_at":"2015-05-07T17:57:12Z","updated_at":"2015-05-07T17:57:12Z","pushed_at":"2015-12-08T22:19:32Z","git_url":"git://github.com/yhuai/spark-sql-perf.git","ssh_url":"git@github.com:yhuai/spark-sql-perf.git","clone_url":"https://github.com/yhuai/spark-sql-perf.git","svn_url":"https://github.com/yhuai/spark-sql-perf","homepage":null,"size":174,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"databricks:master","ref":"master","sha":"43c2f23bb99c6ef85fc6e3ae6349a6e2349c24e8","user":{"login":"databricks","id":4998052,"avatar_url":"https://avatars.githubusercontent.com/u/4998052?v=3","gravatar_id":"","url":"https://api.github.com/users/databricks","html_url":"https://github.com/databricks","followers_url":"https://api.github.com/users/databricks/followers","following_url":"https://api.github.com/users/databricks/following{/other_user}","gists_url":"https://api.github.com/users/databricks/gists{/gist_id}","starred_url":"https://api.github.com/users/databricks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/databricks/subscriptions","organizations_url":"https://api.github.com/users/databricks/orgs","repos_url":"https://api.github.com/users/databricks/repos","events_url":"https://api.github.com/users/databricks/events{/privacy}","received_events_url":"https://api.github.com/users/databricks/received_events","type":"Organization","site_admin":false},"repo":{"id":34020308,"name":"spark-sql-perf","full_name":"databricks/spark-sql-perf","owner":{"login":"databricks","id":4998052,"avatar_url":"https://avatars.githubusercontent.com/u/4998052?v=3","gravatar_id":"","url":"https://api.github.com/users/databricks","html_url":"https://github.com/databricks","followers_url":"https://api.github.com/users/databricks/followers","following_url":"https://api.github.com/users/databricks/following{/other_user}","gists_url":"https://api.github.com/users/databricks/gists{/gist_id}","starred_url":"https://api.github.com/users/databricks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/databricks/subscriptions","organizations_url":"https://api.github.com/users/databricks/orgs","repos_url":"https://api.github.com/users/databricks/repos","events_url":"https://api.github.com/users/databricks/events{/privacy}","received_events_url":"https://api.github.com/users/databricks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/databricks/spark-sql-perf","description":"","fork":false,"url":"https://api.github.com/repos/databricks/spark-sql-perf","forks_url":"https://api.github.com/repos/databricks/spark-sql-perf/forks","keys_url":"https://api.github.com/repos/databricks/spark-sql-perf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/databricks/spark-sql-perf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/databricks/spark-sql-perf/teams","hooks_url":"https://api.github.com/repos/databricks/spark-sql-perf/hooks","issue_events_url":"https://api.github.com/repos/databricks/spark-sql-perf/issues/events{/number}","events_url":"https://api.github.com/repos/databricks/spark-sql-perf/events","assignees_url":"https://api.github.com/repos/databricks/spark-sql-perf/assignees{/user}","branches_url":"https://api.github.com/repos/databricks/spark-sql-perf/branches{/branch}","tags_url":"https://api.github.com/repos/databricks/spark-sql-perf/tags","blobs_url":"https://api.github.com/repos/databricks/spark-sql-perf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/databricks/spark-sql-perf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/databricks/spark-sql-perf/git/refs{/sha}","trees_url":"https://api.github.com/repos/databricks/spark-sql-perf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/databricks/spark-sql-perf/statuses/{sha}","languages_url":"https://api.github.com/repos/databricks/spark-sql-perf/languages","stargazers_url":"https://api.github.com/repos/databricks/spark-sql-perf/stargazers","contributors_url":"https://api.github.com/repos/databricks/spark-sql-perf/contributors","subscribers_url":"https://api.github.com/repos/databricks/spark-sql-perf/subscribers","subscription_url":"https://api.github.com/repos/databricks/spark-sql-perf/subscription","commits_url":"https://api.github.com/repos/databricks/spark-sql-perf/commits{/sha}","git_commits_url":"https://api.github.com/repos/databricks/spark-sql-perf/git/commits{/sha}","comments_url":"https://api.github.com/repos/databricks/spark-sql-perf/comments{/number}","issue_comment_url":"https://api.github.com/repos/databricks/spark-sql-perf/issues/comments{/number}","contents_url":"https://api.github.com/repos/databricks/spark-sql-perf/contents/{+path}","compare_url":"https://api.github.com/repos/databricks/spark-sql-perf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/databricks/spark-sql-perf/merges","archive_url":"https://api.github.com/repos/databricks/spark-sql-perf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/databricks/spark-sql-perf/downloads","issues_url":"https://api.github.com/repos/databricks/spark-sql-perf/issues{/number}","pulls_url":"https://api.github.com/repos/databricks/spark-sql-perf/pulls{/number}","milestones_url":"https://api.github.com/repos/databricks/spark-sql-perf/milestones{/number}","notifications_url":"https://api.github.com/repos/databricks/spark-sql-perf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/databricks/spark-sql-perf/labels{/name}","releases_url":"https://api.github.com/repos/databricks/spark-sql-perf/releases{/id}","created_at":"2015-04-15T21:45:41Z","updated_at":"2015-12-08T06:45:08Z","pushed_at":"2015-12-08T23:28:54Z","git_url":"git://github.com/databricks/spark-sql-perf.git","ssh_url":"git@github.com:databricks/spark-sql-perf.git","clone_url":"https://github.com/databricks/spark-sql-perf.git","svn_url":"https://github.com/databricks/spark-sql-perf","homepage":null,"size":224,"stargazers_count":31,"watchers_count":31,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":8,"forks":33,"open_issues":8,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/databricks/spark-sql-perf/pulls/41"},"html":{"href":"https://github.com/databricks/spark-sql-perf/pull/41"},"issue":{"href":"https://api.github.com/repos/databricks/spark-sql-perf/issues/41"},"comments":{"href":"https://api.github.com/repos/databricks/spark-sql-perf/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/databricks/spark-sql-perf/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/databricks/spark-sql-perf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/databricks/spark-sql-perf/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/databricks/spark-sql-perf/statuses/d65adb61c2f3f065f5f38e71e4ee756ca6ad4d07"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":1,"review_comments":2,"commits":4,"additions":2,"deletions":3,"changed_files":1}}