HyukjinKwon commented on code in PR #47805:
URL: https://github.com/apache/spark/pull/47805#discussion_r1726470429
##########
python/pyspark/sql/streaming/stateful_processor.py:
##########
@@ -102,7 +102,31 @@ def getValueState(self, state_name: str, schema:
Union[StructType, str]) -> Valu
The schema of the state variable. The value can be either a
:class:`pyspark.sql.types.DataType` object or a DDL-formatted type
string.
"""
- self.stateful_processor_api_client.get_value_state(state_name, schema)
+ self.stateful_processor_api_client.get_value_state(state_name, schema,
None)
+ return
ValueState(ValueStateClient(self.stateful_processor_api_client), state_name,
schema)
+
+ def getValueStateWithTTL(
Review Comment:
Yeah, let's keep it same.
--
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]