[
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: [email protected]
For additional commands, e-mail: [email protected]