sven-weber-db opened a new pull request, #55515: URL: https://github.com/apache/spark/pull/55515
### What changes were proposed in this pull request? WIP This is the first in a series of PRs that introduce message-based communication to PySpark UDFs. The goal of these changes is to: 1. Make the communication between Spark <-> PySpark more structured 2. Enable new communication protocols (e.g., gRPC) transparently. The overall goal is to introduce a second communication channel (gRPC) while keeping the existing channel intact. You can find a summary of the proposed changes in [this document](https://docs.google.com/document/d/1XibTgtNFXNXXlKemyzHVXtnp20asGCKxqyCfafcqvzI/edit?tab=t.0#heading=h.mdbhs5u8i86i). This PR introduces: - A new class, which implements a file-like interface on top of a stream of byte arrays ### Why are the changes needed? WIP ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? New unit tests have been added for the added module. ### Was this patch authored or co-authored using generative AI tooling? Partially, yes. However, the code is manually reviewed and adjusted. -- 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]
