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

    https://github.com/apache/spark/pull/22009#discussion_r208335865
  
    --- Diff: 
sql/core/src/main/java/org/apache/spark/sql/sources/v2/ContinuousReadSupportProvider.java
 ---
    @@ -20,17 +20,30 @@
     import java.util.Optional;
     
     import org.apache.spark.annotation.InterfaceStability;
    -import org.apache.spark.sql.sources.v2.reader.streaming.ContinuousReader;
    +import org.apache.spark.sql.sources.v2.reader.ScanConfig;
    +import 
org.apache.spark.sql.sources.v2.reader.streaming.ContinuousReadSupport;
    +import org.apache.spark.sql.sources.v2.reader.streaming.Offset;
     import org.apache.spark.sql.types.StructType;
     
     /**
      * A mix-in interface for {@link DataSourceV2}. Data sources can implement 
this interface to
    - * provide data reading ability for continuous stream processing.
    + * provide data reading ability for stream processing(continuous mode).
      */
     @InterfaceStability.Evolving
    -public interface ContinuousReadSupport extends DataSourceV2 {
    +public interface ContinuousReadSupportProvider extends DataSourceV2 {
    +
       /**
    -   * Creates a {@link ContinuousReader} to scan the data from this data 
source.
    +   * Creates a {@link ContinuousReadSupport} to scan the data from this 
streaming data source.
    --- End diff --
    
    Why is this description on the provider and not in `ContinuousReadSupport`


---

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

Reply via email to