Skip to main content

row_group_size_for

Function row_group_size_for 

Source
pub(crate) fn row_group_size_for(
    rows: u64,
    bytes: u64,
    configured: usize,
) -> usize
Expand description

Returns the row group size for data of rows rows and bytes uncompressed bytes.

The size comes from the average row width of the whole input, so a few wide rows at the start of a file do not shrink the row groups of the rest. Rows wider than the average can still make single row groups larger than the target.