mz_expr::relation::func

Function lag_lead_inner

Source
fn lag_lead_inner<'a>(
    args: Vec<(Datum<'a>, Datum<'a>, Datum<'a>)>,
    lag_lead_type: &LagLeadType,
    ignore_nulls: &bool,
) -> Vec<Datum<'a>>
Expand description

Each element of args has the 3 arguments evaluated for a single input row. Returns the results for each input row.