Skip to main content

Module stats

Module stats 

Source
Expand description

Per-column statistics for row groups and segments.

Statistics enable query predicate pushdown: if a row group’s min/max timestamps don’t overlap with a query’s time range, the entire row group can be skipped.

§Float ordering

Float values are stored as i64 using a total-order mapping that preserves comparison semantics for negative values. See f64_to_ordered_i64.

Structs§

ColumnStats
Statistics for a single column within a row group.

Constants§

COLUMN_STATS_SIZE
Size of serialized ColumnStats in bytes.

Functions§

f64_to_ordered_i64
Convert an f64 to an i64 that preserves total ordering.
ordered_i64_to_f64
Reverse the transformation done by f64_to_ordered_i64.