You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A hand-built PhysicalASAPDAG with two roots, Filter(Raw(m)) shared through a OneEvaluation node, then Project/Sort/Limit per root. One batch evaluates both roots at T=1000 and computes the shared node once.
User need and MVP
The skeleton every later issue adds operators to. Simplest correct version only; no performance work (design doc, Principle).
Authoritative design
D1 (crate crates/query-time-batch-engine, package asap-query-time-batch-engine), D2, D3, D4, D6, D8, D15, D16. Use E0a's finding for re-running plans.
Input: InstallablePlan at install; per batch a list of (root, instant T | range) and the store handles.
Output: per entry, Arrow batches, NotReady, or Err.
Kept nodes (OneEvaluation/AcrossEvaluations) are cut points; each tree runs once per batch per (node, T); kept outputs go to the per-batch scratch store.
A plan with an operator not yet supported is refused at install as a whole.
One file per operator under lower/, one registration list.
Before and after behavior
Before: no DataFusion engine. After: hand-built plans with Filter, Project, Values, Concat, Sort, Limit over raw reads run end to end on in-memory stores.
Unit and end-to-end acceptance tests
Cutting: a DAG with a OneEvaluation node shared by two roots runs that node once per batch (counter on the in-memory raw store).
Dependency order: a tree reading a kept node runs after it.
NotReady from a view read fails only the entries that need it.
An unsupported operator refuses the plan at install.
Each operator: hand-written input and expected output.
Acceptance tests are written first by a separate agent and approved by a person.
Explicit non-goals
eval_time and time operators (E3), aggregates (E4a), sketches (E5a), SQL joins (E6), partitioning, memory limits.
Activity