Closed
Description
Goal
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
e2equery carries eitherpromqlorsql.--query-languagepicks which entries are used; it's an error if none match. This also keeps PromQL--planner savedworking onalltables. recordsmetrics become SQL tables: labels →metadata_columns, values →value_columns, time columnts. ASQLControllerConfigis built from thesqlstrings, one query group perinterval_secs.- A query may read several RQEs (Add CI for building and pushing packages to ghcr #209 merges templates 14, 15 and 17). All of its picks must land on one deployment.
- 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-shared1andall-shared1plans, in both languages.
Out of scope
- Checking
sqlagainst the entry's other fields (table,value,grouping, …): sketch-bench's exporter owns that consistency. - Sending SQL queries from the e2e runner (feat(asap-tools): run sketch-bench workload tables end to end with the paced feeder #841).
Metadata
Metadata
Assignees
Labels
No labels
Activity
feat(planner): --planner saved for SQL (#856)
feat(planner): --planner saved for SQL (#866)