{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/15816","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/15816/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/15816/comments","events_url":"https://api.github.com/repos/apache/spark/issues/15816/events","html_url":"https://github.com/apache/spark/pull/15816","id":188128144,"number":15816,"title":"SPARK-18368: Fix regexp_replace with task serialization.","user":{"login":"rdblue","id":87915,"avatar_url":"https://avatars.githubusercontent.com/u/87915?v=3","gravatar_id":"","url":"https://api.github.com/users/rdblue","html_url":"https://github.com/rdblue","followers_url":"https://api.github.com/users/rdblue/followers","following_url":"https://api.github.com/users/rdblue/following{/other_user}","gists_url":"https://api.github.com/users/rdblue/gists{/gist_id}","starred_url":"https://api.github.com/users/rdblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdblue/subscriptions","organizations_url":"https://api.github.com/users/rdblue/orgs","repos_url":"https://api.github.com/users/rdblue/repos","events_url":"https://api.github.com/users/rdblue/events{/privacy}","received_events_url":"https://api.github.com/users/rdblue/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-11-08T23:02:54Z","updated_at":"2016-11-09T18:55:08Z","closed_at":"2016-11-09T07:50:04Z","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/15816","html_url":"https://github.com/apache/spark/pull/15816","diff_url":"https://github.com/apache/spark/pull/15816.diff","patch_url":"https://github.com/apache/spark/pull/15816.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nThis makes the result value both transient and lazy, so that if the RegExpReplace object is initialized then serialized, `result: StringBuffer` will be correctly initialized.\r\n\r\n## How was this patch tested?\r\n\r\n* Verified that this patch fixed the query that found the bug.\r\n* Added a test case that fails without the fix.\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/259494362","html_url":"https://github.com/apache/spark/pull/15816#issuecomment-259494362","issue_url":"https://api.github.com/repos/apache/spark/issues/15816","id":259494362,"user":{"login":"zsxwing","id":1000778,"avatar_url":"https://avatars.githubusercontent.com/u/1000778?v=3","gravatar_id":"","url":"https://api.github.com/users/zsxwing","html_url":"https://github.com/zsxwing","followers_url":"https://api.github.com/users/zsxwing/followers","following_url":"https://api.github.com/users/zsxwing/following{/other_user}","gists_url":"https://api.github.com/users/zsxwing/gists{/gist_id}","starred_url":"https://api.github.com/users/zsxwing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zsxwing/subscriptions","organizations_url":"https://api.github.com/users/zsxwing/orgs","repos_url":"https://api.github.com/users/zsxwing/repos","events_url":"https://api.github.com/users/zsxwing/events{/privacy}","received_events_url":"https://api.github.com/users/zsxwing/received_events","type":"User","site_admin":false},"created_at":"2016-11-09T18:55:08Z","updated_at":"2016-11-09T18:55:08Z","body":"If `result` is called before serialized, it has the same issue. Right?"}}
{"actor":{"display_login":"zsxwing"}}