Skip to content

Expose FFI data structures fields #9771

@ashdnazg

Description

@ashdnazg

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I'm using arrow-rs's FFI_ArrowSchema and FFI_ArrowArray where pointers to schemas and arrays are transferred between threads, and therefore needed special release+private data wrappers over the ones created by this crate.

Describe the solution you'd like
This necessitated making their fields pub. The only disadvantage I see is adding stuff to the public API and force backwards compat, but since these are based on the arrow standard, that's kinda already the case.

Note that FFI_ArrowArrayStream already has public fields.

Describe alternatives you've considered
Add getters/setters. Unsure what the advantage would be, as that would be committing to an even broader API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrowChanges to the arrow crateenhancementAny new improvement worthy of a entry in the changelog

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions