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.
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
I'm using
arrow-rs'sFFI_ArrowSchemaandFFI_ArrowArraywhere 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_ArrowArrayStreamalready 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.