{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/14313","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/14313/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/14313/comments","events_url":"https://api.github.com/repos/apache/spark/issues/14313/events","html_url":"https://github.com/apache/spark/pull/14313","id":166964064,"number":14313,"title":"[SPARK-16674][SQL] Avoid per-record type dispatch in JDBC when reading","user":{"login":"HyukjinKwon","id":6477701,"avatar_url":"https://avatars.githubusercontent.com/u/6477701?v=3","gravatar_id":"","url":"https://api.github.com/users/HyukjinKwon","html_url":"https://github.com/HyukjinKwon","followers_url":"https://api.github.com/users/HyukjinKwon/followers","following_url":"https://api.github.com/users/HyukjinKwon/following{/other_user}","gists_url":"https://api.github.com/users/HyukjinKwon/gists{/gist_id}","starred_url":"https://api.github.com/users/HyukjinKwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HyukjinKwon/subscriptions","organizations_url":"https://api.github.com/users/HyukjinKwon/orgs","repos_url":"https://api.github.com/users/HyukjinKwon/repos","events_url":"https://api.github.com/users/HyukjinKwon/events{/privacy}","received_events_url":"https://api.github.com/users/HyukjinKwon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-22T03:35:26Z","updated_at":"2016-07-25T04:17:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/14313","html_url":"https://github.com/apache/spark/pull/14313","diff_url":"https://github.com/apache/spark/pull/14313.diff","patch_url":"https://github.com/apache/spark/pull/14313.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nCurrently, `JDBCRDD.compute` is doing type dispatch for each row to read appropriate values.\r\nIt might not have to be done like this because the schema is already kept in `JDBCRDD`.\r\n\r\nSo, appropriate converters can be created first according to the schema, and then apply them to each row.\r\n\r\n## How was this patch tested?\r\n\r\nExisting tests should cover this.\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/234832881","html_url":"https://github.com/apache/spark/pull/14313#issuecomment-234832881","issue_url":"https://api.github.com/repos/apache/spark/issues/14313","id":234832881,"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-07-25T04:17:51Z","updated_at":"2016-07-25T04:17:51Z","body":"**[Test build #62789 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/62789/consoleFull)** for PR 14313 at commit [`8ac66b1`](https://github.com/apache/spark/commit/8ac66b17f81a2fdc0866df26889b5e2fcc634c51)."}}
{"actor":{"display_login":"SparkQA"}}