Expand description
This module provides data structures to represent statistics
Structs§
- Column
Statistics - Statistics for a column within a relation
- Statistics
- Statistics for a relation Fields are optional and can be inexact because the sources sometimes provide approximate estimates for performance reasons and the transformations output are not always predictable.
Enums§
- NdvFallback
- Fallback to use when NDV overlap can not be estimated from column bounds.
- Precision
- Represents a value with a degree of certainty.
Precisionis used to propagate information the precision of statistical values.
Functions§
- estimate_
ndv_ with_ overlap - Estimates the combined number of distinct values (NDV) when merging two column statistics, using range overlap to avoid double-counting shared values.