[
https://issues.apache.org/jira/browse/SPARK-15463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15900824#comment-15900824
]
Takeshi Yamamuro commented on SPARK-15463:
------------------------------------------
Have you seen https://github.com/apache/spark/pull/13300#issuecomment-261156734
as related discussion?
Currently, I think [~hyukjin.kwon]'s idea is more preferable:
https://github.com/apache/spark/pull/16854#issue-206224691.
> Support for creating a dataframe from CSV in Dataset[String]
> ------------------------------------------------------------
>
> Key: SPARK-15463
> URL: https://issues.apache.org/jira/browse/SPARK-15463
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.0.0
> Reporter: PJ Fanning
>
> I currently use Databrick's spark-csv lib but some features don't work with
> Apache Spark 2.0.0-SNAPSHOT. I understand that with the addition of CSV
> support into spark-sql directly, that spark-csv won't be modified.
> I currently read some CSV data that has been pre-processed and is in
> RDD[String] format.
> There is sqlContext.read.json(rdd: RDD[String]) but other formats don't
> appear to support the creation of DataFrames based on loading from
> RDD[String].
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]