HeartSaVioR commented on code in PR #47933:
URL: https://github.com/apache/spark/pull/47933#discussion_r1774302216
##########
python/pyspark/sql/streaming/stateful_processor.py:
##########
@@ -99,25 +99,25 @@ def exists(self) -> bool:
"""
return self._list_state_client.exists(self._state_name)
- def get(self) -> Iterator[Row]:
+ def get(self) -> Iterator[Tuple]:
Review Comment:
No, what I meant was that even we get Tuple from users we should convert
this to Row internally before sending to JVM, and vice versa. Let's ensure this
would be applied for all state types. I'm going to assume this is true.
--
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]