Function min_max_from_parquet_metadata

Source
pub fn min_max_from_parquet_metadata(
    file_path: &PathBuf,
    column_name: &str,
) -> Result<(i64, i64)>
Expand description

Extracts the minimum and maximum i64 values for the specified column_name from a Parquet file’s metadata.

§Errors

Returns an error if the file cannot be read, metadata parsing fails, or the column is missing or has no statistics.

§Panics

Panics if the Parquet metadata’s min/max unwrap operations fail unexpectedly.