{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/5154","labels_url":"https://api.github.com/repos/apache/spark/issues/5154/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/5154/comments","events_url":"https://api.github.com/repos/apache/spark/issues/5154/events","html_url":"https://github.com/apache/spark/pull/5154","id":63909332,"number":5154,"title":"[SPARK-6483][SQL]Improve ScalaUdf called performance.","user":{"login":"zzcclp","id":9430290,"avatar_url":"https://avatars.githubusercontent.com/u/9430290?v=3","gravatar_id":"","url":"https://api.github.com/users/zzcclp","html_url":"https://github.com/zzcclp","followers_url":"https://api.github.com/users/zzcclp/followers","following_url":"https://api.github.com/users/zzcclp/following{/other_user}","gists_url":"https://api.github.com/users/zzcclp/gists{/gist_id}","starred_url":"https://api.github.com/users/zzcclp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzcclp/subscriptions","organizations_url":"https://api.github.com/users/zzcclp/orgs","repos_url":"https://api.github.com/users/zzcclp/repos","events_url":"https://api.github.com/users/zzcclp/events{/privacy}","received_events_url":"https://api.github.com/users/zzcclp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":38,"created_at":"2015-03-24T05:47:12Z","updated_at":"2015-03-25T08:58:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/5154","html_url":"https://github.com/apache/spark/pull/5154","diff_url":"https://github.com/apache/spark/pull/5154.diff","patch_url":"https://github.com/apache/spark/pull/5154.patch"},"body":"As issue [SPARK-6483](https://issues.apache.org/jira/browse/SPARK-6483) description, ScalaUdf is low performance because of calling *asInstanceOf* to convert per record.\r\nWith this, the performance of ScalaUdf is the same as other case.\r\nthank @lianhuiwang for telling me how to resolve this problem.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/85936678","html_url":"https://github.com/apache/spark/pull/5154#issuecomment-85936678","issue_url":"https://api.github.com/repos/apache/spark/issues/5154","id":85936678,"user":{"login":"zzcclp","id":9430290,"avatar_url":"https://avatars.githubusercontent.com/u/9430290?v=3","gravatar_id":"","url":"https://api.github.com/users/zzcclp","html_url":"https://github.com/zzcclp","followers_url":"https://api.github.com/users/zzcclp/followers","following_url":"https://api.github.com/users/zzcclp/following{/other_user}","gists_url":"https://api.github.com/users/zzcclp/gists{/gist_id}","starred_url":"https://api.github.com/users/zzcclp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzcclp/subscriptions","organizations_url":"https://api.github.com/users/zzcclp/orgs","repos_url":"https://api.github.com/users/zzcclp/repos","events_url":"https://api.github.com/users/zzcclp/events{/privacy}","received_events_url":"https://api.github.com/users/zzcclp/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T08:58:20Z","updated_at":"2015-03-25T08:58:20Z","body":"OK, I am new sparker, :smile: "}}