fn max_distinct_count(
num_rows: &Precision<usize>,
stats: &ColumnStatistics,
) -> Precision<usize>Expand description
Estimate the number of maximum distinct values that can be present in the given column from its statistics. If distinct_count is available, uses it directly. Otherwise, if the column is numeric and has min/max values, it estimates the maximum distinct count from those. Otherwise, the num_rows is used.