{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/13046","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/13046/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/13046/comments","events_url":"https://api.github.com/repos/apache/spark/issues/13046/events","html_url":"https://github.com/apache/spark/pull/13046","id":154176997,"number":13046,"title":"[SPARK-15268][SQL] Make JavaTypeInference work with UDTRegistration","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":2,"created_at":"2016-05-11T07:25:18Z","updated_at":"2016-05-11T07:27:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/13046","html_url":"https://github.com/apache/spark/pull/13046","diff_url":"https://github.com/apache/spark/pull/13046.diff","patch_url":"https://github.com/apache/spark/pull/13046.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nWe have a private `UDTRegistration` API to register user defined type. Currently `JavaTypeInference` can't work with it. So `SparkSession.createDataFrame` from a bean class will not correctly infer the schema of the bean class.\r\n\r\n## How was this patch tested?\r\n`VectorUDTSuite`.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/218382745","html_url":"https://github.com/apache/spark/pull/13046#issuecomment-218382745","issue_url":"https://api.github.com/repos/apache/spark/issues/13046","id":218382745,"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-05-11T07:27:37Z","updated_at":"2016-05-11T07:27:37Z","body":"**[Test build #58343 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/58343/consoleFull)** for PR 13046 at commit [`5cc52f6`](https://github.com/apache/spark/commit/5cc52f65f3bc2556a53acb54ae86c9d30f43c28a)."}}