HeartSaVioR commented on code in PR #47878:
URL: https://github.com/apache/spark/pull/47878#discussion_r1805824177
##########
python/pyspark/sql/streaming/stateful_processor.py:
##########
@@ -69,6 +69,60 @@ def clear(self) -> None:
self._value_state_client.clear(self._state_name)
+class TimerValues:
+ """
+ Class used for arbitrary stateful operations with transformWithState to
access processing
+ time or event time for current batch.
+
+ .. versionadded:: 4.0.0
+ """
+ def __init__(
+ self,
Review Comment:
(I tend to use reaction to distinguish comments I agree to address,
especially style comments.)
--
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]