Function mz_compute::render::context::specialized_arrangement_key
source · fn specialized_arrangement_key<K, V>(
key: Vec<MirScalarExpr>,
thinning: Vec<usize>,
key_types: Option<Vec<ColumnType>>,
val_types: Option<Vec<ColumnType>>
) -> impl FnMut(Row) -> Result<(K, V), DataflowError>where
K: Columnation + Data + FromRowByTypes,
V: Columnation + Data + FromRowByTypes,
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.