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

Apache Spark commented on SPARK-15983:
--------------------------------------

User 'liancheng' has created a pull request for this issue:
https://github.com/apache/spark/pull/13698

> Remove FileFormat.prepareRead
> -----------------------------
>
>                 Key: SPARK-15983
>                 URL: https://issues.apache.org/jira/browse/SPARK-15983
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Cheng Lian
>            Assignee: Cheng Lian
>
> Interface method {{FileFormat.prepareRead()}} was added in [PR 
> #12088|https://github.com/apache/spark/pull/12088] to handle a special case 
> in the LibSVM data source.
> However, the semantics of this interface method isn't intuitive: it returns a 
> modified version of the data source options map. Considering that the LibSVM 
> case can be easily handled using schema metadata inside {{inferSchema}}, we 
> can remove this interface method to keep the {{FileFormat}} interface clean.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to