Function mz_compute::render::context::specialized_arrangement_key

source ยท
fn specialized_arrangement_key<K, V>(
    key: Vec<MirScalarExpr>,
    thinning: Vec<usize>,
) -> impl FnMut(Row) -> Result<(K, V), DataflowError>
Expand description

Obtains a function that maps input rows to (key, value) pairs according to the given key and thinning expressions. This function allows for specialization of key and value types and is intended to use to form arrangement keys.