alamb opened a new issue, #5384: URL: https://github.com/apache/arrow-rs/issues/5384
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.** Part of a discussion in Discord: https://discord.com/channels/885562378132000778/885562378132000781/1205552581422878730 @kylebarron notes that arrow-rs has an immutable [`OffsetBuffer`](https://docs.rs/arrow-buffer/latest/arrow_buffer/buffer/struct.OffsetBuffer.html) but no mutable builder counterpart. arrow2 had a mutable builder called [`Offsets`](https://docs.rs/arrow2/latest/arrow2/offset/struct.Offsets.html) to help building up the offsets, with helpers like try_push_usize that would enforce the monotonically increasing invariant As part of his arrow2 -> arrow-rs conversion he vendored that builder in my own code https://github.com/geoarrow/geoarrow-rs/blob/011e77736ac25c55141608c135852c1f5d3198dd/src/array/offset_builder.rs **Describe the solution you'd like** Consider upstreaming `OffsetBuilder` into arrow-rs **Describe alternatives you've considered** We can leave the current situation alone. **Additional context** <!-- Add any other context or screenshots about the feature request here. --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
