Shekharrajak opened a new issue, #3552: URL: https://github.com/apache/datafusion-comet/issues/3552
This discussion proposes adding native Arrow Flight support to DataFusion-Comet's shuffle implementation. Currently, Comet writes shuffle data in Arrow IPC format but relies on Spark's Netty-based BlockManager for network transfer. By **implementing Arrow Flight in the Rust native layer, we can achieve true end-to-end zero-copy columnar shuffle**, eliminating the JVM boundary crossing for network I/O. Current Flow: 1. Rust ShuffleWriter -> Arrow IPC files -> Disk 2. Spark BlockManager -> Netty -> Remote Executor 3. JNI -> Rust ShuffleReader -> RecordBatch Proposed Flow: 1. Rust ShuffleWriter -> In-memory Arrow buffers 2. Rust FlightServer -> gRPC/HTTP2 -> Remote Rust FlightClient 3. Rust ShuffleReader -> RecordBatch (zero-copy) Ref - Apache Arrow Flight: https://arrow.apache.org/docs/format/Flight.html - DataFusion Ballista: Uses Arrow Flight for distributed query execution -- 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]
