You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2014/08/15 11:04:18 UTC

[jira] [Commented] (SPARK-3064) It would be very useful to specifies line terminate when use the textFile function

    [ https://issues.apache.org/jira/browse/SPARK-3064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14098369#comment-14098369 ] 

Sean Owen commented on SPARK-3064:
----------------------------------

Basically a duplicate of https://issues.apache.org/jira/browse/SPARK-1849 , or perhaps really, vice versa.

> 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.2#6252)

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