Xuanwo opened a new pull request, #11080: URL: https://github.com/apache/arrow-rs/pull/11080
# Which issue does this PR close? No associated issue. Follows the Parquet example in #11014. # Rationale for this change Demonstrate how to read Avro through OpenDAL using the generic async I/O interfaces, alongside the existing object_store example. # What changes are included in this PR? Add an in-memory round-trip example with an `AsyncFileReader` adapter using OpenDAL range reads and a `SpawnedReader` demonstration. The synchronous Avro writer encodes a small OCF in memory before uploading it. OpenDAL uses the same development dependency version and memory service as the Parquet example. # Are these changes tested? The example asserts that ordinary and dedicated-runtime reads reproduce the written `RecordBatch`, including nulls. It runs successfully with `--features async` and with `--no-default-features --features async`. Example Clippy with `-D warnings`, workspace formatting, and whitespace checks pass. # Are there any user-facing changes? A new example, runnable with `cargo run -p arrow-avro --example opendal --features async`. No public API changes. OpenDAL 0.59 requires Rust 1.91, above the workspace's declared Rust 1.88 MSRV; this affects development targets that build the new dependency. -- 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]
