tustvold commented on issue #5352: URL: https://github.com/apache/arrow-rs/issues/5352#issuecomment-1919983658
There is https://docs.rs/arrow-data/latest/arrow_data/struct.ArrayData.html#method.get_slice_memory_size but if you're only interested in strings you could do something like ``` let offsets = array.offsets(); let total_length = offsets.last().unwrap().as_usize() - offsets.first().unwrap().as_usize(); ``` -- 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]
