Github user rdblue commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21574#discussion_r196223209
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/DataSourceV2Relation.scala
 ---
    @@ -106,7 +106,7 @@ case class StreamingDataSourceV2Relation(
     
     object DataSourceV2Relation {
       private implicit class SourceHelpers(source: DataSourceV2) {
    -    def asReadSupport: ReadSupport = {
    +    private def asReadSupport: ReadSupport = {
    --- End diff --
    
    Minor: these are effectively private because `SourceHelpers` is private. If 
we were to move `SourceHelpers` or make it public to some other part of Spark, 
we would have to revert these changes. So I think it is best to rely on the 
visibility of `SourceHelpers` instead of making these private.


---

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

Reply via email to