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

Hyukjin Kwon commented on SPARK-27751:
--------------------------------------

Yes, leaving them to be public brings overhead to maintain the compatibility. 
`FileFormat` one will be supported via Datasource V2. `FileFormat` interface is 
kind of not well designed.

> buildReader is now protected
> ----------------------------
>
>                 Key: SPARK-27751
>                 URL: https://issues.apache.org/jira/browse/SPARK-27751
>             Project: Spark
>          Issue Type: Question
>          Components: Spark Core
>    Affects Versions: 2.4.3
>            Reporter: Geet Kumar
>            Priority: Major
>
> I have recently upgraded to spark 2.4.0 and was relying on the `buildReader` 
> method. It originally was public and now it is protected. 
> What was the reason for this change?
> The only workaround I can see is to use `buildReaderWithPartitionValues` 
> which remains public. Any plans to revert `buildReader` to be public again?
> The change was made here: [https://github.com/apache/spark/pull/17253/files]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to