Skip to main content

Module planner

Module planner 

Source

Re-exports§

pub use select::qualified_name;

Modules§

aggregate
GROUP BY and aggregate planning.
aggregate_order
Records the SELECT-list interleaving of GROUP BY keys and aggregate expressions so the output-schema builder emits aggregate result columns in the user’s SELECT order rather than a hardcoded group-keys-first order.
array_ddl
Planner for CREATE ARRAY and DROP ARRAY.
array_dml
Planner for INSERT INTO ARRAY and DELETE FROM ARRAY.
array_fn
Planner for ARRAY_* table-valued / scalar functions.
ast_helpers
Shared AST manipulation helpers for DML planners.
bitmap_emit
Planner analysis passes for selective-predicate → bitmap pushdown.
catalog_expr_fold
Recursive catalog-dependent expression validation and folding.
catalog_fold
Plan-time constant folding for catalog-dependent expressions.
catalog_plan_shapes
Catalog folding for reusable projection, ordering, aggregate, and window shapes.
catalog_plan_validate
Catalog-dependent expression validation across nested SQL plan shapes.
const_fold
Plan-time constant folding for SqlExpr.
cte
CTE (WITH clause) and WITH RECURSIVE planning.
dml
INSERT, UPDATE, DELETE planning.
dml_helpers
grouping_sets
ROLLUP / CUBE / GROUPING SETS expansion and canonical key extraction.
index_ddl
Planners for CREATE INDEX / DROP INDEX parsed via sqlparser.
join
JOIN planning: extract left/right tables, equi-join keys, join type.
lateral
LATERAL subquery planning.
merge
MERGE statement planning.
select
SELECT query planning: FROM → WHERE → GROUP BY → HAVING → SELECT → ORDER BY → LIMIT.
sort
ORDER BY planning and sort key extraction.
spatial_ctor
Spatial geometry constructors that appear in value position (INSERT VALUES, WHERE equality) and synthesise a GeoJSON string literal directly rather than resolving as registered scalar functions.
subquery
Subquery planning: IN (SELECT …), NOT IN (SELECT …), scalar subqueries.
union
UNION / UNION ALL planning.
window
Window function planning: WINDOW-clause resolution, frame conversion, and extraction of <func>() OVER (...) specs from a SELECT projection.