zainmirzaaa opened a new pull request, #58210: URL: https://github.com/apache/spark/pull/58210
What changes were proposed in this pull request? self._metadata = metadata → self._metadata = list(metadata) in ExecutePlanResponseReattachableIterator.__init__. Why are the changes needed? self._metadata is reused across multiple RPCs. If a generator/iterator is passed, it's consumed on the first call and subsequent RPCs get empty metadata. Does this PR introduce any user-facing change? No. How was this patch tested? Added test_metadata_generator_is_stored_as_list in test_reattach.py. Was this patch authored or co-authored using generative AI tooling? Yes: opencode/mimo-v2-free Closes #57785 -- 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]
