fn calculate_selectivity(
target_boundaries: &[ExprBoundaries],
initial_boundaries: &[ExprBoundaries],
) -> Result<f64>Expand description
This function calculates the filter predicate’s selectivity by comparing the initial and pruned column boundaries. Selectivity is defined as the ratio of rows in a table that satisfy the filter’s predicate.