Github user rxin commented on the pull request: https://github.com/apache/spark/pull/1351#issuecomment-48829295 BTW searching for CSVInputFormat leads to a lot of results: https://www.google.com/search?q=CSVInputFormat&oq=CSVInputFormat&aqs=chrome..69i57j0l4j69i60.373j0j4&sourceid=chrome&es_sm=91&ie=UTF-8 Now I think about it a little bit more, I actually agree with @yhuai that we should handle the newlines in an input format. As for the function that accepts an RDD, it is best to just treat each line as one record instead of collapsing multiple lines. That's what's expected from other APIs (e.g. JSON).
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---