{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/20850","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/20850/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/20850/comments","events_url":"https://api.github.com/repos/apache/spark/issues/20850/events","html_url":"https://github.com/apache/spark/pull/20850","id":306187104,"number":20850,"title":"[SPARK-23713][SQL] Cleanup UnsafeWriter and BufferHolder classes","user":{"login":"kiszk","id":1315079,"avatar_url":"https://avatars2.githubusercontent.com/u/1315079?v=4","gravatar_id":"","url":"https://api.github.com/users/kiszk","html_url":"https://github.com/kiszk","followers_url":"https://api.github.com/users/kiszk/followers","following_url":"https://api.github.com/users/kiszk/following{/other_user}","gists_url":"https://api.github.com/users/kiszk/gists{/gist_id}","starred_url":"https://api.github.com/users/kiszk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiszk/subscriptions","organizations_url":"https://api.github.com/users/kiszk/orgs","repos_url":"https://api.github.com/users/kiszk/repos","events_url":"https://api.github.com/users/kiszk/events{/privacy}","received_events_url":"https://api.github.com/users/kiszk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-03-17T20:16:53Z","updated_at":"2018-03-18T07:02:36Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/20850","html_url":"https://github.com/apache/spark/pull/20850","diff_url":"https://github.com/apache/spark/pull/20850.diff","patch_url":"https://github.com/apache/spark/pull/20850.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nThis PR implemented the following cleanups related to  `UnsafeWriter` class:\r\n- Remove code duplication between `UnsafeRowWriter` and `UnsafeArrayWriter`\r\n- Make `BufferHolder` class internal by delegating its accessor methods to `UnsafeWriter`\r\n- Replace `UnsafeRow.setTotalSize(...)` with `UnsafeRowWriter.setTotalSize()`\r\n\r\n## How was this patch tested?\r\n\r\nTested by existing UTs"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/373977221","html_url":"https://github.com/apache/spark/pull/20850#issuecomment-373977221","issue_url":"https://api.github.com/repos/apache/spark/issues/20850","id":373977221,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars3.githubusercontent.com/u/4031291?v=4","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":"2018-03-18T07:02:36Z","updated_at":"2018-03-18T07:02:36Z","author_association":"NONE","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1585/\nTest PASSed."}}
{"actor":{"display_login":"AmplabJenkins"}}