Skip to main content

expr_to_proof_expr

Function expr_to_proof_expr 

Source
pub fn expr_to_proof_expr(
    expr: &Expr,
    schema: &[(Ident, ColumnType)],
) -> PlannerResult<DynProofExpr>
Expand description

Convert a DataFusion Expr into a provable DynProofExpr, using schema to resolve column references and their types.

ยงErrors

Returns a PlannerError if the expression (or any subexpression) is unsupported, references an unknown column, or cannot be lowered to a DynProofExpr.