anishshri-db commented on code in PR #50550: URL: https://github.com/apache/spark/pull/50550#discussion_r2038263675
########## sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/TransformWithStateExec.scala: ########## @@ -381,7 +381,7 @@ case class TransformWithStateExec( // If timeout is based on event time, then filter late data based on watermark val filteredIter = watermarkPredicateForDataForLateEvents match { - case Some(predicate) => + case Some(predicate) if timeMode == TimeMode.EventTime() => Review Comment: I think its fine. We will note this in the docs as well -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org