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

Hyukjin Kwon commented on SPARK-21326:
--------------------------------------

Let me open a PR in coming few days.

> Use TextFileFormat in implementation of LibSVMFileFormat
> --------------------------------------------------------
>
>                 Key: SPARK-21326
>                 URL: https://issues.apache.org/jira/browse/SPARK-21326
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML, SQL
>    Affects Versions: 2.3.0
>            Reporter: Hyukjin Kwon
>
> This is related with SPARK-19918 and SPARK-18362.
> There are three points here:
> - The main advantage of this change was file-listing bottlenecks in driver 
> side and I guess this does not applies to LibSVM datasource for the current 
> state as it requires the file should be single.
> As a side note, it looks possible with multiple files - SPARK-21066 but it is 
> still in discussion
> - Another advantage is ones from using {{FileScanRDD}}. For example, I guess 
> we can use {{spark.sql.files.ignoreCorruptFiles}} option if we allow multiple 
> files in schema inference.
> - We can unify the schema inference code path in text based data sources. 
> This is also a preparation for SPARK-21289.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to