File tree Expand file tree Collapse file tree 3 files changed +1
-4
lines changed
external/kafka-0-10-sql/src
main/scala/org/apache/spark/sql/kafka010
test/scala/org/apache/spark/sql/kafka010 Expand file tree Collapse file tree 3 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ import org.apache.spark.sql.catalyst.InternalRow
3232import org .apache .spark .sql .catalyst .util .DateTimeUtils
3333import org .apache .spark .sql .execution .streaming ._
3434import org .apache .spark .sql .kafka010 .KafkaSource ._
35- import org .apache .spark .sql .sources .v2 .reader .Offset
3635import org .apache .spark .sql .types ._
3736import org .apache .spark .unsafe .types .UTF8String
3837
Original file line number Diff line number Diff line change @@ -19,8 +19,7 @@ package org.apache.spark.sql.kafka010
1919
2020import org .apache .kafka .common .TopicPartition
2121
22- import org .apache .spark .sql .execution .streaming .SerializedOffset
23- import org .apache .spark .sql .sources .v2 .reader .Offset
22+ import org .apache .spark .sql .execution .streaming .{Offset , SerializedOffset }
2423
2524/**
2625 * An [[Offset ]] for the [[KafkaSource ]]. This one tracks all partitions of subscribed topics and
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ import org.apache.spark.sql.ForeachWriter
3838import org .apache .spark .sql .execution .streaming ._
3939import org .apache .spark .sql .functions .{count , window }
4040import org .apache .spark .sql .kafka010 .KafkaSourceProvider ._
41- import org .apache .spark .sql .sources .v2 .reader .Offset
4241import org .apache .spark .sql .streaming .{ProcessingTime , StreamTest }
4342import org .apache .spark .sql .streaming .util .StreamManualClock
4443import org .apache .spark .sql .test .{SharedSQLContext , TestSparkSession }
You can’t perform that action at this time.
0 commit comments