{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/12259","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/12259/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/12259/comments","events_url":"https://api.github.com/repos/apache/spark/issues/12259/events","html_url":"https://github.com/apache/spark/pull/12259","id":146892069,"number":12259,"title":"[SPARK-14487][SQL][WIP] User Defined Type registration without SQLUserDefinedType annotation","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":13,"created_at":"2016-04-08T10:51:06Z","updated_at":"2016-04-09T01:49:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/12259","html_url":"https://github.com/apache/spark/pull/12259","diff_url":"https://github.com/apache/spark/pull/12259.diff","patch_url":"https://github.com/apache/spark/pull/12259.patch"},"body":"## What changes were proposed in this pull request?\r\nJIRA: https://issues.apache.org/jira/browse/SPARK-14487\r\n\r\nCurrently we use `SQLUserDefinedType` annotation to register UDTs for user classes. However, by doing this, we add Spark dependency to user classes.\r\n\r\nFor some user classes, it is unnecessary to add such dependency that will increase deployment difficulty.\r\n\r\nWe should provide alternative approach to register UDTs for user classes without `SQLUserDefinedType` annotation.\r\n\r\n## How was this patch tested?\r\n\r\n`UserDefinedTypeSuite`\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/207680872","html_url":"https://github.com/apache/spark/pull/12259#issuecomment-207680872","issue_url":"https://api.github.com/repos/apache/spark/issues/12259","id":207680872,"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-09T01:49:49Z","updated_at":"2016-04-09T01:49:49Z","body":"**[Test build #55407 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/55407/consoleFull)** for PR 12259 at commit [`e59f1d5`](https://github.com/apache/spark/commit/e59f1d5757189ad7535a189c4f20064b193c8242).\n * This patch passes all tests.\n * This patch merges cleanly.\n * This patch adds the following public classes _(experimental)_:\n  * `class UDTRegistrationSuite extends QueryTest with SharedSQLContext with ParquetTest `"}}