spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Takeshi Yamamuro (JIRA)" <>
Subject [jira] [Commented] (SPARK-15463) Support for creating a dataframe from CSV in RDD[String]
Date Wed, 25 May 2016 10:47:12 GMT


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:
>             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 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message