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
feat(planner): --planner saved for SQL (multigroup e2e tables) #856
Let asap-planner --planner saved --query-language sql turn a sketch-bench plan for the multigroup/all tables into streaming_config.yaml and inference_config.yaml, as #828 does for PromQL. The end-to-end eval (#862) runs the all workload's 52 multigroup SQL queries this way.
sketch-bench#209 gives the multi-grouping templates (11–17) structured e2e entries. Each entry carries its ASAPQuery SQL in sql (e.g. SELECT region, QUANTILE(0.99, latency) FROM http WHERE ts BETWEEN DATEADD(s, -300, NOW()) AND NOW() GROUP BY region), and the table's metrics are records tables.
Scope
An e2e query carries either promql or sql. --query-language picks which entries are used; it's an error if none match. This also keeps PromQL --planner saved working on all tables.
records metrics become SQL tables: labels → metadata_columns, values → value_columns, time column ts. A SQLControllerConfig is built from the sql strings, one query group per interval_secs.
Fixture tests: a SQL table with a roll-up pick, a query reading several RQEs, a split pick and a plan from another table (both refused), and an all-style table run in each language.
Manual check: convert sketch-bench#212's 10/s multigroup-shared1 and all-shared1 plans, in both languages.
Out of scope
Checking sql against the entry's other fields (table, value, grouping, …): sketch-bench's exporter owns that consistency.
Activity
feat(planner): --planner saved for SQL (#856)
feat(planner): --planner saved for SQL (#866)