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

    https://github.com/apache/spark/pull/20097#discussion_r159558199
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/RateSourceProvider.scala
 ---
    @@ -236,6 +236,21 @@ class RateStreamSource(
         s"rampUpTimeSeconds=$rampUpTimeSeconds, numPartitions=$numPartitions]"
     }
     
    +/**
    + * This is a temporary register as we build out v2 migration. Microbatch 
read support should
    + * be implemented in the same register as v1.
    + */
    +class RateSourceProviderV2 extends DataSourceV2 with MicroBatchReadSupport 
with DataSourceRegister {
    --- End diff --
    
    Move this to the file RateStreamSourceV2.scala


---

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

Reply via email to