Skip to main content

Crate kyma_plan

Crate kyma_plan 

Source
Expand description

Unified logical-plan IR, optimizer, and parser-plugin registry.

kyma-plan’s LogicalPlan is the frontend-neutral IR that every kyma_core::query_frontend::QueryFrontend produces and that kyma-exec lowers to DataFusion.

§Module map

  • logical_plan — the unified plan enum (frontend-neutral).
  • optimizer — rewrite rules (telemetry-specific + generic).
  • query_frontend_registry — routes queries by Content-Type to the right registered frontend and unpacks its opaque plan.

Modules§

logical_plan
The unified logical-plan IR.
optimizer
Optimizer rules for the unified logical plan.
query_frontend_registry
The QueryFrontendRegistry — routes queries to the right registered frontend by Content-Type and unpacks the opaque plan payload into the concrete LogicalPlan.