Skip to main content

row_bytes

Function row_bytes 

Source
fn row_bytes(column: &dyn Array) -> Option<usize>
Expand description

The bytes one selected point copies out of column, None for a column type this path does not carry.

take allocates one row of the column per point, so one point costs the widest row the column holds: the width of its value for a fixed-width column; value bytes for Utf8 or LargeUtf8 (the output offsets buffer is accounted once in workspace_bytes), a view descriptor plus value bytes for Utf8View (a conservative allowance because short views may point into shared buffers), dictionary key bytes for string dictionaries (whose values remain shared), and the whole row for a struct such as a native histogram – its scalar columns, the offsets of its list columns and their widest values.