Skip to main content

plan_statement_query

Function plan_statement_query 

Source
pub fn plan_statement_query(
    query: &Query,
    catalog: &dyn SqlCatalog,
    functions: &FunctionRegistry,
    temporal: TemporalScope,
) -> Result<SqlPlan>
Expand description

Plan a SELECT query that produces the statement’s result rows.

Only this SELECT list may hold a Control-Plane-computed item (a sequence accessor over a relation): the Control Plane evaluates the statement’s output rows and nothing deeper.