Skip to main content

read_histogram

Function read_histogram 

Source
pub fn read_histogram(
    array: &StructArray,
    row: usize,
) -> Result<Option<NativeHistogram>>
Expand description

Decodes one native histogram row into the query-time NativeHistogram model.

A null struct returns Ok(None). Integer payloads are converted to absolute f64 counts, and malformed child fields or span layouts return an error.