Skip to main content

detect_i64_codec

Function detect_i64_codec 

Source
pub fn detect_i64_codec(values: &[i64]) -> ColumnCodec
Expand description

Detect the optimal codec for an i64 column by analyzing the data.

For partitions ≥ CASCADE_THRESHOLD values, selects cascading codecs. For smaller partitions, falls back to legacy single-step codecs.