Skip to main content

plan_recursive_cte

Function plan_recursive_cte 

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

Plan a WITH RECURSIVE query.

Supports table-based recursive CTEs where the base case scans a real collection and the recursive step references both the collection and the CTE. Value-generating CTEs (no underlying collection) return an explicit unsupported error.