[
https://issues.apache.org/jira/browse/SPARK-15463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15299854#comment-15299854
]
Takeshi Yamamuro commented on SPARK-15463:
------------------------------------------
RDD is not recommended for uses in spark-v2.0+ (See SPARK-13485), so now we
need the interface to convert RDD to DataFrame? Seems an interface converting
Dataset[String] to DataFrame is more reasonable to me.
> Support for creating a dataframe from CSV in RDD[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.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]