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


##########
python/pyspark/sql/streaming/stateful_processor.py:
##########
@@ -426,3 +426,10 @@ def close(self) -> None:
         operations.
         """
         ...
+
+    def handleInitialState(self, key: Any, initialState: 
"PandasDataFrameLike") -> None:
+        """
+        Optional to implement. Will act as no-op if not defined or no initial 
state input. Function

Review Comment:
   Modified to be the same on Scala side. Keep the additional clarifications on 
optional to implement.



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