Expand description
Persist Stats for non-primitive types.
For primitive types please see mz_persist_types::stats.
Structsยง
- Json
Visitor ๐
Functionsยง
- col_
values - Returns a
(lower, upper)bound from the providedColumnStatKinds, if applicable. - decode_
numeric - Decodes the lower and upper bound from
PrimitiveStats<Vec<u8>>asNumerics. - fixed_
stats_ from_ column - Return the stats for a fixed-size bytes column, defaulting to an appropriate value if no values are present.
- float_
bounds ๐ - Persist computes float column bounds in IEEE-754 total order, in which
negative NaNs sort below -Infinity.
Datumfloats compare viaOrderedFloat, which ranks every NaN (of either sign) above every other value. A lower bound that is a negative NaN therefore admits both NaNs (the largest values underDatumordering) and ordinary values up toupper, a set noDatuminterval can bound, so no bounds are returned and the column is treated as unconstrained. The one exception is an upper bound that is also a negative NaN, which under total order means every value in the column is a NaN. - numeric_
stats_ from_ column - Take the smallest / largest numeric values for a numeric col. TODO: use the float data for this instead if it becomes a performance bottleneck.
- soft_
expect_ ๐or_ log - stats_
for_ json