macro_rules! make_stats_iterator {
($iterator_type:ident, $func:ident, $parquet_statistics_type:path, $stat_value_type:ty) => { ... };
}Expand description
Define an adapter iterator for extracting statistics from an iterator of
ParquetStatistics
Handles checking if the statistics are present and valid with the correct type.
Parameters:
$iterator_typeis the name of the iterator type (e.g.MinBooleanStatsIterator)$funcis the function to call to get the value (e.g.minormax)$parquet_statistics_typeis the type of the statistics (e.g.ParquetStatistics::Boolean)$stat_value_typeis the type of the statistics value (e.g.bool)