Skip to main content

eval

Function eval 

Source
pub fn eval(
    expr: &Expr,
    env: &HashMap<MeasureId, CellValue>,
) -> Result<Option<CellValue>, ScalarError>
Expand description

Evaluate expr with each referenced measure’s value taken from env.

Ok(None) means a referenced input is missing (SQL NULL in, NULL out).