matthewmturner commented on issue #208: URL: https://github.com/apache/arrow-rs/issues/208#issuecomment-918286125
@jorgecarleitao I believe this is done in `write_generic_binary` using ``` let first = *offsets.first().unwrap(); let last = *offsets.last().unwrap(); ``` and then writing to buffer based on those values. Given the different approaches here between `arrow` and `arrow2` is there a preference for how to handle within `arrow`? I was thinking we could use the `RecordBatch::slice` method within `record_batch_to_bytes` before writing the data. -- 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]
