pub fn prep_scalar_expr(
    state: &CatalogState,
    expr: &mut MirScalarExpr,
    style: ExprPrepStyle<'_>
) -> Result<(), CoordError>
Expand description

Prepares a scalar expression for execution by handling unmaterializable functions.

Specifically, calls to unmaterializable functions are replaced if style is OneShot. If style is Index, then an error is produced if a call to a unmaterializable function is encountered.