anishshri-db commented on code in PR #45709:
URL: https://github.com/apache/spark/pull/45709#discussion_r1539925533
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/TransformWithStateExec.scala:
##########
@@ -161,25 +161,23 @@ case class TransformWithStateExec(
assert(batchTimestampMs.isDefined)
val batchTimestamp = batchTimestampMs.get
val procTimeIter = processorHandle.getExpiredTimers()
Review Comment:
Could we pass the timeout to the iterator and just return the expired rows
instead ? i.e. move the filtering logic within the `TimerStateImpl` ?
--
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]