Skip to main content

lower_select_statement

Function lower_select_statement 

Source
pub fn lower_select_statement(
    statement: &Statement,
) -> Result<MirGraph, SqlError>
Expand description

Lowers an already-parsed SELECT Statement into an MirGraph.

Skips the byte-budget check (the input is no longer textual at this point) but still produces graphs that should be size-checked by the caller via enforce_graph_size.

ยงErrors

SqlError::UnsupportedStatement on non-SELECT input, plus any downstream lowering error.