Skip to main content

retained_arrow_bytes

Function retained_arrow_bytes 

Source
pub fn retained_arrow_bytes(batch: &RecordBatch) -> usize
Expand description

Arrow-reported retained array storage plus fixed batch/column charges.

Slices, nested arrays and views include their backing storage. Aliases are charged independently. Schema metadata, allocator overhead and caller-owned copies are excluded. Arithmetic overflow saturates so admission fails closed.