jingz-db commented on code in PR #49156:
URL: https://github.com/apache/spark/pull/49156#discussion_r1887742023
##########
python/pyspark/sql/streaming/stateful_processor_util.py:
##########
@@ -25,3 +25,4 @@ class TransformWithStateInPandasFuncMode(Enum):
PROCESS_DATA = 1
PROCESS_TIMER = 2
COMPLETE = 3
+ PRE_INIT = 4
Review Comment:
>could we add this as a comment in the code too ?
Yeah this is documented as class comment here:
https://github.com/apache/spark/blob/master/python/pyspark/sql/streaming/stateful_processor_util.py#L20
--
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]