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

    https://github.com/apache/spark/pull/20435#discussion_r164953225
  
    --- Diff: 
external/kafka-0-10-sql/src/main/scala/org/apache/spark/sql/kafka010/KafkaSourceOffset.scala
 ---
    @@ -20,14 +20,16 @@ package org.apache.spark.sql.kafka010
     import org.apache.kafka.common.TopicPartition
     
     import org.apache.spark.sql.execution.streaming.{Offset, SerializedOffset}
    -import org.apache.spark.sql.sources.v2.streaming.reader.{Offset => 
OffsetV2, PartitionOffset}
    +import org.apache.spark.sql.sources.v2.reader.streaming
    +import org.apache.spark.sql.sources.v2.reader.streaming.PartitionOffset
     
     /**
      * An [[Offset]] for the [[KafkaSource]]. This one tracks all partitions 
of subscribed topics and
    --- End diff --
    
    Should this `Offset` be `streaming.Offset`?


---

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

Reply via email to