spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evan Chan (JIRA)" <>
Subject [jira] [Commented] (SPARK-2360) CSV import to SchemaRDDs
Date Fri, 22 Aug 2014 16:32:11 GMT


Evan Chan commented on SPARK-2360:


You can have a look at my repo:

See the CsvImporter class and README, it can import tab-delimited CSV
styles (GDELT format), and with little modification other CSV formats.
 It's not terribly efficient because it uses jsonRDD, I plan to make a more
efficient version if I have time.

On Fri, Aug 22, 2014 at 7:06 AM, Hingorani, Vineet (JIRA) <>

The fruit of silence is prayer;
the fruit of prayer is faith;
the fruit of faith is love;
the fruit of love is service;
the fruit of service is peace.  -- Mother Teresa

> CSV import to SchemaRDDs
> ------------------------
>                 Key: SPARK-2360
>                 URL:
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>            Reporter: Michael Armbrust
>            Assignee: Hossein Falaki
> I think the first step it to design the interface that we want to present to users. 
Mostly this is defining options when importing.  Off the top of my head:
> - What is the separator?
> - Provide column names or infer them from the first row.
> - how to handle multiple files with possibly different schemas
> - do we have a method to let users specify the datatypes of the columns or are they just
> - what types of quoting / escaping do we want to support?

This message was sent by Atlassian JIRA

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

View raw message