Skip to main content

compile_statement_with_grid

Function compile_statement_with_grid 

Source
pub(crate) fn compile_statement_with_grid(
    stmt: &EvalStmt,
    grid: Arc<EvalGrid>,
) -> Result<NativeTree>
Expand description

Compiles stmt with an explicit evaluation grid, instead of the one its bounds derive.

A subquery root’s inner expression is evaluated on the subquery’s child grid, while the statement’s own bounds stay where @ start() and @ end() resolve against them.