Function tidb_query_executors::fast_hash_aggr_executor::calc_groups_each_row[][src]

fn calc_groups_each_row<'a, TT: EvaluableRef<'a>, T: 'a + ChunkRef<'a, TT>, S, F>(
    physical_column: T,
    logical_rows: LogicalRows<'a>,
    aggr_fns: &[Box<dyn AggrFunction>],
    group: &mut HashMap<Option<S>, usize>,
    states: &mut Vec<Box<dyn AggrFunctionState>>,
    states_offset_each_logical_row: &mut Vec<usize>,
    map_to_sort_key: F
) -> Result<()> where
    S: Hash + Eq + Clone,
    F: Fn(Option<TT>) -> Result<Option<S>>,