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

    https://github.com/apache/spark/pull/20097#discussion_r159551588
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/MicroBatchExecution.scala
 ---
    @@ -317,6 +355,8 @@ class MicroBatchExecution(
               if (prevBatchOff.isDefined) {
                 prevBatchOff.get.toStreamProgress(sources).foreach {
                   case (src: Source, off) => src.commit(off)
    +              case (reader: MicroBatchReader, off) =>
    +                reader.commit(reader.deserializeOffset(off.json))
    --- End diff --
    
    I am not sure. I am just comparing with the previous case `src.commit(off)`


---

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

Reply via email to