Skip to main content

finish_histogram_group

Function finish_histogram_group 

Source
fn finish_histogram_group(
    op: AggregateOp,
    schema: &Arc<SeriesSchema>,
    group: Group,
    width: usize,
) -> Result<Option<Series>>
Expand description

Builds one group’s histogram result, or None when it has nothing left to answer.

A position’s answer is its live sum plus the compensation paired with it – what the kernel’s own sum does at the end of its fold – with the start timestamp cleared and the empty buckets dropped. A poisoned position was removed, so it contributes no value; a position that is poisoned in one field and answered in another still carries the row.