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
{{ message }}
Repository navigation
Add data-plane and query-engine support for new aggregation families #787
#762 introduces optimizer-facing aggregation families and their capability/SLA metadata. This issue makes those families deployable by implementing them in the data plane and query execution paths.
Scope
Implement end-to-end runtime support for the aggregation families added by #762:
DDSketch for quantiles
CountSketch and CountSketchWithHeap / sketchlib CSHeap for frequency and heavy-hitter queries
UnivMon where its query semantics are defined
For each supported family:
Map the ASAPQuery AggregationType to the corresponding asap_sketchlib implementation and validate parameters.
Construct and update the state in the streaming/data-plane accumulator factory.
Serialize, merge, and window the state correctly, including supported subtract/delta behavior.
Implement query-time decoding and evaluation in the query engine.
Return results with the correct PromQL/SQL semantics, including top-k ordering and query weighting.
Add focused unit tests plus end-to-end plans that the optimizer can generate and the engine can execute.
Remove the explicit unsupported-aggregation-type error for a family only when its complete execution path is covered. Until then it remains optimizer-only and gated by --milp-allow-unsupported-sketches.
Activity