Skip to main content

decode_native_histogram_for_remote_read

Function decode_native_histogram_for_remote_read 

Source
pub fn decode_native_histogram_for_remote_read(
    array: &StructArray,
    row: usize,
    timestamp: i64,
) -> Result<Option<Histogram>, NativeHistogramError>
Expand description

Decodes a stored histogram without rounding integer counts through f64.

Null structs are absent samples. Malformed or sampled-wire-incompatible values are errors. The sampled format has no field for start_timestamp.