HyukjinKwon commented on code in PR #47805:
URL: https://github.com/apache/spark/pull/47805#discussion_r1732045619


##########
python/pyspark/sql/streaming/stateful_processor_api_client.py:
##########
@@ -101,7 +101,9 @@ def remove_implicit_key(self) -> None:
             # TODO(SPARK-49233): Classify errors thrown by internal methods.
             raise PySparkRuntimeError(f"Error removing implicit key: " 
f"{response_message[1]}")
 
-    def get_value_state(self, state_name: str, schema: Union[StructType, str]) 
-> None:
+    def get_value_state(
+        self, state_name: str, schema: Union[StructType, str], ttlDurationMs: 
Optional[int]

Review Comment:
   ```suggestion
           self, state_name: str, schema: Union[StructType, str], 
ttl_duration_ms: Optional[int]
   ```



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