[ https://issues.apache.org/jira/browse/SPARK-49046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17869422#comment-17869422 ]
Anish Shrigondekar edited comment on SPARK-49046 at 7/29/24 6:12 PM: --------------------------------------------------------------------- With processing time, we always return true for `shouldRunAnotherBatch` and for event time, we return true only if the watermark has updated. However, if there are no timers registered, the operator should not ask for running new batches. cc - [~Chaoqin] was (Author: JIRAUSER287599): With processing time, we always return true for `shouldRunAnotherBatch` and for event time, we return true only if the watermark has updated. However, if there are no timers registered, the operator should not ask for running new batches. > Run new batches only if timers are registered > --------------------------------------------- > > Key: SPARK-49046 > URL: https://issues.apache.org/jira/browse/SPARK-49046 > Project: Spark > Issue Type: Task > Components: Structured Streaming > Affects Versions: 4.0.0 > Reporter: Anish Shrigondekar > Priority: Major > > Run new batches only if timers are registered -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org