ASAPPlanner turns SQL, PromQL, and MetricsQL query workloads into legal candidate plans that may use Approximate Streaming Analytics Primitives (ASAPs), such as sketches and exact summaries. It normalizes language-specific queries into a shared representation, then enumerates and ranks semantically equivalent alternatives. Downstream systems choose, deploy, and execute a physical plan.
- New to the repository? Read the planner pipeline, then the glossary.
- Want to run a query? Follow Run and inspect a query.
- Embedding Planner? Use the library API guide.
- Extending Planner? Start with the ASAP-aware mapping architecture, then extend ASAP-aware mapping.
- Evaluating a design? Browse the design documentation, developer documentation, and user guides.
The documentation map gives each audience a complete reading path.
cargo build
cargo test --workspace
No external setup is required for the standard build and test suite.