{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/12149","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/12149/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/12149/comments","events_url":"https://api.github.com/repos/apache/spark/issues/12149/events","html_url":"https://github.com/apache/spark/pull/12149","id":145622158,"number":12149,"title":"[SPARK-13929] Use Scala reflection for UDTs","user":{"login":"joan38","id":1200478,"avatar_url":"https://avatars.githubusercontent.com/u/1200478?v=3","gravatar_id":"","url":"https://api.github.com/users/joan38","html_url":"https://github.com/joan38","followers_url":"https://api.github.com/users/joan38/followers","following_url":"https://api.github.com/users/joan38/following{/other_user}","gists_url":"https://api.github.com/users/joan38/gists{/gist_id}","starred_url":"https://api.github.com/users/joan38/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joan38/subscriptions","organizations_url":"https://api.github.com/users/joan38/orgs","repos_url":"https://api.github.com/users/joan38/repos","events_url":"https://api.github.com/users/joan38/events{/privacy}","received_events_url":"https://api.github.com/users/joan38/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2016-04-04T08:48:27Z","updated_at":"2016-04-12T00:16:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/12149","html_url":"https://github.com/apache/spark/pull/12149","diff_url":"https://github.com/apache/spark/pull/12149.diff","patch_url":"https://github.com/apache/spark/pull/12149.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nEnable ScalaReflection and User Defined Types for plain Scala classes.\r\n\r\nThis involves the move of `schemaFor` from `ScalaReflection` trait (which is Runtime and Compile time (macros) reflection) to the `ScalaReflection` object (runtime reflection only) as I believe this code wouldn't work at compile time anyway as it manipulates `Class`'s that are not compiled yet.\r\n\r\n## How was this patch tested?\r\n\r\nUnit test"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/208635169","html_url":"https://github.com/apache/spark/pull/12149#issuecomment-208635169","issue_url":"https://api.github.com/repos/apache/spark/issues/12149","id":208635169,"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-04-12T00:16:19Z","updated_at":"2016-04-12T00:16:19Z","body":"**[Test build #55546 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/55546/consoleFull)** for PR 12149 at commit [`a122143`](https://github.com/apache/spark/commit/a122143d68a52fb1884ea0b9a9cf9cf849c53fa2).\n * This patch passes all tests.\n * This patch merges cleanly.\n * This patch adds the following public classes _(experimental)_:\n  * `trait ScalaReflection `"}}