Skip to content

Expose Arrow C Data ABI structs in libduckdb-sys#778

Merged
mlafeldt merged 2 commits into
mainfrom
arrow-c-abi-structs
Jun 3, 2026
Merged

Expose Arrow C Data ABI structs in libduckdb-sys#778
mlafeldt merged 2 commits into
mainfrom
arrow-c-abi-structs

Conversation

@mlafeldt

@mlafeldt mlafeldt commented Jun 3, 2026

Copy link
Copy Markdown
Member

Define dependency-free ArrowArray and ArrowSchema layouts for DuckDB's Arrow conversion APIs, and block bindgen's opaque forward-declared versions so generated bindings use the concrete crate-local structs.

Lets downstream crates call DuckDB's new Arrow C APIs without redefining ArrowArray / ArrowSchema or depending on arrow-rs. Prepares duckdb-rs to adopt the new Arrow conversion APIs later.

@mlafeldt mlafeldt self-assigned this Jun 3, 2026
@mlafeldt mlafeldt added the Arrow label Jun 3, 2026
Define dependency-free ArrowArray and ArrowSchema layouts for DuckDB's
Arrow conversion APIs, and block bindgen's opaque forward-declared
versions so generated bindings use the concrete crate-local structs.
@mlafeldt mlafeldt force-pushed the arrow-c-abi-structs branch from 6ab46a4 to 8c286dd Compare June 3, 2026 13:32
@mlafeldt mlafeldt changed the title Expose Arrow C Data ABI structs Expose Arrow C Data ABI structs in libduckdb-sys Jun 3, 2026
@mlafeldt mlafeldt marked this pull request as ready for review June 3, 2026 13:40
@mlafeldt mlafeldt merged commit 8c06b03 into main Jun 3, 2026
7 checks passed
@mlafeldt mlafeldt deleted the arrow-c-abi-structs branch June 3, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant