{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/12926","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/12926/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/12926/comments","events_url":"https://api.github.com/repos/apache/spark/issues/12926/events","html_url":"https://github.com/apache/spark/pull/12926","id":153184637,"number":12926,"title":"[SPARK-15094][SPARK-14803][SQL] Add ObjectProject for EliminateSerialization","user":{"login":"viirya","id":68855,"avatar_url":"https://avatars.githubusercontent.com/u/68855?v=3","gravatar_id":"","url":"https://api.github.com/users/viirya","html_url":"https://github.com/viirya","followers_url":"https://api.github.com/users/viirya/followers","following_url":"https://api.github.com/users/viirya/following{/other_user}","gists_url":"https://api.github.com/users/viirya/gists{/gist_id}","starred_url":"https://api.github.com/users/viirya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viirya/subscriptions","organizations_url":"https://api.github.com/users/viirya/orgs","repos_url":"https://api.github.com/users/viirya/repos","events_url":"https://api.github.com/users/viirya/events{/privacy}","received_events_url":"https://api.github.com/users/viirya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-05-05T07:44:57Z","updated_at":"2016-05-09T08:38:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/12926","html_url":"https://github.com/apache/spark/pull/12926","diff_url":"https://github.com/apache/spark/pull/12926.diff","patch_url":"https://github.com/apache/spark/pull/12926.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nWe will eliminate the pair of `DeserializeToObject` and `SerializeFromObject` in `Optimizer` and add extra `Project`. However, when DeserializeToObject's outputObjectType is ObjectType and its cls can't be processed by unsafe project, it will be failed.\r\n\r\nTo fix it, we can simply add a plan to project object that can preserve `DeserializeToObject`'s output expr id as the extra `Project` did. We will remove such extra plan and replace attribute later in optimization.\r\n\r\n## How was this patch tested?\r\n`DatasetSuite`, `EliminateSerializationSuite`.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/217807426","html_url":"https://github.com/apache/spark/pull/12926#issuecomment-217807426","issue_url":"https://api.github.com/repos/apache/spark/issues/12926","id":217807426,"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":"2016-05-09T08:38:56Z","updated_at":"2016-05-09T08:38:56Z","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/58127/\nTest PASSed."}}