Module reduce

Source

StructsΒ§

AccumOutput πŸ”’
Accumulate the output of aggregation functions
ReduceArrange
All arrange(aka state) used in reduce operator

FunctionsΒ§

batch_split_by_key_val πŸ”’
check_no_future_updates πŸ”’
eval_distinct_aggrs πŸ”’
Eval distinct aggregate functions with distinct input arrange
eval_distinct_core πŸ”’
return distinct rows(distinct by row’s key) from the input, but do not update the arrangement
eval_simple_aggrs πŸ”’
Eval simple aggregate functions with no distinct input
from_accum_values_to_live_accums πŸ”’
from_accums_to_offsetted_accum πŸ”’
convert a list of accumulators to a vector of values with first value as offset of end of each accumulator
from_val_to_slice_idx πŸ”’
Convert a value to a list of slice index
get_col_diffs πŸ”’
reduce_accum_subgraph πŸ”’
eval accumulable reduce plan by eval aggregate function and reduce the result
reduce_batch_subgraph πŸ”’
reduce_distinct_subgraph πŸ”’
eval distinct reduce plan, output the distinct, and update the arrangement
reduce_subgraph πŸ”’
reduce subgraph, reduce the input data into a single row output is concat from key and val
split_rows_to_key_val πŸ”’
split a row into key and val by evaluate the key and val plan
update_reduce_distinct_arrange πŸ”’
eval distinct reduce plan, output the distinct, and update the arrangement