Skip to main content

Module context

Module context 

Source
Expand description

PhysicalPlanBuildContext: read-only context for building physical plans.

Contains only schema catalog, statistics, capability information, and planning configuration — never runtime handles, storage clients, transaction handles, or per-query mutable state.

This ensures the resulting PhysicalPlan is immutable, cacheable, and safe to share across concurrent executions.

Structs§

PhysicalPlanBuildContext
Read-only context used during [PhysicalPlan] construction.
PlanningConfig
Planning configuration flags and thresholds.
SchemaRef
Schema identifier for catalog lookups during plan building.
StatisticsSnapshot
Snapshot of table/index statistics used for cardinality estimation.