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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org