Skip to main content

logical_column_memory_size

Function logical_column_memory_size 

Source
fn logical_column_memory_size(array: &dyn Array) -> usize
Expand description

Returns Arrow’s logical slice memory size of a single column.

This is array.to_data().get_slice_memory_size(), with the full buffer size as a conservative fallback when Arrow cannot calculate the slice size. Flat columns are measured from their typed array (see flat_slice_memory_size) so that no ArrayData is materialized for them.