tdas commented on a change in pull request #23324: [SPARK-26267][SS]Retry when 
detecting incorrect offsets from Kafka
URL: https://github.com/apache/spark/pull/23324#discussion_r241928202
 
 

 ##########
 File path: 
external/kafka-0-10-sql/src/main/scala/org/apache/spark/sql/kafka010/KafkaMicroBatchReadSupport.scala
 ##########
 @@ -138,6 +138,15 @@ private[kafka010] class KafkaMicroBatchReadSupport(
       fromOffsets = startPartitionOffsets ++ newPartitionInitialOffsets,
       untilOffsets = endPartitionOffsets,
       executorLocations = getSortedExecutorList())
+    offsetRanges.filter { range =>
 
 Review comment:
   That's my bad. But no tests caught it :(
   Is it possible to write a test for this?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to