jingz-db commented on code in PR #48838:
URL: https://github.com/apache/spark/pull/48838#discussion_r1847130490


##########
python/pyspark/sql/streaming/stateful_processor.py:
##########
@@ -420,10 +411,27 @@ def handleInputRows(
         timer_values: TimerValues
                       Timer value for the current batch that process the input 
rows.
                       Users can get the processing or event time timestamp 
from TimerValues.
+        """
+        return iter([])
+
+    def handleExpiredTimer(

Review Comment:
   Correct. Add a comment line in the docstring to explicitly saying this is 
optional to implement.



##########
python/pyspark/sql/streaming/stateful_processor.py:
##########
@@ -420,10 +411,27 @@ def handleInputRows(
         timer_values: TimerValues
                       Timer value for the current batch that process the input 
rows.
                       Users can get the processing or event time timestamp 
from TimerValues.
+        """
+        return iter([])

Review Comment:
   Sorry I confused this with the `handleExpiredTimer`. Changed back to `...`



-- 
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]

Reply via email to