Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20435#discussion_r165047744
  
    --- Diff: 
external/kafka-0-10-sql/src/main/scala/org/apache/spark/sql/kafka010/KafkaSourceOffset.scala
 ---
    @@ -20,14 +20,15 @@ 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.{Offset => 
OffsetV2, PartitionOffset}
     
     /**
      * An [[Offset]] for the [[KafkaSource]]. This one tracks all partitions 
of subscribed topics and
      * their offsets.
      */
     private[kafka010]
    -case class KafkaSourceOffset(partitionToOffsets: Map[TopicPartition, 
Long]) extends OffsetV2 {
    +case class KafkaSourceOffset(partitionToOffsets: Map[TopicPartition, Long])
    +  extends OffsetV2 {
    --- End diff --
    
    unnecessary change?


---

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

Reply via email to