substrait::df_logical_plan::consumer

Function from_substrait_extended_expr

pub async fn from_substrait_extended_expr(
    state: &dyn SubstraitPlanningState,
    extended_expr: &ExtendedExpression,
) -> Result<ExprContainer, DataFusionError>
Expand description

Convert Substrait ExtendedExpression to ExprContainer

A Substrait ExtendedExpression message contains one or more expressions, with names for the outputs, and an input schema. These pieces are all included in the ExprContainer.

This is a top-level message and can be used to send expressions (not plans) between systems. This is often useful for scenarios like pushdown where filter expressions need to be sent to remote systems.