Skip to main content

plan_query_with

Function plan_query_with 

Source
pub fn plan_query_with(
    sql: &str,
    opts: &PlannerOptions,
) -> Result<LogicalPlan, OxiSqlError>
Expand description

Parse sql, then plan it using the given PlannerOptions.

This is the top-level entry point for callers that want to control decorrelation behaviour without going through a PlanCache.

§Errors

Returns OxiSqlError::Parse if parsing or planning fails.