merge_expressions

Function merge_expressions 

Source
fn merge_expressions(
    index_base: usize,
    expr: &AggregateFunctionExpr,
) -> Result<Vec<Arc<dyn PhysicalExpr>>>
Expand description

uses state_fields to build a vec of physical column expressions required to merge the AggregateFunctionExpr’ accumulator’s state.

index_base is the starting physical column index for the next expanded state field.