Skip to content

docs(parquet): add OpenDAL read and write example - #11014

Draft
Xuanwo wants to merge 1 commit into
apache:mainfrom
Xuanwo:xuanwo/parquet-opendal-example
Draft

docs(parquet): add OpenDAL read and write example#11014
Xuanwo wants to merge 1 commit into
apache:mainfrom
Xuanwo:xuanwo/parquet-opendal-example

Conversation

@Xuanwo

@Xuanwo Xuanwo commented Sep 7, 2026

Copy link
Copy Markdown
Member

Which issue does this PR close?

Related to #10308.

Rationale for this change

Demonstrate how to use OpenDAL with Parquet's generic async I/O interfaces, alongside the existing object_store example.

What changes are included in this PR?

Add an in-memory read/write example with AsyncFileReader and AsyncFileWriter adapters and a SpawnedReader demonstration. Point application developers to parquet_opendal for ready-made adapters. OpenDAL 0.59 is a development dependency with only the memory service enabled.

Are these changes tested?

The example asserts that both ordinary and dedicated-runtime reads reproduce the written RecordBatch. Formatting and whitespace checks pass.

Are there any user-facing changes?

A new example, runnable with cargo run -p parquet --example opendal --features async. No public API changes. OpenDAL 0.59 requires Rust 1.91, above this workspace's declared Rust 1.88 MSRV; this affects development targets that resolve/build the new dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant