spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-3064) It would be very useful to specifies line terminate when use the textFile function
Date Fri, 23 Jan 2015 18:35:35 GMT

     [ https://issues.apache.org/jira/browse/SPARK-3064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sean Owen resolved SPARK-3064.
------------------------------
    Resolution: Not a Problem

I think Cheng's comment indicates the right way to deal with this.

> It would be very useful to specifies line terminate when use the textFile function
> ----------------------------------------------------------------------------------
>
>                 Key: SPARK-3064
>                 URL: https://issues.apache.org/jira/browse/SPARK-3064
>             Project: Spark
>          Issue Type: Improvement
>          Components: Java API
>    Affects Versions: 1.0.2
>            Reporter: yangping wu
>            Priority: Minor
>              Labels: features
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> Current we use the sc.textFile(path) or sc.textFile(path, minPartitions) to load data
into SparkRDD, The default  line terminate is '\n'. But sometimes the input file  line terminate
is not '\n' , It would be very useful to specifies line terminate, such as sc.textFile(path,lineTerminate).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message