Module mz_sql::plan

source · []
Expand description

SQL planning.

SQL planning is the process of taking the abstract syntax tree of a Statement and turning it into a Plan that the dataflow layer can execute.

Statements must be purified before they can be planned. See the pure module for details.

Structs

Enums

Just like MirRelationExpr, except where otherwise noted below.

Just like mz_expr::MirScalarExpr, except where otherwise noted below.

Instructions for executing a SQL query.

Specifies how long a query will live. This impacts whether the query is allowed to reason about the time at which it is running, e.g., by calling the now() function.

Specifies when a Peek or Tail should occur.

Functions

Creates a description of the purified statement stmt.

Produces a Plan from the purified statement stmt.