substrait::df_logical_plan::consumer

Function from_substrait_agg_func

pub async fn from_substrait_agg_func(
    ctx: &SessionContext,
    f: &AggregateFunction,
    input_schema: &DFSchema,
    extensions: &HashMap<u32, &String>,
    filter: Option<Box<Expr>>,
    order_by: Option<Vec<Expr>>,
    distinct: bool,
) -> Result<Arc<Expr>, DataFusionError>
Expand description

Convert Substrait AggregateFunction to DataFusion Expr