Skip to main content

row_group_value_bytes_from_size_statistics

Function row_group_value_bytes_from_size_statistics 

Source
fn row_group_value_bytes_from_size_statistics(
    metadata: &ParquetMetaData,
) -> Vec<(u64, u64)>
Expand description

Returns (num_rows, value_bytes) of each row group, where value_bytes sums the unencoded_byte_array_data_bytes size statistic of the column chunks that var_len_value_bytes counts: top-level string and binary columns that readers do not decode as dictionaries.

This stands in for MAX_ROW_GROUP_VALUE_BYTES_KEY in footers written without it. Parquet writers record the statistic per value, so repeated dictionary-encoded values count every time. Column chunks written with statistics disabled lack the statistic and count as 0.