Module stats

Source
Expand description

Persist Stats for non-primitive types.

For primitive types please see mz_persist_types::stats.

Structsยง

JsonVisitor ๐Ÿ”’

Functionsยง

col_values
Returns a (lower, upper) bound from the provided ColumnStatKinds, if applicable.
decode_numeric
Decodes the lower and upper bound from PrimitiveStats<Vec<u8>> as Numerics.
fixed_stats_from_column
Return the stats for a fixed-size bytes column, defaulting to an appropriate value if no values are present.
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