brijrajk commented on code in PR #56178:
URL: https://github.com/apache/spark/pull/56178#discussion_r3454319886


##########
python/pyspark/sql/streaming/state.py:
##########
@@ -170,21 +248,13 @@ def remove(self) -> None:
         self._updated = False
         self._removed = True
 
-    def setTimeoutDuration(self, durationMs: int) -> None:
+    def setTimeoutDuration(self, durationMs: Union[int, str]) -> None:
         """
         Set the timeout duration in ms for this key.
         Processing time timeout must be enabled.

Review Comment:
   Done, added `versionchanged:: 4.3.0` (corrected from 5.0.0 — since this is a 
normally backported change, the right version is branch-4.x's 4.3.0).



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