bozhang2820 commented on a change in pull request #33763:
URL: https://github.com/apache/spark/pull/33763#discussion_r695432315



##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/MicroBatchExecution.scala
##########
@@ -382,6 +413,23 @@ class MicroBatchExecution(
 
     // Generate a map from each unique source to the next available offset.
     val (nextOffsets, recentOffsets) = uniqueSources.toSeq.map {
+      case (s: FakeLatestOffsetSupportsTriggerAvailableNow, limit) =>
+        val originalSource = originalSources.getOrElse(s, throw new 
IllegalStateException(

Review comment:
       Thanks @HeartSaVioR! Will follow what you suggest and remove 
`originalSource`.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to