{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/7948","labels_url":"https://api.github.com/repos/apache/spark/issues/7948/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/7948/comments","events_url":"https://api.github.com/repos/apache/spark/issues/7948/events","html_url":"https://github.com/apache/spark/pull/7948","id":99077062,"number":7948,"title":"[SPARK-9611] [SQL] Fixes a few corner cases when we spill a UnsafeFixedWidthAggregationMap","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":32,"created_at":"2015-08-04T22:44:41Z","updated_at":"2015-08-05T16:49:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/7948","html_url":"https://github.com/apache/spark/pull/7948","diff_url":"https://github.com/apache/spark/pull/7948.diff","patch_url":"https://github.com/apache/spark/pull/7948.patch"},"body":"This PR has the following three small fixes.\r\n\r\n1. UnsafeKVExternalSorter does not use 0 as the initialSize to create an UnsafeInMemorySorter if its BytesToBytesMap is empty.\r\n2. We will not not spill a InMemorySorter if it is empty.\r\n3. We will not add a SpillReader to a SpillMerger if this SpillReader is empty.\r\n\r\nJIRA: https://issues.apache.org/jira/browse/SPARK-9611"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/128068061","html_url":"https://github.com/apache/spark/pull/7948#issuecomment-128068061","issue_url":"https://api.github.com/repos/apache/spark/issues/7948","id":128068061,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T16:49:51Z","updated_at":"2015-08-05T16:49:51Z","body":"Merged build started."}}