Skip to content

feat(c/sedona-extension): Implement FFI wrapper for ArrowAsyncProducer API#914

Draft
paleolimbot wants to merge 16 commits into
apache:mainfrom
paleolimbot:extension-organized
Draft

feat(c/sedona-extension): Implement FFI wrapper for ArrowAsyncProducer API#914
paleolimbot wants to merge 16 commits into
apache:mainfrom
paleolimbot:extension-organized

Conversation

@paleolimbot

Copy link
Copy Markdown
Member

This is still a work in progress...this was largely generated and I keep catching lazy things the LLM did. In particular I think we need some more wrapper structs to ensure lifecycles stay in check. We don't need this quite yet but I wanted to put this up to point to.

The high-level goal is to implement an FFI wrapper around the SendableRecordBatchStream. DataFrames are, in essence, n asynchronous streams with some properties. The properties are more straightforward to sync across a boundary but the async stream is key to performance and the async interaction is complicated.

The Arrow Async Device interface was merged some time ago, mostly targeted at GPU interactions. However, care was taken at the time to ensure this could characterize a variety of asynchronous interactions. With repsect to sedona extensions, it means that we can write all async-critical interactions in terms of a record batch stream so we only have to deal with this interaction once.

@github-actions github-actions Bot requested a review from prantogg June 5, 2026 19:50
@paleolimbot paleolimbot force-pushed the extension-organized branch from 30a72a5 to a8089ce Compare June 22, 2026 21:23
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