{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/10544","labels_url":"https://api.github.com/repos/apache/spark/issues/10544/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/10544/comments","events_url":"https://api.github.com/repos/apache/spark/issues/10544/events","html_url":"https://github.com/apache/spark/pull/10544","id":124547480,"number":10544,"title":"[SPARK-12597] [ML] Use udf to replace callUDF for ML","user":{"login":"yanboliang","id":1962026,"avatar_url":"https://avatars.githubusercontent.com/u/1962026?v=3","gravatar_id":"","url":"https://api.github.com/users/yanboliang","html_url":"https://github.com/yanboliang","followers_url":"https://api.github.com/users/yanboliang/followers","following_url":"https://api.github.com/users/yanboliang/following{/other_user}","gists_url":"https://api.github.com/users/yanboliang/gists{/gist_id}","starred_url":"https://api.github.com/users/yanboliang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanboliang/subscriptions","organizations_url":"https://api.github.com/users/yanboliang/orgs","repos_url":"https://api.github.com/users/yanboliang/repos","events_url":"https://api.github.com/users/yanboliang/events{/privacy}","received_events_url":"https://api.github.com/users/yanboliang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-01T15:05:41Z","updated_at":"2016-01-01T15:18:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/10544","html_url":"https://github.com/apache/spark/pull/10544","diff_url":"https://github.com/apache/spark/pull/10544.diff","patch_url":"https://github.com/apache/spark/pull/10544.patch"},"body":"```callUDF``` has been deprecated and will be removed in Spark 2.0. We should replace the use of ```callUDF``` with ```udf``` for ML.\r\nI was trying to directly wrap ```createTransformFunc``` to ```udf``` as an initial attempt, but it hits a bug of ```TypeTag ... NotSerializableException``` which exists at Scala 2.10."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/168312778","html_url":"https://github.com/apache/spark/pull/10544#issuecomment-168312778","issue_url":"https://api.github.com/repos/apache/spark/issues/10544","id":168312778,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2016-01-01T15:18:05Z","updated_at":"2016-01-01T15:18:05Z","body":"**[Test build #48565 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/48565/consoleFull)** for PR 10544 at commit [`b4c4329`](https://github.com/apache/spark/commit/b4c4329df5935c8ba4a4fa77ad0a8b2a9487a4af)."}}