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