{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/11262","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/11262/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/11262/comments","events_url":"https://api.github.com/repos/apache/spark/issues/11262/events","html_url":"https://github.com/apache/spark/pull/11262","id":134797275,"number":11262,"title":"[SPARK-13381][SQL] Support for loading CSV with a single function call","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,"milestone":null,"comments":1,"created_at":"2016-02-19T07:39:33Z","updated_at":"2016-02-19T07:57:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/11262","html_url":"https://github.com/apache/spark/pull/11262","diff_url":"https://github.com/apache/spark/pull/11262.diff","patch_url":"https://github.com/apache/spark/pull/11262.patch"},"body":"https://issues.apache.org/jira/browse/SPARK-13381\r\n\r\nThis PR adds the support to load CSV data directly by a single call.\r\n\r\nThree functions are added to load them.\r\n1. Load csv data from `paths`\r\n2. Load csv data from `RDD[String]`\r\n3. Load csv data from `JavaRDD[String]`\r\n\r\nAlso, I corrected this to refer all paths rather than the first path in schema inference, which JSON datasource dose.\r\n\r\nSeveral unitests were added for each functionality.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/186108498","html_url":"https://github.com/apache/spark/pull/11262#issuecomment-186108498","issue_url":"https://api.github.com/repos/apache/spark/issues/11262","id":186108498,"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-02-19T07:57:21Z","updated_at":"2016-02-19T07:57:21Z","body":"**[Test build #51537 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/51537/consoleFull)** for PR 11262 at commit [`fd2507c`](https://github.com/apache/spark/commit/fd2507ccfa147e80dea78d8db2948e7afec530db)."}}