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
Kamarthi et al., “AHA: Alternative History Analytics for Operational Timeseries” (KDD 2026; ACM, arXiv), evaluate storing sparse, fine-grained decomposable state and constructing requested parent cohorts on read.
ASAPPlanner does not currently materialize every node of a complete group-by lattice by default. Existing physical candidates include per-observed-subpopulation instances, shared multi-subpopulation/Hydra structures, selected roll-ups, and CSE-based shared maintenance.
This issue evaluates an additional physical candidate:
ingest -> sparse leaf-state store
query -> on-demand grouping/roll-up over leaf states
The first deliverable is an ADR and costed experimental design. Selection must remain capability-gated until a downstream runtime can execute the representation.
Eligibility and correctness
The candidate is legal only when:
the required statistic has a declared decomposable/mergeable representation;
the leaf dimensions and grouping semantics are known;
the selected runtime advertises the required sparse leaf-state and on-read grouping capability.
Exact equivalence applies only to supported exact decomposable features, for example sum, count, and avg represented as sum + count. Mergeable sketches remain approximate according to their existing accuracy contract. Exact quantiles and computations requiring raw records are not eligible unless a separate exact representation is provided.
Cost model
Compare all alternatives in cost units per second, with state size reported separately in bytes.
If a finite comparison includes one-shot work, use an explicit horizon H:
total_cost(H) = recurring_cost_rate * H + one_shot_cost
Every estimate must carry units, input provenance, and cost-model version. Unknown cardinality or runtime cost must be represented as unknown, not fabricated as zero.
Required model inputs
active and theoretical leaf cardinality;
grouping dimensionality and attribute cardinalities;
update rate;
per-consumer evaluation interval;
requested grouping sets;
bytes per leaf/maintained summary;
update, lookup, read, and combine costs;
runtime capability metadata.
Scope
Write an ADR comparing current maintained-summary candidates with sparse leaf-state plus on-demand aggregation.
Survey existing exact summaries and sketches for decomposability/mergeability.
Define a deployment-neutral post-ASAP representation for the new candidate.
Define runtime capability gating and explicit unsupported cases.
Add an experimental replacement/physical-layout candidate only after the representation and cost contract are approved.
Context
Kamarthi et al., “AHA: Alternative History Analytics for Operational Timeseries” (KDD 2026; ACM, arXiv), evaluate storing sparse, fine-grained decomposable state and constructing requested parent cohorts on read.
ASAPPlanner does not currently materialize every node of a complete group-by lattice by default. Existing physical candidates include per-observed-subpopulation instances, shared multi-subpopulation/Hydra structures, selected roll-ups, and CSE-based shared maintenance.
This issue evaluates an additional physical candidate:
The first deliverable is an ADR and costed experimental design. Selection must remain capability-gated until a downstream runtime can execute the representation.
Eligibility and correctness
The candidate is legal only when:
Exact equivalence applies only to supported exact decomposable features, for example
sum,count, andavgrepresented assum + count. Mergeable sketches remain approximate according to their existing accuracy contract. Exact quantiles and computations requiring raw records are not eligible unless a separate exact representation is provided.Cost model
Compare all alternatives in cost units per second, with state size reported separately in bytes.
For a maintained summary/hierarchy candidate:
For sparse leaf-state plus on-demand aggregation:
For all repeating consumers sharing the physical state:
State estimates:
If a finite comparison includes one-shot work, use an explicit horizon
H:Every estimate must carry units, input provenance, and cost-model version. Unknown cardinality or runtime cost must be represented as unknown, not fabricated as zero.
Required model inputs
Scope
Acceptance criteria
sumandcountproduce results identical to raw execution;avgis validated throughsum + countif included.Non-goals