HeartSaVioR commented on code in PR #48862:
URL: https://github.com/apache/spark/pull/48862#discussion_r1853315478
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/TransformWithStateExec.scala:
##########
@@ -343,11 +343,20 @@ case class TransformWithStateExec(
CompletionIterator[InternalRow, Iterator[InternalRow]] = {
val allUpdatesTimeMs = longMetric("allUpdatesTimeMs")
val commitTimeMs = longMetric("commitTimeMs")
- val timeoutLatencyMs = longMetric("allRemovalsTimeMs")
+ val timerProcessingTimeMs = longMetric("timerProcessingTimeMs")
+ // In TWS, allRemovalsTimeMs is the time taken to remove state due to TTL.
+ // It does not measure any time taken by explicit calls from the user's
state processor
+ // that clear()s state variables.
Review Comment:
I missed this, lol Let's leave it as it is.
--
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]