HyukjinKwon commented on code in PR #58210:
URL: https://github.com/apache/spark/pull/58210#discussion_r3841062269
##########
python/pyspark/sql/connect/client/reattach.py:
##########
@@ -109,7 +109,7 @@ def __init__(
# Initial iterator comes from ExecutePlan request.
# Note: This is not retried, because no error would ever be thrown
here, and GRPC will only
# throw error on first self._has_next().
- self._metadata = metadata
+ self._metadata = list(metadata)
Review Comment:
Can we make _metadata itself a list?
--
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]