Skip to main content

coverage_agg

Function coverage_agg 

Source
pub fn coverage_agg(
    starts: &[i64],
    ends: &[i64],
    values: Option<&dyn Array>,
    length: Option<i64>,
    agg: Agg,
) -> Result<ArrowRle>
Expand description

Coverage of half-open intervals [start, end) with any aggregation.

Unlike coverage, positions no interval covers are null (for Agg::Count they are 0); use ArrowRle::fill_null to fill them. values are required except for Agg::Count.