collect_new_statistics

Function collect_new_statistics 

Source
fn collect_new_statistics(
    input_column_stats: &[ColumnStatistics],
    analysis_boundaries: Vec<ExprBoundaries>,
) -> Vec<ColumnStatistics>
Expand description

This function ensures that all bounds in the ExprBoundaries vector are converted to closed bounds. If a lower/upper bound is initially open, it is adjusted by using the next/previous value for its data type to convert it into a closed bound.