gaogaotiantian commented on code in PR #55716:
URL: https://github.com/apache/spark/pull/55716#discussion_r3284575995


##########
python/pyspark/worker_message.py:
##########
@@ -46,7 +47,7 @@ class ResourceInfo:
     local_properties: dict[str, str]
 
     @classmethod
-    def from_stream(cls, stream: IO) -> "TaskContextInfo":
+    def from_stream(cls, stream: ZeroCopyByteStream) -> "TaskContextInfo":

Review Comment:
   Okay let's do `ZeroCopyByteStream` here for now. This is new code and 
there's no other code that depends on it yet.



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