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 2015/01/23 19:35:35 UTC
[jira] [Resolved] (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: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