avantgardnerio commented on issue #1981: URL: https://github.com/apache/arrow-rs/issues/1981#issuecomment-1315682551
Instead of copying-on-write (or maybe in addition to), how would we feel about an `AppendOnlyArrayBuilder` that never calls any method that would cause `MutableBuffer` to `realloc()` and move any pointers? If we had that, we could have `AppendableRecordBatch`s, and a `borrow() -> &RecordBatch` (as opposed to `.finish()`) that would allow use to append (but not mutate) data, while still being able to do all the fun stuff we can do with `RecordBatch`es today (query in DataFusion, export to parquet, etc). -- 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]
