{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/12232","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/12232/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/12232/comments","events_url":"https://api.github.com/repos/apache/spark/issues/12232/events","html_url":"https://github.com/apache/spark/pull/12232","id":146516068,"number":12232,"title":"[SPARK-14452][SQL] Explicit APIs in Scala for specifying encoders","user":{"login":"rxin","id":323388,"avatar_url":"https://avatars.githubusercontent.com/u/323388?v=3","gravatar_id":"","url":"https://api.github.com/users/rxin","html_url":"https://github.com/rxin","followers_url":"https://api.github.com/users/rxin/followers","following_url":"https://api.github.com/users/rxin/following{/other_user}","gists_url":"https://api.github.com/users/rxin/gists{/gist_id}","starred_url":"https://api.github.com/users/rxin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rxin/subscriptions","organizations_url":"https://api.github.com/users/rxin/orgs","repos_url":"https://api.github.com/users/rxin/repos","events_url":"https://api.github.com/users/rxin/events{/privacy}","received_events_url":"https://api.github.com/users/rxin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-07T05:51:44Z","updated_at":"2016-04-07T07:17:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/12232","html_url":"https://github.com/apache/spark/pull/12232","diff_url":"https://github.com/apache/spark/pull/12232.diff","patch_url":"https://github.com/apache/spark/pull/12232.patch"},"body":"## What changes were proposed in this pull request?\r\nThe Scala Dataset public API currently only allows users to specify encoders through SQLContext.implicits. This is OK but sometimes people want to explicitly get encoders without a SQLContext (e.g. Aggregator implementations). This patch adds public APIs to Encoders class for getting Scala encoders.\r\n\r\n## How was this patch tested?\r\nNone - I will update test cases once https://github.com/apache/spark/pull/12231 is merged.\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/206730905","html_url":"https://github.com/apache/spark/pull/12232#issuecomment-206730905","issue_url":"https://api.github.com/repos/apache/spark/issues/12232","id":206730905,"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-07T07:17:15Z","updated_at":"2016-04-07T07:17:15Z","body":"**[Test build #55188 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/55188/consoleFull)** for PR 12232 at commit [`b260790`](https://github.com/apache/spark/commit/b260790e9a07f19e06d7e63cf90d365d93f14ff7).\n * This patch passes all tests.\n * This patch merges cleanly.\n * This patch adds no public classes."}}