pub(crate) fn file_time_span(path: &Path) -> Result<Option<(i64, i64)>>Expand description
Finds the earliest and latest timestamp in one archived file.
Uses the min/max statistics of the timestamp column in each row group, so normally only the footer is read. A row group without usable statistics has its timestamp column decoded instead.
§Arguments
path- Parquet file to inspect.
§Returns
(min_ns, max_ns), or None if the file has no rows.
§Errors
Returns an error if the file cannot be opened or parsed, or a row group without statistics cannot be read.