Skip to main content

Module scalar

Module scalar 

Source
Expand description

AST-independent scalar physical IR shared by the planner and executors.

Structs§

ScalarEvalContext
ScalarOrder
ScalarWindowFrame
ScalarWindowSpec
SubqueryResult
Pull-based scalar-subquery result. Scalar, EXISTS, and IN consumers never need to materialize the complete child relation: they respectively inspect at most two rows, one row, or one row at a time.

Enums§

ScalarExpr
ScalarFrameBound

Traits§

ScalarSubqueryRunner
Runtime callback for query children referenced by SubqueryId. The planner owns the actual query-plan arena; execution only needs this stable slot interface.

Functions§

eval_call_arguments
eval_scalar
Evaluate the physical scalar tree directly. No parser expression is reconstructed at this boundary.

Type Aliases§

SubqueryId
Index into the query children owned by the enclosing expression plan.