diff --git a/crates/devtools/src/bin/stage_pipeline.rs b/crates/devtools/src/bin/stage_pipeline.rs index d789efa4..04febc60 100644 --- a/crates/devtools/src/bin/stage_pipeline.rs +++ b/crates/devtools/src/bin/stage_pipeline.rs @@ -17,11 +17,13 @@ // enumeration order and capped by `--max-candidates` (default 64). A // repeating query's mergeable alternatives also come in tumbling panes // (Pass 2's window-composition rule), e.g. "Q1 Kll · tumbling 1m panes"; -// - stage2_physical_asap: one physical candidate per logical candidate -// (operator implementation only, everything at query time), no cost; +// - stage2_physical_asap: per logical candidate, its physical candidates +// (operator implementation; everything at query time, then one per +// down-closed set of summaries maintained at ingestion time, labeled +// e.g. "· ingestion time: Kll ×5 panes"), no cost; // - stage3_selection: per-candidate costs, the selected candidate, and -// every other candidate as rejected (`valid: false`, including one that -// could not be built) or costlier. +// every other candidate as rejected (`valid: false`: inaccurate, over a +// latency bound, or could not be built) or costlier. // // Everything is the library's `plan_selection::plan_stages`, the function the // facade runs; this tool only serializes it. Stage 3 here is over every @@ -166,7 +168,11 @@ fn stage_pipeline(workload: &PlanningWorkload, max_candidates: usize) -> Result< candidates .push(json!({ "id": format!("L{index}"), "label": label, "dag": export(&roots)? })); } - if let Some(p) = &candidate.physical { + for p in &candidate.physical { + let label = match p.materialization.as_str() { + "" => label.clone(), + m => format!("{label} · {m}"), + }; stage2.push( json!({ "id": p.id, "from_logical": p.from_logical, "label": label, "dag": p.dag }), ); diff --git a/crates/devtools/tests/stage_pipeline.rs b/crates/devtools/tests/stage_pipeline.rs index b7c63983..1b775754 100644 --- a/crates/devtools/tests/stage_pipeline.rs +++ b/crates/devtools/tests/stage_pipeline.rs @@ -10,7 +10,7 @@ use serde_json::Value; const COMMITTED: &str = "../../tools/dag-viewer/examples/planner-layering-example1.json"; -/// Every Example 1 candidate (88) is displayed; the default cap is 64. +/// Every Example 1 logical candidate (88) is displayed; the default cap is 64. const EXAMPLE1: [&str; 4] = ["--example", "planner-layering-1", "--max-candidates", "128"]; fn generate(args: &[&str]) -> Value { @@ -51,7 +51,7 @@ fn validated_dag(value: &Value, queries: usize) { /// Every logical DAG is a well-formed flat DAG and every physical DAG validates; /// each has one root per query; ids are unique; -/// Stage 2 maps Stage 1 one-to-one with no cost; Stage 3 accounts for every +/// Stage 2 covers every Stage 1 candidate, with no cost; Stage 3 accounts for every /// Stage 2 candidate once and costs exactly the valid ones; the committed /// fixture is current. #[test] @@ -86,7 +86,9 @@ fn example1_document_is_valid_and_committed_fixture_is_current() { .iter() .map(|p| p["from_logical"].as_str().unwrap()) .collect(); - assert_eq!(physical.len(), candidates.len()); + // One all-query-time candidate per logical one, plus one with Q2's sum + // panes at ingestion time for each of the 24 with panes. + assert_eq!(physical.len(), candidates.len() + 24); assert_eq!(sources, ids); for candidate in physical { assert!(candidate.get("cost").is_none(), "Stage 2 has no cost"); diff --git a/crates/integration-tests/tests/planner_layering_common/mod.rs b/crates/integration-tests/tests/planner_layering_common/mod.rs index 75d12f97..3d6fc930 100644 --- a/crates/integration-tests/tests/planner_layering_common/mod.rs +++ b/crates/integration-tests/tests/planner_layering_common/mod.rs @@ -357,7 +357,7 @@ pub fn run_stages(workload: &PlanningWorkload, roots: Vec) -> Run { let mut logical = Vec::new(); let mut physical = Vec::new(); for c in enumeration.candidates { - let p = c.physical.expect("every candidate builds"); + assert!(!c.physical.is_empty(), "every candidate builds"); let roots: Vec<_> = c .logical .expect("composes") @@ -366,18 +366,20 @@ pub fn run_stages(workload: &PlanningWorkload, roots: Vec) -> Run { .collect(); let (dag, query_roots) = export(&roots); logical.push(Logical { - id: p.from_logical.clone(), + id: c.physical[0].from_logical.clone(), shared_input: c.sharing.merges_after_composition(), dag, query_roots, }); - physical.push(Physical { - id: p.id.clone(), - from_logical: p.from_logical.clone(), - dag: p.dag.clone(), - query_roots: p.dag.roots.clone(), - stage2: p, - }); + for p in c.physical { + physical.push(Physical { + id: p.id.clone(), + from_logical: p.from_logical.clone(), + dag: p.dag.clone(), + query_roots: p.dag.roots.clone(), + stage2: p, + }); + } } Run { stage0, diff --git a/crates/integration-tests/tests/planner_layering_example1.rs b/crates/integration-tests/tests/planner_layering_example1.rs index 212fd70e..56c949b9 100644 --- a/crates/integration-tests/tests/planner_layering_example1.rs +++ b/crates/integration-tests/tests/planner_layering_example1.rs @@ -8,12 +8,14 @@ //! //! MVP scope: Stage 1 = Pass 1 + the identical-expression rule + the //! window-composition rule's tumbling windows; Stage 2 = physical operator -//! implementation only (no materialization). Counts follow the planner's -//! output (user decision): 1 → 88 → 88 → 1, because Pass 1 also offers exact -//! accumulators and whole-expression top-k sketches, Q2's exact sum also -//! comes in 10-s tumbling panes (44 combinations; rates and top-k heaps do -//! not merge, #580), and Pass 2 adds a shared-input variant of each. The -//! doc's 1 → 54 → 156 → 1 needs sliding windows, Hydra and materialization. +//! implementation and materialization (ingestion time or query time per +//! summary). Counts follow the planner's output (user decision): +//! 1 → 88 → 112 → 1, because Pass 1 also offers exact accumulators and +//! whole-expression top-k sketches, Q2's exact sum also comes in 10-s +//! tumbling panes (44 combinations; rates and top-k heaps do not merge, +//! #580), Pass 2 adds a shared-input variant of each, and Stage 2 adds a +//! maintained-pane candidate for each of the 24 with panes. The doc's +//! 1 → 54 → 156 → 1 needs sliding windows and Hydra. use std::collections::{BTreeMap, BTreeSet, HashSet}; @@ -173,7 +175,11 @@ mod stages { .candidates .into_iter() .map(|c| { - let physical = c.physical.expect("every Example 1 candidate builds"); + let physical = c + .physical + .into_iter() + .next() + .expect("every Example 1 candidate builds"); let label = format!( "{:?}{}", c.choice, @@ -193,31 +199,52 @@ mod stages { .collect() } - /// Stage 2: physical operator implementation of every logical candidate - /// (no materialization in the MVP). + /// Stage 2: physical operator implementation of every logical candidate, + /// and one candidate per materialization choice (all query time first, + /// `P`; then `P-m`). pub fn stage2_physical( - _workload: &PlanningWorkload, + workload: &PlanningWorkload, logical: &[LogicalCandidate], ) -> Vec { + let demand: Vec<_> = workload + .query_workload + .entries() + .map(|entry| asap_types::workload::RootDemand::from(&entry)) + .collect(); + let data = workload.data_workload.as_ref().expect("data workload"); logical .iter() .enumerate() - .map(|(index, l)| { - let mut stage2 = + .flat_map(|(index, l)| { + let stage2 = asap_physical_optimizer::implementation::physical_candidates::stage2_physical( - &l.id, &l.roots, + &l.id, + &l.roots, + &demand, + data, + &|_| None, ) .unwrap_or_else(|e| panic!("{}: {e}", l.id)); - stage2.id = format!("P{}", index + 1); - stage2.label = l.label.clone(); - PhysicalCandidate { - id: stage2.id.clone(), - from_logical: stage2.from_logical.clone(), - label: stage2.label.clone(), - dag: stage2.dag.clone(), - query_roots: stage2.dag.roots.clone(), - stage2, - } + assert!(stage2.exhaustive, "{}", l.id); + stage2 + .candidates + .into_iter() + .enumerate() + .map(move |(k, mut stage2)| { + stage2.id = match k { + 0 => format!("P{}", index + 1), + k => format!("P{}-m{k}", index + 1), + }; + stage2.label = l.label.clone(); + PhysicalCandidate { + id: stage2.id.clone(), + from_logical: stage2.from_logical.clone(), + label: stage2.label.clone(), + dag: stage2.dag.clone(), + query_roots: stage2.dag.roots.clone(), + stage2, + } + }) }) .collect() } @@ -292,6 +319,9 @@ use stages::*; // ── Example 1 workload ─────────────────────────────────────────────────── const Q1: &str = "sum by (job) (rate(http_requests_total[1m]))"; +/// Count-Min + heap candidates: 32 logical, 8 of them also with Q2's sum +/// panes maintained. +const COUNT_MIN_WITHIN_LATENCY: usize = 40; const Q2: &str = "topk by (job) (10, sum_over_time(http_requests_total[1m]))"; fn declared(value: T) -> Evidence { @@ -797,11 +827,25 @@ fn stage1_candidates_are_valid_and_uniquely_named() { // ── Stage 2 ────────────────────────────────────────────────────────────── -/// No candidate is discarded before Stage 3: Stage 2 maps the 88 logical candidates one-to-one. +/// No candidate is discarded before Stage 3: each of the 88 logical +/// candidates keeps its all-query-time physical candidate, and the 24 whose +/// Q2 sum comes in 10-s panes also get one with the panes at ingestion time +/// (the panels repeat predictably over arriving data): 112. #[test] fn stage2_keeps_every_logical_candidate() { let (_, logical, physical) = pipeline(); - assert_eq!(physical.len(), 88); + assert_eq!(physical.len(), 112); + let maintained: Vec<_> = physical + .iter() + .filter(|p| !p.stage2.materialization.is_empty()) + .collect(); + assert_eq!(maintained.len(), 24); + for p in maintained { + assert_eq!( + p.stage2.materialization, + "ingestion time: exact Sum ×6 panes" + ); + } let sources: BTreeSet<_> = physical.iter().map(|p| p.from_logical.as_str()).collect(); let logical_ids: BTreeSet<_> = logical.iter().map(|c| c.id.as_str()).collect(); assert_eq!(sources, logical_ids); @@ -809,15 +853,19 @@ fn stage2_keeps_every_logical_candidate() { assert_eq!(ids.len(), physical.len()); } -/// Stage 2 preserves each logical candidate's Q2 option and input sharing. +/// Stage 2 preserves each logical candidate's Q2 option and input sharing, +/// except that maintained panes cannot share the scan with Q1, which reads it +/// at query time: the scan is copied per phase. #[test] fn stage2_preserves_logical_choices() { let (_, logical, physical) = pipeline(); for p in &physical { let source = logical.iter().find(|c| c.id == p.from_logical).unwrap(); + let (option, shared) = classify(&source.dag, &source.query_roots); + let maintained = !p.stage2.materialization.is_empty(); assert_eq!( classify(&p.dag, &p.query_roots), - classify(&source.dag, &source.query_roots), + (option, shared && !maintained), "{} vs {}", p.id, source.id @@ -833,7 +881,8 @@ fn stage2_exact_topk_is_sort_then_limit() { .iter() .filter(|p| classify(&p.dag, &p.query_roots).0 == Q2Option::Exact) .collect(); - assert_eq!(exact.len(), 24); + // 24 logical, 8 of which also maintain Q2's sum panes. + assert_eq!(exact.len(), 32); for p in exact { let sort_then_limit = p.dag.edges.iter().any(|e| { relational(payload(&p.dag, e.producer)).as_deref() == Some("sort") @@ -888,19 +937,32 @@ fn stage2_summary_topk_is_build_then_estimate() { } } -/// With no materialization in the MVP, every node runs at query time. +/// Only Q2's sum panes and their inputs run at ingestion time, and only in +/// the candidates that maintain them; every other node runs at query time. #[test] -fn stage2_everything_runs_at_query_time() { +fn stage2_only_maintained_panes_run_at_ingestion_time() { let (_, _, physical) = pipeline(); for p in &physical { + let maintained = !p.stage2.materialization.is_empty(); + let mut panes = 0; for n in &p.dag.nodes { - assert!( - !runs_at_ingestion(p, n.id), - "{}: {:?} at ingestion", - p.id, - n.id - ); + if !runs_at_ingestion(p, n.id) { + continue; + } + assert!(maintained, "{}: {:?} at ingestion", p.id, n.id); + match &n.payload { + Operator::ASAP(ASAPOp::SummaryAgg { .. }) => panes += 1, + other => assert!( + matches!( + relational(other).as_deref(), + Some("scan" | "time_shift" | "time_range") + ), + "{}: {other:?} at ingestion", + p.id + ), + } } + assert_eq!(panes, if maintained { 6 } else { 0 }, "{}", p.id); } } @@ -957,14 +1019,16 @@ fn compile_in_runtime(p: &PhysicalCandidate) -> Result<(), String> { /// The physical planner compiles every candidate Stage 3 finds valid, and /// rejects the invalid ones (Count-Min over weights not proven non-negative) -/// for the same reason Stage 3 gives. Returns the number of invalid ones. +/// for the same reason Stage 3 gives. A candidate over Q2's 100 ms latency +/// bound compiles; the bound is Stage 3's alone. Returns the number of +/// candidates invalid for their weights. fn assert_runtime_agrees_with_stage3(workload: PlanningWorkload) -> usize { let (workload, _, physical) = pipeline_for(workload); let selection = stage3_select(&workload, &physical, PlanningModels::builtin()); let invalid: BTreeMap<_, _> = selection .rejected .iter() - .filter(|r| !r.valid) + .filter(|r| !r.valid && !r.reason.contains("latency bound")) .map(|r| (r.id.as_str(), r.reason.as_str())) .collect(); for p in &physical { @@ -997,13 +1061,14 @@ fn stage2_runtime_compiles_every_candidate_over_a_declared_counter() { } /// Without the counter declaration, or with a gauge, the Count-Min + heap -/// candidates are invalid in Stage 3 and the runtime rejects them. +/// candidates are invalid in Stage 3 and the runtime rejects them (those +/// within Q2's latency bound; the rest are rejected for latency first). #[test] fn stage2_count_min_needs_a_counter_declaration() { for metric_type in [None, Some(MetricType::Gauge)] { assert_eq!( assert_runtime_agrees_with_stage3(example1_workload_with(metric_type)), - 32, + COUNT_MIN_WITHIN_LATENCY, "{metric_type:?}: the Count-Min + heap candidates" ); } @@ -1082,10 +1147,42 @@ fn stage3_selects_cheapest_valid() { } } +/// Q2 asks for 100 ms (S6): Stage 3 rejects exactly the candidates whose +/// query-time work for Q2 takes longer in one evaluation, at one cost unit +/// (a CPU-ms) per ms. Count-Sketch + heap is over the bound in every form; +/// the selected plan is within it. +#[test] +fn stage3_rejects_candidates_over_the_latency_bound() { + let (workload, _, physical) = pipeline(); + let selection = stage3_select(&workload, &physical, PlanningModels::builtin()); + let over: BTreeSet<_> = selection + .rejected + .iter() + .filter(|r| !r.valid && r.reason.contains("latency bound")) + .map(|r| { + assert!(r.reason.starts_with("q2: "), "{}: {}", r.id, r.reason); + r.id.as_str() + }) + .collect(); + assert!(!over.is_empty()); + assert!(!over.contains(selection.selected.as_str())); + for p in &physical { + let count_sketch = p.dag.nodes.iter().any(|n| { + matches!(&n.payload, Operator::ASAP(ASAPOp::SummaryAgg { + family: FieldDataType::Sketch(kind, _), .. + }) if *kind.algorithm() == SketchAlgorithm::CountSketchWithHeap) + }); + if count_sketch { + assert!(over.contains(p.id.as_str()), "{}", p.id); + } + } +} + /// Per-second cost keeps Example 1's ranking: both panels repeat every -/// 10 s and everything runs at query time, so every candidate costs 0.1 × -/// its per-evaluation cost, and P82 (P60 before Q2's tumbling sums -/// renumbered the candidates) still wins at 46.201 × 0.1 per second. +/// 10 s, so every all-query-time candidate costs 0.1 × its per-evaluation +/// cost, and P82 (P60 before Q2's tumbling sums renumbered the candidates) +/// still wins at 46.201 × 0.1 per second. A candidate that maintains panes +/// pays ingestion-time work and memory that do not depend on the cadence. #[test] fn stage3_per_second_cost_keeps_the_ranking() { let (workload, _, physical) = pipeline(); @@ -1103,7 +1200,7 @@ fn stage3_per_second_cost_keeps_the_ranking() { let per_evaluation = stage3_select(&every_second, &physical, PlanningModels::builtin()); assert_eq!(per_second.selected, "P82"); assert_eq!(per_evaluation.selected, "P82"); - for (id, cost) in &per_second.costs { + for (id, cost) in per_second.costs.iter().filter(|(id, _)| !id.contains("-m")) { let expected = 0.1 * per_evaluation.costs[id].total; assert!((cost.total - expected).abs() <= 1e-9 * expected, "{id}"); } @@ -1152,20 +1249,21 @@ fn stage3_charges_each_node_once() { fn stage3_shared_input_is_not_costlier() { let (workload, _, physical) = pipeline(); let selection = stage3_select(&workload, &physical, PlanningModels::builtin()); + // All query time: a maintained-pane candidate cannot share the scan. let by_combo: BTreeMap<_, _> = physical .iter() + .filter(|p| p.stage2.materialization.is_empty()) .filter_map(|p| { let cost = selection.costs.get(&p.id)?.total; let shared = classify(&p.dag, &p.query_roots).1; Some(((choices(&p.dag, &p.query_roots), shared), cost)) }) .collect(); + // Count-Sketch + heap misses Q2's 100 ms latency bound in every form. for option in [ Q2Option::Exact, Q2Option::CountMinHeapPerJob, - Q2Option::CountSketchHeapPerJob, Q2Option::WholeCountMinHeapPerJob, - Q2Option::WholeCountSketchHeapPerJob, ] { assert!( by_combo.keys().any(|((_, o, _), _)| *o == option), diff --git a/crates/integration-tests/tests/planner_layering_example2.rs b/crates/integration-tests/tests/planner_layering_example2.rs index 9a5eea3d..06a86eed 100644 --- a/crates/integration-tests/tests/planner_layering_example2.rs +++ b/crates/integration-tests/tests/planner_layering_example2.rs @@ -118,6 +118,7 @@ async fn example2_plans_through_the_stage_pipeline() { execute_at: None, }, predictability: Predictability::default(), + latency_ms: None, }) .collect(); let data = DataWorkload { diff --git a/crates/integration-tests/tests/planner_layering_example3.rs b/crates/integration-tests/tests/planner_layering_example3.rs index 53045512..92cf7df8 100644 --- a/crates/integration-tests/tests/planner_layering_example3.rs +++ b/crates/integration-tests/tests/planner_layering_example3.rs @@ -554,7 +554,10 @@ fn stage3_b_selects_cheapest_valid() { } /// Merged KLL and DDSketch panes keep the family's guarantee, so Stage 3 -/// finds every tumbling candidate valid and prices it. +/// finds no tumbling candidate inaccurate. Rebuilding all five panes at +/// every evaluation takes 310 ms of query-time work, over the 200 ms latency +/// bound (S6); with the panes maintained at ingestion time, only the merge +/// and the estimate remain and the candidate is valid and priced. #[test] fn stage3_b_tumbling_candidates_are_valid() { let run = run_b(); @@ -566,30 +569,43 @@ fn stage3_b_tumbling_candidates_are_valid() { .nodes .iter() .any(|n| matches!(n.payload, Operator::ASAP(ASAPOp::SummaryMerge { .. }))); - if merged { - tumbling += 1; - assert!( - !invalid.contains_key(p.id.as_str()), + if !merged { + continue; + } + tumbling += 1; + match p.stage2.materialization.as_str() { + "" => assert!( + invalid + .get(p.id.as_str()) + .is_some_and(|r| r.contains("310.0 ms") && r.contains("200 ms latency")), "{}: {:?}", p.id, - invalid - ); - assert!(run.cost(&p.id).is_some(), "{}", p.id); + invalid.get(p.id.as_str()) + ), + _ => { + assert!( + !invalid.contains_key(p.id.as_str()), + "{}: {:?}", + p.id, + invalid + ); + assert!(run.cost(&p.id).is_some(), "{}", p.id); + } } } - assert_eq!(tumbling, 2); + assert_eq!(tumbling, 4); } // ── Pattern B: runtime ─────────────────────────────────────────────────── -/// Run `p` in the executor at evaluation time [`EVALUATION_MS`]. Each raw -/// `TimeRange` a summary reads is a deployment input holding the samples in -/// its own window: `[T − offset − range, T − offset)`, so a pane gets its -/// minute and the whole-window build gets all five. -fn execute_b(p: &Physical) -> Vec { - use asap_executor::physical_planner::InputContract; - use asap_executor::physical_planner::{compile, promql_rows::encode_series_identity}; - use asap_executor::runtime::Scope; +/// The deployment inputs of `p` at evaluation time [`EVALUATION_MS`]: each +/// raw `TimeRange` a summary reads holds the samples in its own window, +/// `[T − offset − range, T − offset)`, so a pane gets its minute and the +/// whole-window build gets all five. Keyed by node, with the window. +fn inputs_b( + p: &Physical, +) -> std::collections::BTreeMap)> { + use asap_executor::physical_planner::promql_rows::encode_series_identity; use asap_executor::values::{Batch, Value}; use std::collections::BTreeMap; use std::sync::Arc; @@ -639,26 +655,106 @@ fn execute_b(p: &Physical) -> Vec { .collect(); inputs.insert( node.id as u64, - Batch::try_new(schema, rows).expect("input batch"), + (Batch::try_new(schema, rows).expect("input batch"), window), ); } + inputs +} + +fn sorted_rows(batches: &[asap_executor::values::Batch]) -> Vec { + let mut rows: Vec = batches + .iter() + .flat_map(|batch| batch.rows().iter().map(|row| render(row))) + .collect(); + rows.sort(); + rows +} + +fn query_scope() -> asap_executor::runtime::Scope { + asap_executor::runtime::Scope::Query { + evaluation_time_ms: EVALUATION_MS, + revision: 1, + } +} + +/// Run `p` in the executor at evaluation time [`EVALUATION_MS`], everything +/// at query time over [`inputs_b`]. +fn execute_b(p: &Physical) -> Vec { + use asap_executor::physical_planner::{compile, InputContract}; + + let inputs: std::collections::BTreeMap<_, _> = inputs_b(p) + .into_iter() + .map(|(id, (batch, _))| (id, batch)) + .collect(); let contracts = inputs .iter() .map(|(&id, batch)| (id, InputContract::bounded(batch.schema().clone()))) .collect(); let root = p.dag.roots[0] as u64; let plan = compile(&p.dag, contracts, &[root]).unwrap_or_else(|e| panic!("{}: {e}", p.id)); - let scope = Scope::Query { - evaluation_time_ms: EVALUATION_MS, - revision: 1, + sorted_rows(&physical_common::execute(&plan, inputs, query_scope()).remove(0)) +} + +/// Run `p`'s maintained plan: compile it once, cut it at the frontier its +/// timing implies ([`frontier_from_timing`], [`cut_candidate`]), run the +/// precompute once per pane over that pane's minute in an ingestion scope, +/// as the pane's minute closes, then run the query over the kept panes. +/// +/// [`frontier_from_timing`]: asap_executor::physical_planner::frontier_from_timing +/// [`cut_candidate`]: asap_executor::physical_planner::cut_candidate +fn execute_b_maintained(p: &Physical) -> Vec { + use asap_executor::physical_planner::{ + compile, cut_candidate, frontier_from_timing, InputContract, }; - let mut rows: Vec = physical_common::execute(&plan, inputs, scope) - .remove(0) + use asap_executor::runtime::Scope; + use asap_executor::values::Batch; + use std::collections::BTreeMap; + + let inputs = inputs_b(p); + let contracts = inputs .iter() - .flat_map(|batch| batch.rows().iter().map(|row| render(row))) + .map(|(&id, (batch, _))| (id, InputContract::bounded(batch.schema().clone()))) .collect(); - rows.sort(); - rows + let root = p.dag.roots[0] as u64; + let compiled = compile(&p.dag, contracts, &[root]).unwrap_or_else(|e| panic!("{}: {e}", p.id)); + let frontier = frontier_from_timing(&p.dag).unwrap(); + assert_eq!(frontier.len(), 5, "{}: the five panes", p.id); + let plan = cut_candidate(&compiled, &frontier).unwrap(); + let precompute = plan.precompute.as_ref().expect("a precompute DAG"); + let mut kept = BTreeMap::new(); + for &pane in &frontier { + // The pane's own minute; the other inputs are empty in its run. + let (own, window) = p + .dag + .producers(pane as usize) + .into_iter() + .find_map(|range| inputs.get(&(range as u64)).map(|(_, w)| (range, w.clone()))) + .expect("the pane reads one raw time range"); + let run_inputs = inputs + .iter() + .map(|(&id, (batch, _))| { + let batch = match id == own as u64 { + true => batch.clone(), + false => Batch::try_new(batch.schema().clone(), vec![]).unwrap(), + }; + (id, batch) + }) + .collect(); + let scope = Scope::Ingestion { + window_start_ms: window.start, + window_end_ms: window.end, + revision: 1, + }; + let outputs = physical_common::execute(precompute, run_inputs, scope); + let index = precompute.roots().iter().position(|&r| r == pane).unwrap(); + let schema = plan.materialized_outputs[&pane].schema.clone(); + let rows = outputs[index] + .iter() + .flat_map(|batch| batch.rows().iter().cloned()) + .collect(); + kept.insert(pane, Batch::try_new(schema, rows).unwrap()); + } + sorted_rows(&physical_common::execute(&plan.query, kept, query_scope()).remove(0)) } /// One output row as `ts= `. @@ -724,3 +820,43 @@ fn runtime_b_tumbling_kll_matches_the_whole_window() { ); assert_eq!(execute_b(kll(true)), whole); } + +/// Runtime (Pattern B, B1): Stage 2's candidate with the tumbling KLL panes +/// at ingestion time compiles into a precompute and a query plan; building +/// each pane in its own ingestion run and merging the kept panes at query +/// time returns what the whole-window KLL returns. +#[test] +fn runtime_b_maintained_panes_match_the_whole_window() { + let run = run_b(); + let is_kll = |p: &&Physical| { + p.dag.nodes.iter().any(|n| { + matches!(&n.payload, Operator::ASAP(ASAPOp::SummaryAgg { + family: asap_types::ir::schema::FieldDataType::Sketch(kind, _), .. + }) if *kind.algorithm() == SketchAlgorithm::Kll) + }) + }; + let whole = run + .physical + .iter() + .filter(is_kll) + .find(|p| { + !p.dag + .nodes + .iter() + .any(|n| matches!(n.payload, Operator::ASAP(ASAPOp::SummaryMerge { .. }))) + }) + .expect("whole-window KLL"); + let maintained = run + .physical + .iter() + .filter(is_kll) + .find(|p| !p.stage2.materialization.is_empty()) + .expect("maintained KLL panes"); + assert_eq!( + maintained.stage2.materialization, + "ingestion time: Kll ×5 panes" + ); + let expected = execute_b(whole); + assert_eq!(expected.len(), 2, "{expected:?}"); + assert_eq!(execute_b_maintained(maintained), expected); +} diff --git a/crates/logical-optimizer/src/pass2/window_composition.rs b/crates/logical-optimizer/src/pass2/window_composition.rs index b4f63fd3..ff62b1c2 100644 --- a/crates/logical-optimizer/src/pass2/window_composition.rs +++ b/crates/logical-optimizer/src/pass2/window_composition.rs @@ -299,6 +299,7 @@ mod tests { RepetitionInterval(ms), )), predictability: Predictability::Unknown, + latency_ms: None, } } diff --git a/crates/physical-optimizer/src/implementation/physical_candidates.rs b/crates/physical-optimizer/src/implementation/physical_candidates.rs index 107f64c4..4e1f8fa2 100644 --- a/crates/physical-optimizer/src/implementation/physical_candidates.rs +++ b/crates/physical-optimizer/src/implementation/physical_candidates.rs @@ -1,6 +1,7 @@ -//! #509 Stage 2 (MVP): physical operator implementation of one logical -//! candidate. No materialization choice is made: every node runs at query -//! time, so each logical candidate yields exactly one physical candidate. +//! #509 Stage 2: physical operator implementation of one logical candidate, +//! and its materialization choices ([`crate::materialization`]). Each +//! logical candidate yields one physical candidate per down-closed set of +//! ingestion-time summaries, all query time first. //! //! The runtime has one implementation per logical operator except exact //! top-k, which it cannot run as `Aggregate{[TopK]}`. Stage 2 records that @@ -8,10 +9,11 @@ //! per-group limit, the shape the PromQL frontend uses for generic `topk`. //! A summary needs no rewrite: `SummaryAgg` → `SummaryEstimate` already is //! build → estimate. -use std::collections::HashMap; +use std::collections::{BTreeSet, HashMap}; use std::rc::Rc; use asap_types::ir::operator::{AggIntent, Reduction}; +use asap_types::ir::physical_export::PhysicalASAPOperatorPayload; use asap_types::ir::physical_export::{ compile_physical_asap_workload_with_node_ids, PhysicalASAPDAG, }; @@ -19,11 +21,14 @@ use asap_types::ir::properties::ExecutionDataStateError; use asap_types::ir::scalar::resolve_column_ref; use asap_types::ir::scalar::ColumnRef; use asap_types::ir::{ - apply_materialization_timings, ASAPOp, MaterializationAssignment, NonASAPOp, Operator, - OperatorNode, ScalarExpr, SchemaDerivationError, SortKey, TimingMemo, + apply_materialization_timings, split_shared_by_phase, ASAPOp, MaterializationAssignment, + NonASAPOp, Operator, OperatorNode, ScalarExpr, SchemaDerivationError, SortKey, TimingMemo, }; +use asap_types::workload::{DataWorkload, RootDemand}; use thiserror::Error; +use crate::materialization::{MaterializationSpace, MAX_PHYSICAL_PER_LOGICAL}; + /// One Stage 2 candidate, derived from exactly one Stage 1 candidate. /// `roots` are the timed operator roots (one per query, in workload order) /// that `dag` exports. @@ -32,10 +37,23 @@ pub struct PhysicalCandidate { pub id: String, pub from_logical: String, pub label: String, + /// Which summaries run at ingestion time, e.g. "ingestion time: Kll ×5 + /// panes"; empty when everything runs at query time. + pub materialization: String, pub roots: Vec>, pub dag: PhysicalASAPDAG, } +/// Stage 2's physical candidates of one logical candidate. +#[derive(Debug, Clone)] +pub struct Stage2Candidates { + /// All query time first. + pub candidates: Vec, + /// `false` when there were more than [`MAX_PHYSICAL_PER_LOGICAL`] + /// materialization choices and they were searched greedily. + pub exhaustive: bool, +} + #[derive(Debug, Error)] pub enum Stage2Error { #[error(transparent)] @@ -46,33 +64,113 @@ pub enum Stage2Error { NoValueColumn(String), #[error("maintained populations run at ingestion time, which Stage 2 does not plan yet")] IngestionTimeOnly, + #[error("a summary assigned to ingestion time reads query-time work")] + NotMaintainable, } -/// Implement every operator of one logical candidate and time it at query -/// time. `id` and `label` are left empty for the caller to name. Sharing -/// between `roots` is preserved: one memo serves the whole workload. +/// Implement every operator of one logical candidate and enumerate its +/// materialization choices: one candidate per down-closed set of +/// ingestion-time summaries, all query time first. `id` and `label` are left +/// empty for the caller to name. Sharing between `roots` is preserved: one +/// memo serves the whole workload, and a node shared by an ingestion-time and +/// a query-time consumer is copied per phase. +/// +/// `demand[i]` is the demand of `roots[i]`. Above +/// [`MAX_PHYSICAL_PER_LOGICAL`] choices, the choices are searched greedily +/// by `score` (lower is better; `None`: not admissible): starting from all +/// query time, move the unit whose move improves the score most, until none +/// does. The candidates on that path are returned and flagged not +/// exhaustive. pub fn stage2_physical( from_logical: &str, roots: &[Rc], -) -> Result { + demand: &[RootDemand], + data: &DataWorkload, + score: &dyn Fn(&PhysicalCandidate) -> Option, +) -> Result { let mut memo = HashMap::new(); let implemented = roots .iter() .map(|root| implement(root, &mut memo)) .collect::, _>>()?; reject_maintained_populations(&implemented)?; - // The default assignment computes every summary state at query time. - let assignment = MaterializationAssignment::default(); + let space = MaterializationSpace::new(&implemented, demand, data); + let build = |set: &BTreeSet| materialize(from_logical, &implemented, &space, set); + // All query time must build; an ingestion-time choice that the timing + // rules reject is not a candidate. + let base = build(&BTreeSet::new())?; + if let Some(sets) = space.down_closed_sets(MAX_PHYSICAL_PER_LOGICAL) { + let mut candidates = vec![base]; + candidates.extend(sets.iter().skip(1).filter_map(|set| build(set).ok())); + return Ok(Stage2Candidates { + candidates, + exhaustive: true, + }); + } + let mut set = BTreeSet::new(); + let mut best = score(&base); + let mut candidates = vec![base]; + loop { + let step = (0..space.units.len()) + .filter(|&u| space.can_add(&set, u)) + .filter_map(|u| { + let mut next = set.clone(); + next.insert(u); + let candidate = build(&next).ok()?; + let value = score(&candidate)?; + Some((value, next, candidate)) + }) + .filter(|(value, ..)| best.is_none_or(|best| *value < best)) + .min_by(|a, b| a.0.total_cmp(&b.0)); + let Some((value, next, candidate)) = step else { + break; + }; + best = Some(value); + set = next; + candidates.push(candidate); + } + Ok(Stage2Candidates { + candidates, + exhaustive: false, + }) +} + +/// Time the implemented roots with the summaries of `set` at ingestion time. +fn materialize( + from_logical: &str, + implemented: &[Rc], + space: &MaterializationSpace, + set: &BTreeSet, +) -> Result { + let (roots, assignment): (Vec<_>, MaterializationAssignment) = + split_shared_by_phase(implemented, &space.assignment(set)); let mut timing = TimingMemo::new(); - let timed = implemented + let timed = roots .iter() .map(|root| apply_materialization_timings(root, &assignment, &mut timing)) .collect::, _>>()?; let dag = compile_physical_asap_workload_with_node_ids(&timed)?.dag; + // A summary over query-time work stays at query time whatever the + // assignment says; such a set is not a distinct candidate. + let assigned: usize = set.iter().map(|&u| space.units[u].summaries.len()).sum(); + let maintained = dag + .nodes + .iter() + .filter(|n| { + matches!( + n.payload, + PhysicalASAPOperatorPayload::ASAP(ASAPOp::SummaryAgg { .. }) + ) && !n.output_state.timing.is_query_time() + }) + .count(); + if maintained != assigned { + return Err(Stage2Error::NotMaintainable); + } Ok(PhysicalCandidate { id: String::new(), from_logical: from_logical.to_string(), label: String::new(), + materialization: space.label(set), roots: timed, dag, }) @@ -162,6 +260,14 @@ mod tests { use asap_types::ir::QueryRoot; use asap_types::types::AccuracyTarget; + /// The all-query-time candidate, for data with no ingestion. + fn all_query_time(from: &str, roots: &[Rc]) -> PhysicalCandidate { + stage2_physical(from, roots, &[], &DataWorkload::default(), &|_| None) + .unwrap() + .candidates + .remove(0) + } + /// Exact `topk by (job)` becomes Limit(Sort) partitioned by `job`, and a /// child shared by two roots stays one node (one `Rc`, one DAG node). #[test] @@ -174,7 +280,7 @@ mod tests { panic!("topk aggregate") }; let sum = Rc::new(sum.with_new_children(|_| shared.clone()).unwrap()); - let candidate = stage2_physical("L1", &[topk, sum]).unwrap(); + let candidate = all_query_time("L1", &[topk, sum]); let NonASAPOp::Limit { n: Some(10), @@ -265,7 +371,7 @@ mod tests { QueryRoot::Scalar(_) => panic!("operator root"), }) .collect(); - let candidate = stage2_physical("L1", &roots).unwrap(); + let candidate = all_query_time("L1", &roots); assert!(candidate .dag .nodes diff --git a/crates/physical-optimizer/src/lib.rs b/crates/physical-optimizer/src/lib.rs index 77fb5396..e268ca7c 100644 --- a/crates/physical-optimizer/src/lib.rs +++ b/crates/physical-optimizer/src/lib.rs @@ -1,15 +1,18 @@ //! `asap-physical-optimizer` — #509 Stage 2: physical candidates. //! //! It turns each Stage 1 logical candidate into physical candidates: how each -//! operator is implemented, and (once Stage 2 materialization exists) which -//! sub-DAGs are materialized and when. Cargo enforces the stage order: this +//! operator is implemented, and which summary states are maintained at +//! ingestion time. Cargo enforces the stage order: this //! crate depends only on `asap-types`, never on Stage 3, the facade or the //! executor. //! -//! - [`implementation`] — physical operator implementation. Every node runs at -//! query time until Stage 2 materialization (#509) exists. +//! - [`implementation`] — physical operator implementation, and one +//! candidate per materialization choice. +//! - [`materialization`] — which summaries may run at ingestion time, and +//! the down-closed sets of them. pub mod implementation; +pub mod materialization; #[cfg(test)] mod test_support; diff --git a/crates/physical-optimizer/src/materialization.rs b/crates/physical-optimizer/src/materialization.rs new file mode 100644 index 00000000..c57f388a --- /dev/null +++ b/crates/physical-optimizer/src/materialization.rs @@ -0,0 +1,655 @@ +//! #509 Stage 2 materialization: for each summary state of one logical +//! candidate, whether it is computed at query time (not materialized, the +//! default) or maintained at ingestion time. +//! +//! **Eligibility (S4).** A `SummaryAgg` may run at ingestion time when +//! +//! 1. the data keeps arriving (`DataArrival::ContinuouslyIngesting` or +//! `Mixed`; `Unknown` counts as not ingesting); +//! 2. every root reaching it repeats and is `Predictable`; and +//! 3. its window can be maintained as data arrives: it is a tumbling pane +//! (a summary merged by a `SummaryMerge`, over its own time range), or it +//! reads one fixed window per evaluation, that is, every root reaching it +//! recurs with a known phase (`FixedIntervalAt`) and the window is no +//! longer than the interval, so successive windows do not overlap. +//! +//! A summary over a merge of panes reads a window that slides with the +//! evaluation; it is not maintainable and stays at query time. +//! +//! **Units.** The panes merged by one `SummaryMerge` are decided together: +//! a pane chain is maintained as one stream of panes, and a mixed chain is +//! never cheaper. Panes shared by two merges join both chains into one unit. +//! +//! **Down-closed sets.** Everything upstream of an ingestion-time node also +//! runs at ingestion time (#509), so a unit is at ingestion time only if +//! every unit below it is. [`MaterializationSpace::down_closed_sets`] +//! enumerates exactly those sets, the empty set (all query time) first. +//! +//! **Not materialized for several consumers (Q44, Example 4 A3)** would +//! duplicate a shared sub-DAG per consuming query. It is not generated yet: +//! a shared query-time node is computed once per evaluation for all its +//! consumers. +use std::collections::{BTreeSet, HashMap, HashSet}; +use std::rc::Rc; + +use asap_types::ir::properties::ExecutionTiming; +use asap_types::ir::schema::FieldDataType; +use asap_types::ir::{ASAPOp, NonASAPOp, Operator, OperatorNode}; +use asap_types::workload::{ + DataArrival, DataWorkload, Predictability, QueryRecurrence, RepeatedDemand, RootDemand, +}; + +/// Most physical candidates Stage 2 enumerates for one logical candidate. +/// Above it, Stage 2 searches greedily and the result is not guaranteed +/// optimal. +pub const MAX_PHYSICAL_PER_LOGICAL: usize = 16; + +/// Summaries whose materialization is decided together. +#[derive(Debug, Clone)] +pub struct Unit { + pub summaries: Vec>, + /// E.g. "Kll ×5 panes" or "exact Sum". + pub label: String, +} + +/// The materialization choices of one logical candidate. +#[derive(Debug, Clone)] +pub struct MaterializationSpace { + pub units: Vec, + /// `below[u]`: the units with a summary strictly below one of `u`'s. + below: Vec>, +} + +impl MaterializationSpace { + /// The eligible units of `roots`; `demand[i]` is the demand of + /// `roots[i]` (a root without one is not eligible). + pub fn new(roots: &[Rc], demand: &[RootDemand], data: &DataWorkload) -> Self { + let empty = Self { + units: Vec::new(), + below: Vec::new(), + }; + if !matches!( + data.arrival, + DataArrival::ContinuouslyIngesting | DataArrival::Mixed + ) { + return empty; + } + // Every summary, with the roots reaching it, in discovery order. + let mut summaries: Vec> = Vec::new(); + let mut reaching: HashMap<*const OperatorNode, BTreeSet> = HashMap::new(); + let mut merges: Vec> = Vec::new(); + let mut seen_merges = HashSet::new(); + for (index, root) in roots.iter().enumerate() { + for node in OperatorNode::reachable(root) { + match &node.operator { + Operator::ASAP(ASAPOp::SummaryAgg { .. }) => { + let entry = reaching.entry(Rc::as_ptr(&node)).or_default(); + if entry.is_empty() { + summaries.push(Rc::clone(&node)); + } + entry.insert(index); + } + Operator::ASAP(ASAPOp::SummaryMerge { .. }) + if seen_merges.insert(Rc::as_ptr(&node)) => + { + merges.push(Rc::clone(&node)); + } + _ => {} + } + } + } + let panes: HashSet<*const OperatorNode> = merges + .iter() + .flat_map(|merge| merge.children()) + .map(Rc::as_ptr) + .collect(); + let eligible: Vec = summaries + .iter() + .map(|summary| { + let roots: Vec<&RootDemand> = reaching[&Rc::as_ptr(summary)] + .iter() + .filter_map(|&r| demand.get(r)) + .collect(); + roots.len() == reaching[&Rc::as_ptr(summary)].len() + && roots.iter().all(|d| repeats_predictably(d)) + && !forces_query_time(summary) + && match window_of(summary) { + Window::Fixed { length_ms } => { + panes.contains(&Rc::as_ptr(summary)) + || roots.iter().all(|d| fixed_window_fits(d, length_ms)) + } + Window::None | Window::Sliding => false, + } + }) + .collect(); + let index: HashMap<*const OperatorNode, usize> = summaries + .iter() + .enumerate() + .map(|(i, s)| (Rc::as_ptr(s), i)) + .collect(); + // Union the panes of each merge whose panes are all eligible; a + // merge with an ineligible pane makes its whole chain ineligible. + let mut parent: Vec = (0..summaries.len()).collect(); + let mut usable = eligible.clone(); + fn find(parent: &mut [usize], i: usize) -> usize { + if parent[i] != i { + let root = find(parent, parent[i]); + parent[i] = root; + } + parent[i] + } + for merge in &merges { + let members: Vec = merge + .children() + .into_iter() + .filter_map(|c| index.get(&Rc::as_ptr(c)).copied()) + .collect(); + if members.iter().any(|&m| !eligible[m]) { + for &m in &members { + usable[m] = false; + } + } + for pair in members.windows(2) { + let (a, b) = (find(&mut parent, pair[0]), find(&mut parent, pair[1])); + parent[a] = b; + } + } + // A chain with one unusable member is unusable as a whole. + for i in 0..summaries.len() { + if !usable[i] { + let root = find(&mut parent, i); + usable[root] = false; + } + } + let mut unit_of: HashMap = HashMap::new(); + let mut units: Vec = Vec::new(); + let mut members: Vec> = Vec::new(); + for i in 0..summaries.len() { + let root = find(&mut parent, i); + if !usable[i] || !usable[root] { + continue; + } + let u = *unit_of.entry(root).or_insert_with(|| { + units.push(Unit { + summaries: Vec::new(), + label: String::new(), + }); + members.push(Vec::new()); + units.len() - 1 + }); + units[u].summaries.push(Rc::clone(&summaries[i])); + members[u].push(i); + } + for (unit, members) in units.iter_mut().zip(&members) { + let name = family_name(&summaries[members[0]]); + unit.label = if members + .iter() + .any(|m| panes.contains(&Rc::as_ptr(&summaries[*m]))) + { + format!("{name} ×{} panes", members.len()) + } else { + name + }; + } + let unit_index: HashMap<*const OperatorNode, usize> = units + .iter() + .enumerate() + .flat_map(|(u, unit)| unit.summaries.iter().map(move |s| (Rc::as_ptr(s), u))) + .collect(); + let below = units + .iter() + .enumerate() + .map(|(u, unit)| { + unit.summaries + .iter() + .flat_map(|s| s.children().into_iter().flat_map(OperatorNode::reachable)) + .filter_map(|n| unit_index.get(&Rc::as_ptr(&n)).copied()) + .filter(|&v| v != u) + .collect() + }) + .collect(); + if units.is_empty() { + return empty; + } + Self { units, below } + } + + /// Whether `unit` may join `set` with the set staying down-closed. + pub fn can_add(&self, set: &BTreeSet, unit: usize) -> bool { + !set.contains(&unit) && self.below[unit].is_subset(set) + } + + /// Every down-closed set of units, smallest first (the empty set, all + /// query time, is first); `None` when there are more than `max`. + pub fn down_closed_sets(&self, max: usize) -> Option>> { + // Units bottom-up, so a unit is decided after every unit below it. + let mut order: Vec = Vec::new(); + while order.len() < self.units.len() { + let before = order.len(); + for u in 0..self.units.len() { + if !order.contains(&u) && self.below[u].iter().all(|v| order.contains(v)) { + order.push(u); + } + } + assert!( + order.len() > before, + "units below one another form no cycle" + ); + } + let mut sets = vec![BTreeSet::new()]; + for u in order { + let additions: Vec<_> = sets + .iter() + .filter(|set| self.below[u].is_subset(set)) + .map(|set| { + let mut next = set.clone(); + next.insert(u); + next + }) + .collect(); + sets.extend(additions); + if sets.len() > max { + return None; + } + } + sets.sort_by(|a, b| a.len().cmp(&b.len()).then_with(|| a.cmp(b))); + Some(sets) + } + + /// The assignment putting the summaries of `set` at ingestion time. + pub fn assignment(&self, set: &BTreeSet) -> asap_types::ir::MaterializationAssignment { + let mut assignment = asap_types::ir::MaterializationAssignment::all_query_time(); + for &u in set { + for summary in &self.units[u].summaries { + assignment.set(summary, ExecutionTiming::IngestionTime); + } + } + assignment + } + + /// E.g. "ingestion time: Kll ×5 panes"; empty for the empty set. + pub fn label(&self, set: &BTreeSet) -> String { + if set.is_empty() { + return String::new(); + } + let units: Vec<_> = set.iter().map(|&u| self.units[u].label.as_str()).collect(); + format!("ingestion time: {}", units.join(", ")) + } +} + +fn repeats_predictably(demand: &RootDemand) -> bool { + matches!(demand.recurrence, QueryRecurrence::Repeated(_)) + && matches!(demand.predictability, Predictability::Predictable { .. }) +} + +/// One window per evaluation, phase known, and no overlap between +/// successive evaluations' windows. +fn fixed_window_fits(demand: &RootDemand, length_ms: u64) -> bool { + matches!( + demand.recurrence, + QueryRecurrence::Repeated(RepeatedDemand::FixedIntervalAt { interval, .. }) + if length_ms <= u64::from(interval.0) + ) +} + +/// Whether something below `summary` can only run at query time. +fn forces_query_time(summary: &Rc) -> bool { + summary + .children() + .into_iter() + .flat_map(OperatorNode::reachable) + .any(|n| { + n.timing == Some(ExecutionTiming::QueryTime) + || matches!( + n.operator, + Operator::ASAP( + ASAPOp::SummaryEstimate { .. } | ASAPOp::EvaluatePopulation { .. } + ) + ) + }) +} + +/// The window a summary's input reads. +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +enum Window { + /// No time range: not a window over arriving data. + None, + /// One range of `length_ms` per evaluation. + Fixed { length_ms: u64 }, + /// A merge of panes: the window slides with the evaluation. + Sliding, +} + +fn window_of(summary: &Rc) -> Window { + fn below(node: &Rc) -> Window { + match &node.operator { + Operator::NonASAP(NonASAPOp::TimeRange { range, .. }) => Window::Fixed { + length_ms: u64::try_from(range.as_millis()).unwrap_or(u64::MAX), + }, + Operator::ASAP(ASAPOp::SummaryMerge { .. }) => Window::Sliding, + _ => node + .children() + .into_iter() + .map(below) + .fold(Window::None, |a, b| match (a, b) { + (Window::Sliding, _) | (_, Window::Sliding) => Window::Sliding, + (Window::Fixed { length_ms: x }, Window::Fixed { length_ms: y }) => { + Window::Fixed { + length_ms: x.max(y), + } + } + (Window::Fixed { length_ms }, Window::None) + | (Window::None, Window::Fixed { length_ms }) => Window::Fixed { length_ms }, + (Window::None, Window::None) => Window::None, + }), + } + } + summary + .children() + .first() + .map_or(Window::None, |child| below(child)) +} + +fn family_name(summary: &OperatorNode) -> String { + match &summary.operator { + Operator::ASAP(ASAPOp::SummaryAgg { family, .. }) => match family { + FieldDataType::Sketch(kind, _) => format!("{:?}", kind.algorithm()), + FieldDataType::ExactAggregate(kind, _) => format!("exact {kind:?}"), + other => format!("{other:?}"), + }, + _ => "summary".into(), + } +} + +#[cfg(test)] +mod tests { + use super::*; + use crate::implementation::physical_candidates::{stage2_physical, Stage2Candidates}; + use crate::test_support::lower_promql_all; + use asap_logical_optimizer::pass1::logical_candidates::{ + compose_logical_candidate, LocalLogicalTarget, + }; + use asap_logical_optimizer::pass2::identical_expressions::stage1_logical_candidates; + use asap_logical_optimizer::pass2::window_composition::WindowForm; + use asap_types::ir::physical_export::PhysicalASAPOperatorPayload as Payload; + use asap_types::ir::QueryRoot; + use asap_types::types::AccuracyTarget; + use asap_types::workload::{RepetitionInterval, TimestampMs}; + + const P99: AccuracyTarget = AccuracyTarget::Epsilon(0.01); + + fn every(ms: u32) -> RootDemand { + RootDemand { + accuracy: None, + recurrence: QueryRecurrence::Repeated(RepeatedDemand::FixedInterval( + RepetitionInterval(ms), + )), + predictability: Predictability::Predictable { known_at: None }, + latency_ms: None, + } + } + + fn every_at(ms: u32) -> RootDemand { + RootDemand { + recurrence: QueryRecurrence::Repeated(RepeatedDemand::FixedIntervalAt { + interval: RepetitionInterval(ms), + evaluation_phase: TimestampMs(0), + }), + ..every(ms) + } + } + + fn ingesting() -> DataWorkload { + DataWorkload { + arrival: DataArrival::ContinuouslyIngesting, + ..Default::default() + } + } + + /// The workload's roots with each target's last alternative of `form` + /// (a summary, when it has one), in Pass 2's independent variant. + fn roots( + queries: &[(&str, AccuracyTarget)], + demand: &[RootDemand], + form: WindowForm, + ) -> Vec> { + roots_with(queries, demand, |t, c| t.windows[c] == form) + } + + /// The workload's roots with each target's last alternative that `keep` + /// accepts (else the pass-through). + fn roots_with( + queries: &[(&str, AccuracyTarget)], + demand: &[RootDemand], + keep: impl Fn(&LocalLogicalTarget, usize) -> bool, + ) -> Vec> { + let roots = lower_promql_all(queries) + .into_iter() + .enumerate() + .map(|(i, root)| (i, QueryRoot::Operator(root))) + .collect(); + let variants = stage1_logical_candidates(roots, &Default::default(), demand).unwrap(); + let inventory = &variants[0].inventory; + let choice: Vec<_> = inventory + .targets + .iter() + .map(|t| { + (0..t.alternatives.len()) + .rev() + .find(|&c| keep(t, c)) + .unwrap_or(0) + }) + .collect(); + compose_logical_candidate(inventory, &choice) + .unwrap() + .into_iter() + .map(|(_, root)| match root { + QueryRoot::Operator(node) => node, + QueryRoot::Scalar(_) => panic!("operator root"), + }) + .collect() + } + + fn stage2( + roots: &[Rc], + demand: &[RootDemand], + data: &DataWorkload, + ) -> Stage2Candidates { + stage2_physical("L1", roots, demand, data, &|_| None).unwrap() + } + + fn timings( + candidate: &crate::implementation::physical_candidates::PhysicalCandidate, + is: fn(&Payload) -> bool, + ) -> Vec { + candidate + .dag + .nodes + .iter() + .filter(|n| is(&n.payload)) + .map(|n| n.output_state.timing) + .collect() + } + + fn is_build(p: &Payload) -> bool { + matches!(p, Payload::ASAP(ASAPOp::SummaryAgg { .. })) + } + + fn is_merge(p: &Payload) -> bool { + matches!(p, Payload::ASAP(ASAPOp::SummaryMerge { .. })) + } + + const P99_5M: &str = "quantile_over_time(0.99, m[5m])"; + + /// Panes of a query repeating every minute over arriving data give a + /// second candidate that builds all five panes at ingestion time and + /// merges them at query time (Example 4, B1). + #[test] + fn tumbling_panes_can_run_at_ingestion_time() { + let demand = [every(60_000)]; + let roots = roots( + &[(P99_5M, P99)], + &demand, + WindowForm::Tumbling { pane_ms: 60_000 }, + ); + let out = stage2(&roots, &demand, &ingesting()); + assert!(out.exhaustive); + let [all_query, maintained] = &out.candidates[..] else { + panic!("two candidates: {:?}", out.candidates.len()) + }; + assert!(timings(all_query, |_| true) + .iter() + .all(|t| *t == ExecutionTiming::QueryTime)); + assert!( + maintained.materialization.ends_with(" ×5 panes"), + "{}", + maintained.materialization + ); + assert_eq!( + timings(maintained, is_build), + vec![ExecutionTiming::IngestionTime; 5] + ); + assert_eq!( + timings(maintained, is_merge), + vec![ExecutionTiming::QueryTime] + ); + } + + /// Ingestion time needs arriving data (`Unknown` counts as not + /// ingesting) and repeated, predictable roots. + #[test] + fn ingestion_time_needs_arrival_and_predictable_repetition() { + let demand = [every(60_000)]; + let roots = roots( + &[(P99_5M, P99)], + &demand, + WindowForm::Tumbling { pane_ms: 60_000 }, + ); + for arrival in [DataArrival::AtRest, DataArrival::Unknown] { + let data = DataWorkload { + arrival, + ..Default::default() + }; + assert_eq!( + stage2(&roots, &demand, &data).candidates.len(), + 1, + "{arrival:?}" + ); + } + let mixed = DataWorkload { + arrival: DataArrival::Mixed, + ..Default::default() + }; + assert_eq!(stage2(&roots, &demand, &mixed).candidates.len(), 2); + let ad_hoc = RootDemand { + predictability: Predictability::AdHoc, + ..every(60_000) + }; + let once = RootDemand { + recurrence: QueryRecurrence::OneTime { + invocations: 1, + execute_at: None, + }, + ..every(60_000) + }; + for demand in [ad_hoc, once] { + assert_eq!( + stage2(&roots, std::slice::from_ref(&demand), &ingesting()) + .candidates + .len(), + 1 + ); + } + } + + /// A whole window is maintainable only when each evaluation reads one + /// fixed window: a known phase, and a window no longer than the interval. + #[test] + fn whole_window_needs_a_phase_and_no_overlap() { + let count = |demand: RootDemand| { + let demand = [demand]; + let roots = roots( + &[("quantile_over_time(0.99, m[1m])", P99)], + &demand, + WindowForm::Whole, + ); + stage2(&roots, &demand, &ingesting()).candidates.len() + }; + assert_eq!(count(every(60_000)), 1, "no phase"); + assert_eq!(count(every_at(10_000)), 1, "windows overlap"); + assert_eq!(count(every_at(60_000)), 2); + } + + /// A summary over a merge of panes slides with the evaluation, so it is + /// not maintainable, and a summary is at ingestion time only if every + /// summary below it is: one exact per-series sum (fixed window) under a + /// Count-Min top-k gives three sets, not four. + #[test] + fn sets_are_down_closed() { + let demand = [every_at(60_000)]; + // The exact sum, and a Count-Min top-k reading it (not absorbing it). + let roots = roots_with( + &[( + "topk(5, sum_over_time(m[1m]))", + AccuracyTarget::Epsilon(0.01), + )], + &demand, + |t, c| t.windows[c] == WindowForm::Whole && t.absorbs[c].is_none(), + ); + let space = MaterializationSpace::new(&roots, &demand, &ingesting()); + let labels: Vec<_> = space.units.iter().map(|u| u.label.as_str()).collect(); + assert_eq!(labels.len(), 2, "{labels:?}"); + let sets = space.down_closed_sets(MAX_PHYSICAL_PER_LOGICAL).unwrap(); + assert_eq!(sets.len(), 3, "{labels:?}"); + for set in &sets { + for &u in set { + assert!(space.below[u].is_subset(set)); + } + } + // Over panes, the top-k sketch reads a sliding window: only the + // panes are maintainable. + let demand = [every(10_000)]; + let roots = roots_with( + &[( + "topk(5, sum_over_time(m[1m]))", + AccuracyTarget::Epsilon(0.01), + )], + &demand, + |t, c| t.absorbs[c].is_none() && c > 0, + ); + let space = MaterializationSpace::new(&roots, &demand, &ingesting()); + let labels: Vec<_> = space.units.iter().map(|u| u.label.as_str()).collect(); + assert_eq!(labels, ["exact Sum ×6 panes"]); + } + + /// Above the cap, Stage 2 moves one unit at a time while the score + /// improves, and flags the result as not exhaustive. + #[test] + fn above_the_cap_the_search_is_greedy() { + let queries: Vec<_> = (0..5) + .map(|i| (format!("quantile_over_time(0.99, m{i}[5m])"), P99)) + .collect(); + let queries: Vec<_> = queries + .iter() + .map(|(q, a)| (q.as_str(), a.clone())) + .collect(); + let demand = vec![every(60_000); 5]; + let roots = roots(&queries, &demand, WindowForm::Tumbling { pane_ms: 60_000 }); + // 2^5 = 32 down-closed sets. + let ingestion_builds = + |c: &crate::implementation::physical_candidates::PhysicalCandidate| { + timings(c, is_build) + .iter() + .filter(|t| !t.is_query_time()) + .count() + }; + // Lower is better: one more maintained chain is always better. + let score = |c: &crate::implementation::physical_candidates::PhysicalCandidate| { + Some(-(ingestion_builds(c) as f64)) + }; + let out = stage2_physical("L1", &roots, &demand, &ingesting(), &score).unwrap(); + assert!(!out.exhaustive); + let path: Vec<_> = out.candidates.iter().map(ingestion_builds).collect(); + assert_eq!(path, vec![0, 5, 10, 15, 20, 25]); + } +} diff --git a/crates/physical-optimizer/src/test_support.rs b/crates/physical-optimizer/src/test_support.rs index f6721a3d..f4f2b96d 100644 --- a/crates/physical-optimizer/src/test_support.rs +++ b/crates/physical-optimizer/src/test_support.rs @@ -11,20 +11,30 @@ use asap_types::workload::{ }; pub(crate) fn lower_promql(query: &str, accuracy: AccuracyTarget) -> Rc { + lower_promql_all(&[(query, accuracy)]).pop().unwrap() +} + +/// One root per query, lowered as one workload. +pub(crate) fn lower_promql_all(queries: &[(&str, AccuracyTarget)]) -> Vec> { let workload = PlanningWorkload { query_workload: QueryWorkload { language: QueryLanguage::PromQL, - query_batch: Some(vec![BatchEntry { - query: Query(query.into()), - requirements: QueryRequirements { - accuracy: AccuracyRequirement::Explicit(accuracy), - ..Default::default() - }, - predictability: Predictability::Unknown, - invocations: 1, - execute_at: None, - time_selection: TimeSelection::default(), - }]), + query_batch: Some( + queries + .iter() + .map(|(query, accuracy)| BatchEntry { + query: Query((*query).into()), + requirements: QueryRequirements { + accuracy: AccuracyRequirement::Explicit(accuracy.clone()), + ..Default::default() + }, + predictability: Predictability::Unknown, + invocations: 1, + execute_at: None, + time_selection: TimeSelection::default(), + }) + .collect(), + ), repeating_queries: None, }, data_workload: Some(DataWorkload { @@ -35,8 +45,5 @@ pub(crate) fn lower_promql(query: &str, accuracy: AccuracyTarget) -> Rc, + demand: &[RootDemand], + calibration: &Stage3Calibration, +) -> Option { + let reached = reaching_roots(dag); + demand.iter().enumerate().find_map(|(query, demand)| { + let bound = demand.latency_ms?; + let work: f64 = per_evaluation + .iter() + .filter(|(id, _)| reached.get(id).is_some_and(|roots| roots.contains(&query))) + .map(|(_, cost)| cost) + .sum(); + let latency = work * calibration.latency_ms_per_cost_unit; + (latency > bound).then(|| { + format!( + "q{}: query-time work takes {latency:.1} ms per evaluation, over the {bound} ms \ + latency bound", + query + 1 + ) + }) + }) } /// One Stage 1 sharing variant as selection sees it: candidates of variant @@ -403,31 +454,41 @@ pub fn independent(inventory: LocalLogicalCandidates) -> Vec` from `L`. `Err` is the reason the candidate cannot -/// be built. +/// Stage 1 → Stage 2 for `choice` in the independent variant, all query +/// time, named `P` from `L`. `Err` is the reason the +/// candidate cannot be built. pub fn realize_choice( inventory: &LocalLogicalCandidates, choice: &[usize], ) -> Result<(Vec<(Id, QueryRoot)>, PhysicalCandidate), String> { - realize( + let (logical, mut stage2) = realize( Variant { inventory, sharing: Sharing::Independent, offset: 0, }, choice, - ) + &[], + &DataWorkload::default(), + &PlanningModels::builtin(), + )?; + Ok((logical, stage2.candidates.swap_remove(0))) } /// Stage 1 → Stage 2 for `choice` in `variant`. A sharing variant also /// merges identical sub-DAGs after composition, so queries that chose the /// same summary producer reach one node; the returned Stage 1 candidate is -/// the merged one. +/// the merged one. The physical candidates are `P` (all query time) and +/// `P-m` for each materialization choice; above +/// [`MAX_PHYSICAL_PER_LOGICAL`] choices Stage 2 searches them greedily by +/// Stage 3's cost. fn realize( variant: Variant<'_, Id>, choice: &[usize], -) -> Result<(Vec<(Id, QueryRoot)>, PhysicalCandidate), String> { + demand: &[RootDemand], + data: &DataWorkload, + models: &PlanningModels<'_>, +) -> Result<(Vec<(Id, QueryRoot)>, Stage2Candidates), String> { let index = variant.number(choice); let mut logical = compose_logical_candidate(variant.inventory, choice) .map_err(|e| format!("Stage 1: {e}"))?; @@ -443,21 +504,59 @@ fn realize( QueryRoot::Scalar(_) => Err("Stage 2: scalar query roots are not physical yet"), }) .collect::, _>>()?; - let mut candidate = - stage2_physical(&format!("L{index}"), &roots).map_err(|e| format!("Stage 2: {e}"))?; - candidate.id = format!("P{index}"); - candidate.label = format!("{choice:?}"); - Ok((logical, candidate)) + let score = |candidate: &PhysicalCandidate| { + assess(candidate, demand, data, models) + .ok() + .map(|cost| cost.total) + }; + let mut stage2 = stage2_physical(&format!("L{index}"), &roots, demand, data, &score) + .map_err(|e| format!("Stage 2: {e}"))?; + for (k, candidate) in stage2.candidates.iter_mut().enumerate() { + candidate.id = match k { + 0 => format!("P{index}"), + k => format!("P{index}-m{k}"), + }; + candidate.label = match candidate.materialization.as_str() { + "" => format!("{choice:?}"), + m => format!("{choice:?} · {m}"), + }; + } + Ok((logical, stage2)) } -/// One built combination; `physical` is `None` when it could not be built. +/// Why a selection is not guaranteed optimal when Stage 2 searched a +/// candidate's materialization greedily. +fn greedy_reason(id: &str) -> String { + format!("{id}: more than {MAX_PHYSICAL_PER_LOGICAL} materialization choices, searched greedily") +} + +/// Stage 3 over the physical candidates of one logical candidate: its +/// cheapest valid cost, or the reason the first (all query time) fails. +fn best_total( + candidates: &[PhysicalCandidate], + demand: &[RootDemand], + data: &DataWorkload, + models: PlanningModels<'_>, +) -> Result { + match stage3_select(candidates, demand, data, models) { + Ok(selection) => Ok(selection.costs[&selection.selected].total), + Err(SelectionError::NoValidCandidate(rejected)) => Err(rejected + .into_iter() + .next() + .map_or_else(|| "no physical candidate".into(), |r| r.reason)), + Err(other) => Err(other.to_string()), + } +} + +/// One built combination; `physical` is empty when it could not be built, +/// else its Stage 2 candidates, all query time first. #[derive(Debug, Clone)] pub struct EnumeratedCandidate { /// The Pass 2 variant it comes from. pub sharing: Sharing, pub choice: Vec, pub logical: Option>, - pub physical: Option, + pub physical: Vec, } /// Every combination [`select_exhaustive`] built, and Stage 3 over them. @@ -491,11 +590,17 @@ fn exhaustive( ) -> Result, SelectionError> { let mut candidates = Vec::new(); let mut failed = Vec::new(); + let mut greedy = None; for variant in variants { let left = max.saturating_sub(candidates.len()); for choice in enumerate_choices(variant.inventory, left) { - let (logical, physical) = match realize(*variant, &choice) { - Ok((logical, physical)) => (Some(logical), Some(physical)), + let (logical, physical) = match realize(*variant, &choice, demand, data, &models) { + Ok((logical, stage2)) => { + if !stage2.exhaustive { + greedy.get_or_insert_with(|| greedy_reason(&stage2.candidates[0].id)); + } + (Some(logical), stage2.candidates) + } Err(reason) => { failed.push(Rejection { id: format!("P{}", variant.number(&choice)), @@ -505,7 +610,7 @@ fn exhaustive( // Composition may have succeeded: keep it for display. ( compose_logical_candidate(variant.inventory, &choice).ok(), - None, + Vec::new(), ) } }; @@ -519,11 +624,14 @@ fn exhaustive( } let physical: Vec<_> = candidates .iter() - .filter_map(|c| c.physical.clone()) + .flat_map(|c| c.physical.iter().cloned()) .collect(); let selection = match stage3_select(&physical, demand, data, models) { Ok(mut selection) => { selection.rejected.extend(failed); + if let Some(reason) = greedy { + selection.method = SelectionMethod::ExhaustiveGreedyMaterialization { reason }; + } selection } Err(SelectionError::NoValidCandidate(mut rejected)) => { @@ -574,9 +682,17 @@ pub fn select_plan( let mut not_optimal = None; let mut failures = Vec::new(); for variant in variants(stage1) { + // The program sees each logical candidate at its cheapest + // materialization. + let greedy = std::cell::RefCell::new(None); let evaluate = |choice: &[usize]| -> Result { - let (_, candidate) = realize(variant, choice)?; - assess(&candidate, demand, data, &models).map(|cost| cost.total) + let (_, stage2) = realize(variant, choice, demand, data, &models)?; + if !stage2.exhaustive { + greedy + .borrow_mut() + .get_or_insert_with(|| greedy_reason(&stage2.candidates[0].id)); + } + best_total(&stage2.candidates, demand, data, models) }; let plan = match select_variant(variant, demand, data, models, &evaluate) { Ok(plan) => plan, @@ -586,8 +702,15 @@ pub fn select_plan( } Err(other) => return Err(other), }; - if let SelectionMethod::TreeDpNotGuaranteedOptimal { reason } = &plan.selection.method { - not_optimal.get_or_insert_with(|| reason.clone()); + match &plan.selection.method { + SelectionMethod::TreeDpNotGuaranteedOptimal { reason } + | SelectionMethod::ExhaustiveGreedyMaterialization { reason } => { + not_optimal.get_or_insert_with(|| reason.clone()); + } + _ => {} + } + if let Some(reason) = greedy.into_inner() { + not_optimal.get_or_insert(reason); } costs.extend(plan.selection.costs.clone()); rejected.extend(plan.selection.rejected.clone()); @@ -847,7 +970,8 @@ fn best_choice( cost } -/// Build `choice` in `variant` and run Stage 3 on it. +/// Build `choice` in `variant` and run Stage 3 on its physical candidates: +/// the cheapest valid one is selected. fn finish( variant: Variant<'_, Id>, demand: &[RootDemand], @@ -856,17 +980,38 @@ fn finish( choice: Vec, method: SelectionMethod, ) -> Result, String> { - let (logical, physical) = realize(variant, &choice)?; - let cost = assess(&physical, demand, data, models)?; + let (logical, stage2) = realize(variant, &choice, demand, data, models)?; + let selection = match stage3_select(&stage2.candidates, demand, data, *models) { + Ok(selection) => selection, + Err(SelectionError::NoValidCandidate(rejected)) => { + return Err(rejected + .into_iter() + .next() + .map_or_else(|| "no physical candidate".into(), |r| r.reason)) + } + Err(other) => return Err(other.to_string()), + }; + let method = match (stage2.exhaustive, method) { + (false, SelectionMethod::TreeDp) => SelectionMethod::TreeDpNotGuaranteedOptimal { + reason: greedy_reason(&stage2.candidates[0].id), + }, + (false, SelectionMethod::Exhaustive) => SelectionMethod::ExhaustiveGreedyMaterialization { + reason: greedy_reason(&stage2.candidates[0].id), + }, + (_, method) => method, + }; + let physical = stage2 + .candidates + .into_iter() + .find(|c| c.id == selection.selected) + .expect("the selected candidate is one of them"); Ok(SelectedPlan { sharing: variant.sharing, choice, logical, selection: Selection { - selected: physical.id.clone(), - costs: BTreeMap::from([(physical.id.clone(), cost)]), - rejected: Vec::new(), method, + ..selection }, physical, }) @@ -890,8 +1035,8 @@ fn fallback( .iter() .find(|c| { c.physical - .as_ref() - .is_some_and(|p| p.id == enumeration.selection.selected) + .iter() + .any(|p| p.id == enumeration.selection.selected) }) .expect("the selected candidate was built"); let mut plan = finish( @@ -1169,18 +1314,127 @@ fn scan_extent_ms(dag: &PhysicalASAPDAG, id: PhysicalASAPNodeId, offset_ms: i64) .max() } +/// The role of an ingestion-time node in a chain of tumbling panes. +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +enum PaneRole { + /// The pane being built: every arriving row lands in it. It retains + /// `panes` completed panes plus itself. + Newest { panes: u64 }, + /// An older pane: the newest pane of an earlier evaluation, kept. It is + /// not built again. + Retained, + /// Feeds only retained panes: its work was done for the newest pane. + FeedsRetained, +} + +/// Ingestion-time panes merged by a `SummaryMerge`: pane `i` is pane 0 +/// shifted back by `i` widths, so at ingestion time the chain is one pane +/// built as rows arrive and kept for the later evaluations. The newest pane +/// is the one with the smallest shift. +fn pane_roles(dag: &PhysicalASAPDAG) -> HashMap { + let nodes: HashMap<_, _> = dag.nodes.iter().map(|n| (n.id, n)).collect(); + let producers = |id| { + dag.edges + .iter() + .filter(move |e| e.consumer == id) + .map(|e| e.producer) + }; + let ingestion = |id: PhysicalASAPNodeId| !nodes[&id].output_state.timing.is_query_time(); + // The shift of a pane over `TimeRange` over `TimeShift`, else 0. + let shift = |pane| { + producers(pane) + .flat_map(producers) + .find_map(|id| match &nodes[&id].payload { + Payload::NonASAP(NonASAPOp::TimeShift { shift, .. }) => Some(shift.offset_ms), + _ => None, + }) + .unwrap_or(0) + }; + let mut roles: HashMap = HashMap::new(); + for merge in dag + .nodes + .iter() + .filter(|n| matches!(n.payload, Payload::ASAP(ASAPOp::SummaryMerge { .. }))) + { + let panes: Vec<_> = producers(merge.id) + .filter(|&id| { + ingestion(id) + && matches!(nodes[&id].payload, Payload::ASAP(ASAPOp::SummaryAgg { .. })) + }) + .collect(); + let Some(&newest) = panes.iter().min_by_key(|&&id| shift(id)) else { + continue; + }; + let count = panes.len() as u64; + for &pane in &panes { + let role = if pane == newest { + PaneRole::Newest { panes: count } + } else { + PaneRole::Retained + }; + // A pane newest in one merge stays newest; the longest chain sets + // the retention. + let merged = match (roles.get(&pane).copied(), role) { + (Some(PaneRole::Newest { panes: a }), PaneRole::Newest { panes: b }) => { + PaneRole::Newest { panes: a.max(b) } + } + (Some(newest @ PaneRole::Newest { .. }), _) => newest, + (_, role) => role, + }; + roles.insert(pane, merged); + } + } + // Consumers first: an ingestion-time node whose consumers all are + // retained panes, or feed only those, does no work of its own. + for node in dag.nodes.iter().rev() { + if roles.contains_key(&node.id) || !ingestion(node.id) { + continue; + } + let mut consumers = dag + .edges + .iter() + .filter(|e| e.producer == node.id) + .peekable(); + if consumers.peek().is_some() + && consumers.all(|e| { + matches!( + roles.get(&e.consumer), + Some(PaneRole::Retained | PaneRole::FeedsRetained) + ) + }) + { + roles.insert(node.id, PaneRole::FeedsRetained); + } + } + roles +} + /// Price every node of `dag` once, per second of wall time. Nodes are /// exported children first, so each node's input statistics are known when /// it is reached. An ingestion-time node is priced over one second of /// ingested rows; a query-time node per evaluation, times its evaluation /// rate. State an ingestion-time node keeps for query-time readers is also /// charged per retained byte per second. +#[cfg(test)] fn price( dag: &PhysicalASAPDAG, demand: &[RootDemand], data: &DataWorkload, calibration: &Stage3Calibration, ) -> Result { + price_nodes(dag, demand, data, calibration).map(|(cost, _)| cost) +} + +/// [`price`], and the cost of one evaluation of each query-time node. +fn price_nodes( + dag: &PhysicalASAPDAG, + demand: &[RootDemand], + data: &DataWorkload, + calibration: &Stage3Calibration, +) -> Result< + (CandidateCost, HashMap), + (PhysicalASAPNodeId, AnalyticalCostError), +> { let first = dag.roots.first().copied().unwrap_or(0); calibration.validate().map_err(|error| (first, error))?; let series = data @@ -1202,8 +1456,10 @@ fn price( }; let reached = reaching_roots(dag); let nodes: HashMap<_, _> = dag.nodes.iter().map(|n| (n.id, n)).collect(); + let roles = pane_roles(dag); let mut output: HashMap = HashMap::new(); let mut per_node = BTreeMap::new(); + let mut per_evaluation = HashMap::new(); for node in &dag.nodes { let ingestion = !node.output_state.timing.is_query_time(); let inputs: Vec<_> = dag @@ -1453,21 +1709,40 @@ fn price( let read_at_query_time = dag.edges.iter().any(|e| { e.producer == node.id && nodes[&e.consumer].output_state.timing.is_query_time() }); - match read_at_query_time { + let retain = |windows: u64, cost: f64, what: &str| { + let retained = windows * out.rows * state_bytes(node); + ( + cost + calibration.cost_per_retained_byte_second * retained as f64, + format!("{detail}; ingestion time, {what}, retains {retained} bytes"), + ) + }; + match (roles.get(&node.id), read_at_query_time) { + (Some(PaneRole::Retained), _) => ( + 0.0, + "pane kept from an earlier evaluation; built and retained as the newest \ + pane" + .to_string(), + ), + (Some(PaneRole::FeedsRetained), _) => ( + 0.0, + "feeds only kept panes; done for the newest pane".to_string(), + ), + // The pane being built and every completed one the + // longest window reads. + (Some(PaneRole::Newest { panes }), _) => retain( + panes + 1, + cost, + &format!("newest of {panes} panes, keeps {panes} completed"), + ), // The window being built and the completed one. - true => { - let retained = 2 * out.rows * state_bytes(node); - ( - cost + calibration.cost_per_retained_byte_second * retained as f64, - format!("{detail}; ingestion time, retains {retained} bytes"), - ) - } - false => (cost, format!("{detail}; ingestion time")), + (None, true) => retain(2, cost, "window being built and the completed one"), + (None, false) => (cost, format!("{detail}; ingestion time")), } } else { let roots = reached.get(&node.id).into_iter().flatten(); let rate = evaluation_rate(roots.filter_map(|&r| demand.get(r)), calibration.horizon_s) .map_err(|error| (node.id, error))?; + per_evaluation.insert(node.id, cost); (cost * rate, format!("{detail}; x {rate:.4} evaluations/s")) }; output.insert(node.id, out); @@ -1480,15 +1755,18 @@ fn price( }, ); } - Ok(CandidateCost { - total: per_node.values().map(|n| n.cost).sum(), - unit: COST_PER_SECOND, - source: format!( - "analytical-cost-v2 (illustrative statistics, calibration {})", - calibration.version - ), - per_node, - }) + Ok(( + CandidateCost { + total: per_node.values().map(|n| n.cost).sum(), + unit: COST_PER_SECOND, + source: format!( + "analytical-cost-v2 (illustrative statistics, calibration {})", + calibration.version + ), + per_node, + }, + per_evaluation, + )) } /// Partitions a per-group ranking assumes, absent group-count evidence. @@ -1602,7 +1880,24 @@ fn summary_shape(family: &FieldDataType) -> (u64, u64) { mod tests { use super::*; use crate::test_support::lower_promql; - use asap_physical_optimizer::implementation::physical_candidates::stage2_physical; + + /// Stage 2's all-query-time candidate. + fn stage2_physical( + from: &str, + roots: &[Rc], + ) -> Result< + PhysicalCandidate, + asap_physical_optimizer::implementation::physical_candidates::Stage2Error, + > { + asap_physical_optimizer::implementation::physical_candidates::stage2_physical( + from, + roots, + &[], + &DataWorkload::default(), + &|_| None, + ) + .map(|mut stage2| stage2.candidates.swap_remove(0)) + } use asap_types::ir::QueryRoot; use asap_types::types::AccuracyTarget; use asap_types::workload::{Evidence, Predictability, Rate, RepetitionInterval}; @@ -1615,6 +1910,7 @@ mod tests { RepetitionInterval(interval_ms), )), predictability: Predictability::Unknown, + latency_ms: None, } } @@ -2156,6 +2452,180 @@ mod tests { matches!(payload, Payload::ASAP(ASAPOp::SummaryAgg { .. })) } + /// A p99 over the last 5 min every minute, predictable, over `data` + /// arriving continuously; latency bound `latency_ms`. + fn pattern_b( + data: DataWorkload, + latency_ms: Option, + ) -> (StagePipelineRun, Vec, DataWorkload) { + let demand = vec![RootDemand { + accuracy: Some(AccuracyTarget::Epsilon(0.01)), + predictability: Predictability::Predictable { known_at: None }, + latency_ms, + ..repeating(None, 60_000) + }]; + let data = DataWorkload { + arrival: asap_types::workload::DataArrival::ContinuouslyIngesting, + ..data + }; + let root = lower_promql( + "quantile_over_time(0.99, m[5m])", + AccuracyTarget::Epsilon(0.01), + ); + let root = asap_types::ir::schema_support::with_promql_series_identity(&root).unwrap(); + let run = plan_stages( + vec![(0, QueryRoot::Operator(root))], + &demand, + &data, + PlanningModels::builtin(), + MAX_ENUMERATED_CANDIDATES, + ) + .unwrap(); + (run, demand, data) + } + + /// The maintained KLL panes of [`pattern_b`] and their cost. + fn maintained_panes(run: &StagePipelineRun) -> (&PhysicalCandidate, &CandidateCost) { + let enumeration = run.enumeration.as_ref().unwrap(); + let p = enumeration + .candidates + .iter() + .flat_map(|c| &c.physical) + .find(|p| p.materialization == "ingestion time: Kll ×5 panes") + .expect("maintained KLL panes"); + (p, &enumeration.selection.costs[&p.id]) + } + + /// At ingestion time a chain of panes is one pane built as rows arrive + /// and kept: the newest pane pays the build and the memory of itself + /// and the 5 completed panes; the older panes and their inputs cost + /// nothing, since they are earlier evaluations' newest panes. + #[test] + fn maintained_panes_build_once_and_retain_lookback_over_width_plus_one() { + let (run, ..) = pattern_b(data(), None); + let (p, cost) = maintained_panes(&run); + let builds: Vec<_> = p + .dag + .nodes + .iter() + .filter(|n| is_build(&n.payload)) + .collect(); + assert_eq!(builds.len(), 5); + let charged: Vec<_> = builds + .iter() + .filter(|n| cost.per_node[&n.id].cost > 0.0) + .collect(); + let [newest] = charged[..] else { + panic!("one charged pane: {}", charged.len()) + }; + let Payload::ASAP(ASAPOp::SummaryAgg { family, .. }) = &newest.payload else { + unreachable!() + }; + // data(): λ = 10 000 rows/s into 10 000 series. + let node = &cost.per_node[&newest.id]; + let retained = 6 * 10_000 * summary_shape(family).1; + let build = 10_000.0 * 1e-6; + assert!( + (node.cost - build - 1.25e-7 * retained as f64).abs() < 1e-9, + "{}: {}", + node.cost, + node.detail + ); + let ingestion: Vec<_> = p + .dag + .nodes + .iter() + .filter(|n| !n.output_state.timing.is_query_time() && cost.per_node[&n.id].cost > 0.0) + .map(|n| cost.per_node[&n.id].detail.clone()) + .collect(); + // The scan, one shift, one range and the newest pane. + assert_eq!(ingestion.len(), 4, "{ingestion:#?}"); + } + + /// The latency check (S6) rejects a candidate whose query-time work in + /// one evaluation, at one cost unit per ms, exceeds its query's bound, + /// and names the query, the estimate and the bound. + #[test] + fn latency_bound_rejects_slow_query_time_work() { + let (run, ..) = pattern_b(data(), None); + let enumeration = run.enumeration.as_ref().unwrap(); + let all: Vec<_> = enumeration + .candidates + .iter() + .flat_map(|c| &c.physical) + .collect(); + assert!(enumeration.selection.rejected.iter().all(|r| r.valid)); + // Per evaluation, in cost units: per-second cost × 60 s for the + // all-query-time candidates. + let per_evaluation = + |p: &PhysicalCandidate| enumeration.selection.costs[&p.id].total * 60.0; + let query_time: Vec<&PhysicalCandidate> = all + .iter() + .copied() + .filter(|p| p.materialization.is_empty()) + .collect(); + let (low, high) = query_time + .iter() + .map(|p| per_evaluation(p)) + .fold((f64::INFINITY, 0.0f64), |(lo, hi), x| { + (lo.min(x), hi.max(x)) + }); + let bound = ((low + high) / 2.0).round(); + let (fast, slow): (Vec<_>, Vec<_>) = query_time + .into_iter() + .partition(|p| per_evaluation(p) < bound); + assert!(!fast.is_empty() && !slow.is_empty(), "{low} {high}"); + let (bounded, ..) = pattern_b(data(), Some(bound)); + let selection = &bounded.enumeration.as_ref().unwrap().selection; + for p in slow { + let reason = &selection + .rejected + .iter() + .find(|r| r.id == p.id) + .unwrap() + .reason; + assert!( + reason.starts_with("q1: query-time work takes") + && reason.ends_with(&format!("over the {bound} ms latency bound")), + "{reason}" + ); + } + for p in fast { + assert!(selection.costs.contains_key(&p.id), "{}", p.id); + } + } + + /// With few series and a high ingestion rate, maintaining the panes + /// beats rebuilding the window at every evaluation, and the dynamic + /// program, which sees each logical candidate at its cheapest + /// materialization, selects what exhaustive selection does. + #[test] + fn maintained_panes_win_with_few_series_and_dp_agrees() { + let few = DataWorkload { + ingestion_rate: Evidence { + value: Some(Rate(100_000.0)), + ..Default::default() + }, + input_cardinality: Evidence { + value: Some(10), + ..Default::default() + }, + ..Default::default() + }; + let (run, ..) = pattern_b(few, None); + let enumeration = run.enumeration.as_ref().unwrap(); + let selected = &enumeration.selection.selected; + assert!(selected.contains("-m"), "{selected}"); + assert_eq!(&run.plan.selection.selected, selected); + assert!(!run.plan.physical.materialization.is_empty()); + assert!(run.plan.selection.guaranteed_optimal()); + let (run, ..) = pattern_b(data(), None); + let (_, maintained) = maintained_panes(&run); + let selection = &run.enumeration.as_ref().unwrap().selection; + assert!(maintained.total > selection.costs[&selection.selected].total); + assert_eq!(run.plan.selection.selected, selection.selected); + } + /// An ingestion-time node is priced over λ rows per second, whatever its /// readers' evaluation rate; a query-time node scales with that rate. #[test] @@ -2335,8 +2805,10 @@ mod tests { .find(|v| v.sharing == sharing) .unwrap(); let raw = vec![0; variant.inventory.targets.len()]; - let (_, candidate) = realize(variant, &raw).unwrap(); - let cost = assess(&candidate, &demand, &data, &PlanningModels::builtin()).unwrap(); + let models = PlanningModels::builtin(); + let (_, mut stage2) = realize(variant, &raw, &demand, &data, &models).unwrap(); + let candidate = stage2.candidates.swap_remove(0); + let cost = assess(&candidate, &demand, &data, &models).unwrap(); let scan_rows: Vec<_> = candidate .dag .nodes diff --git a/crates/planner/tests/e2e_plan.rs b/crates/planner/tests/e2e_plan.rs index 61043b9d..01e28a02 100644 --- a/crates/planner/tests/e2e_plan.rs +++ b/crates/planner/tests/e2e_plan.rs @@ -140,7 +140,7 @@ async fn facade_plans_match_exhaustive_stage_pipeline_selection() { let exhaustive = enumeration .candidates .iter() - .filter_map(|c| c.physical.as_ref()) + .flat_map(|c| c.physical.iter()) .find(|p| p.id == enumeration.selection.selected) .expect("selected candidate"); diff --git a/crates/planner/tests/stage_pipeline_selection.rs b/crates/planner/tests/stage_pipeline_selection.rs index 5526784b..c8417193 100644 --- a/crates/planner/tests/stage_pipeline_selection.rs +++ b/crates/planner/tests/stage_pipeline_selection.rs @@ -180,8 +180,8 @@ fn selects_exhaustive_minimum( .iter() .find(|c| { c.physical - .as_ref() - .is_some_and(|p| p.id == exhaustive.selection.selected) + .iter() + .any(|p| p.id == exhaustive.selection.selected) }) .expect("winner was built"); diff --git a/crates/types/src/ir/properties/timing.rs b/crates/types/src/ir/properties/timing.rs index b87406c1..83ccb866 100644 --- a/crates/types/src/ir/properties/timing.rs +++ b/crates/types/src/ir/properties/timing.rs @@ -20,8 +20,8 @@ //! //! A node reached from two consumers that need different timings cannot be //! executed once for both; [`split_shared_by_phase`] copies such a sub-DAG -//! for one side before the assignment is applied, and the pass itself -//! rejects a conflict it still finds. +//! per phase, across the roots of a workload, before the assignment is +//! applied, and the pass itself rejects a conflict it still finds. //! //! ## Edge rules (checked after the write) //! @@ -581,15 +581,19 @@ fn validate_non_asap( Ok(()) } -/// Copy, for one consumer, every sub-DAG that `assignment` would reach with -/// two different timings, so that a workload whose CSE shared a `Scan` -/// between an ingestion-time summary and a query-time computation can still -/// be timed. Only the conflicting sub-DAGs are copied; a sub-DAG reached with -/// one timing stays one `Rc`. Returns the (possibly rewritten) root. +/// Copy, per phase, every sub-DAG that `assignment` would reach with two +/// different timings across the roots of one workload, so that a workload +/// whose CSE shared a `Scan` between an ingestion-time summary and a +/// query-time computation (of the same query or of another) can still be +/// timed. Only the conflicting sub-DAGs and the nodes above them are copied; +/// a sub-DAG reached with one timing stays one `Rc`, also across roots. +/// +/// Returns the rewritten roots and the assignment re-keyed to them: a copied +/// `SummaryAgg` is a new `Rc`, and keeps its state's timing. pub fn split_shared_by_phase( - root: &Rc, + roots: &[Rc], assignment: &MaterializationAssignment, -) -> Rc { +) -> (Vec>, MaterializationAssignment) { // First pass: the set of timings each node is reached with. let mut reached: HashMap<*const OperatorNode, Vec> = HashMap::new(); let mut forced = HashMap::new(); @@ -610,38 +614,43 @@ pub fn split_shared_by_phase( collect(child, timing, assignment, reached, forced); } } - collect( - root, - ExecutionTiming::QueryTime, - assignment, - &mut reached, - &mut forced, - ); + for root in roots { + collect( + root, + ExecutionTiming::QueryTime, + assignment, + &mut reached, + &mut forced, + ); + } if reached.values().all(|timings| timings.len() <= 1) { - return Rc::clone(root); + return (roots.to_vec(), assignment.clone()); } // Second pass: rebuild, giving each (node, timing) pair its own copy. - let mut copies: HashMap<(*const OperatorNode, ExecutionTiming), Rc> = - HashMap::new(); + struct Rebuild<'a> { + assignment: &'a MaterializationAssignment, + reached: HashMap<*const OperatorNode, Vec>, + copies: HashMap<(*const OperatorNode, ExecutionTiming), Rc>, + forced: HashMap<*const OperatorNode, bool>, + rekeyed: MaterializationAssignment, + } fn rebuild( node: &Rc, consumer: ExecutionTiming, - assignment: &MaterializationAssignment, - reached: &HashMap<*const OperatorNode, Vec>, - copies: &mut HashMap<(*const OperatorNode, ExecutionTiming), Rc>, - forced: &mut HashMap<*const OperatorNode, bool>, + state: &mut Rebuild<'_>, ) -> Rc { - let timing = own_timing(node, consumer, assignment, forced); + let timing = own_timing(node, consumer, state.assignment, &mut state.forced); let key = (Rc::as_ptr(node), timing); - if let Some(done) = copies.get(&key) { + if let Some(done) = state.copies.get(&key) { return Rc::clone(done); } - let conflicted = reached + let conflicted = state + .reached .get(&Rc::as_ptr(node)) .is_some_and(|timings| timings.len() > 1); let mut changed = conflicted; let operator = node.operator.map_children(|child| { - let rebuilt = rebuild(child, timing, assignment, reached, copies, forced); + let rebuilt = rebuild(child, timing, state); changed |= !Rc::ptr_eq(&rebuilt, child); rebuilt }); @@ -654,17 +663,26 @@ pub fn split_shared_by_phase( } else { Rc::clone(node) }; - copies.insert(key, Rc::clone(&out)); + if matches!(node.operator, Operator::ASAP(ASAPOp::SummaryAgg { .. })) { + state + .rekeyed + .set(&out, state.assignment.summary_timing(node)); + } + state.copies.insert(key, Rc::clone(&out)); out } - rebuild( - root, - ExecutionTiming::QueryTime, + let mut state = Rebuild { assignment, - &reached, - &mut copies, - &mut forced, - ) + reached, + copies: HashMap::new(), + forced, + rekeyed: assignment.clone(), + }; + let roots = roots + .iter() + .map(|root| rebuild(root, ExecutionTiming::QueryTime, &mut state)) + .collect(); + (roots, state.rekeyed) } /// Maintenance arithmetic needs the same per-series population on both sides. @@ -1010,8 +1028,45 @@ mod tests { second: ExecutionDataState::QUERY_ROWS, }) ); - let split = split_shared_by_phase(&root, &MaterializationAssignment::all_ingestion_time()); - assert!(apply(&split).is_ok()); + let (split, _) = split_shared_by_phase( + std::slice::from_ref(&root), + &MaterializationAssignment::all_ingestion_time(), + ); + assert!(apply(&split[0]).is_ok()); + } + + /// Across roots: a scan read by one query's ingestion-time summary and by + /// another query's query-time aggregate is copied per phase. The summary + /// above the copied scan keeps its assignment, and a sub-DAG reached at + /// one timing by both roots stays one node. + #[test] + fn split_by_phase_across_roots_keeps_the_assignment() { + let shared = scan(); + let summary = agg(Rc::clone(&shared), kll()); + let both = max(Rc::clone(&shared)); + let maintained = estimate(Rc::clone(&summary)); + let queried = max(Rc::clone(&shared)); + let mut assignment = MaterializationAssignment::all_query_time(); + assignment.set(&summary, ExecutionTiming::IngestionTime); + let roots = [maintained, queried, Rc::clone(&both), both]; + let time = |roots: &[Rc], assignment| { + let mut memo = TimingMemo::new(); + roots + .iter() + .map(|root| apply_materialization_timings(root, assignment, &mut memo)) + .collect::, _>>() + }; + assert!(matches!( + time(&roots, &assignment), + Err(ExecutionDataStateError::ConflictingTiming { .. }) + )); + let (split, rekeyed) = split_shared_by_phase(&roots, &assignment); + let timed = time(&split, &rekeyed).unwrap(); + let build = child(&timed[0]); + assert_eq!(build.timing, Some(ExecutionTiming::IngestionTime)); + assert_eq!(child(&build).timing, Some(ExecutionTiming::IngestionTime)); + assert_eq!(child(&timed[1]).timing, Some(ExecutionTiming::QueryTime)); + assert!(Rc::ptr_eq(&split[2], &split[3])); } /// Both paired operands must be plain; an unrelated state column is not diff --git a/crates/types/src/workload/mod.rs b/crates/types/src/workload/mod.rs index 3915ea43..133398a9 100644 --- a/crates/types/src/workload/mod.rs +++ b/crates/types/src/workload/mod.rs @@ -430,13 +430,15 @@ impl From<&RepeatingEntry> for QueryWorkloadEntry { } /// What planning needs of one query root beyond its DAG: Stage 3 checks -/// `accuracy` (`None` imposes no target) and prices by `recurrence`; -/// Stage 2's ingestion-time eligibility also reads `predictability`. +/// `accuracy` (`None` imposes no target) and `latency_ms` (`None`: no bound) +/// and prices by `recurrence`; Stage 2's ingestion-time eligibility also +/// reads `predictability`. #[derive(Debug, Clone, PartialEq)] pub struct RootDemand { pub accuracy: Option, pub recurrence: QueryRecurrence, pub predictability: Predictability, + pub latency_ms: Option, } impl From<&QueryWorkloadEntry> for RootDemand { @@ -445,6 +447,10 @@ impl From<&QueryWorkloadEntry> for RootDemand { accuracy: Some(entry.requirements.accuracy.target()), recurrence: entry.recurrence.clone(), predictability: entry.predictability.clone(), + latency_ms: match entry.requirements.response_latency { + LatencyRequirement::ExplicitMaxMs(ms) => Some(ms), + LatencyRequirement::Unspecified => None, + }, } } } diff --git a/docs/design_docs/proposals/stage3-cost-model.md b/docs/design_docs/proposals/stage3-cost-model.md index e74c2499..cc37dbe0 100644 --- a/docs/design_docs/proposals/stage3-cost-model.md +++ b/docs/design_docs/proposals/stage3-cost-model.md @@ -19,11 +19,11 @@ for the workload in steady state. | CPU work of every operator, at ingestion time or at query time | Transient query-time memory | | Bytes a scan reads | Storage tier and retention: disk versus memory, and for how long (S3, with panes) | | Memory held across evaluations by ingestion-time state that query time reads | Network, parallelism and partitioning | -| | Latency bounds and deployment capabilities (separate checks, not cost) | +| | Latency bounds (a separate check, below) and deployment capabilities | | | One-time setup work such as backfill (deferred, S5) | -Accuracy is a check, not a cost. Stage 3 rejects candidates that miss a -target, then prices the rest. +Accuracy and latency are checks, not costs. Stage 3 rejects candidates that +miss a target, then prices the rest. ## Time basis @@ -102,6 +102,33 @@ factor 2 covers the window being built plus the completed window that queries read. Query-time state, built and discarded within one evaluation, is transient and not priced. +**Tumbling panes at ingestion time.** A window of `lookback` read every +evaluation as `N = lookback / w` panes of width `w` is, at ingestion time, +one pane built as rows arrive and kept for the next evaluations: pane `i` of +this evaluation is the newest pane of the evaluation `i · w` earlier. So the +newest pane (the smallest shift) pays the build, over λ rows per second, and +the memory of itself and the `N` completed panes: + +```text +retained_bytes(newest) = (N + 1) · groups · state_bytes +``` + +The older panes, and the shifts and ranges that feed only them, cost nothing. +When panes are shared by windows of different lengths, the longest sets `N`. +The merge and the estimate run at query time, per evaluation. Retention is +in memory only (S3). + +## Latency check + +A query's `response_latency` bound (S6) is checked against the query-time +work it waits for in one evaluation: the per-evaluation cost of every +query-time node the query reaches, shared nodes included, times +`latency_ms_per_cost_unit`. Ingestion-time work is done before the query +asks, so maintaining state at ingestion time moves work out of the bound. A +candidate over the bound is rejected with the query, the estimate and the +bound, for example `q1: query-time work takes 310.0 ms per evaluation, over +the 200 ms latency bound`. The estimate assumes one core and no queueing. + ## Calibration Every coefficient lives in `Stage3Calibration`, carried by `PlanningModels` @@ -113,6 +140,7 @@ and set with `PlanningModels::with_calibration`: | `cost_per_scan_byte` | 1e-7 | per byte read by a scan | | `cost_per_retained_byte_second` | 1.25e-7 | `w_mem` | | `horizon_s` | 3600 | `H` | +| `latency_ms_per_cost_unit` | 1 | ms of response time per cost unit of query-time work: one CPU-ms on one core (1e6 operations or 1e7 scanned bytes per ms) | | `version` | `illustrative-v2` | reported in each candidate's cost `source` | A deployment that prices memory differently, for example memory-rich @@ -161,9 +189,10 @@ cost model never discounts or multiplies a node by its number of consumers. ## Worked example: Example 1 Example 1 has two panels, each repeating every 10 s, over 1 000 000 series -ingested every 15 s (λ = 66 667 rows/s). Every node runs at query time, since -Stage 2 does not choose ingestion time yet. Both roots have the same 10-s -interval, so every node, shared or not, has `r = 0.1`/s. +ingested every 15 s (λ = 66 667 rows/s). In the selected plan every node runs +at query time (no summary in it can be maintained: its windows slide). Both +roots have the same 10-s interval, so every node, shared or not, has +`r = 0.1`/s. P60, the selected plan (Q1 exact; Q2 Count-Min + heap over an exact `sum_over_time` accumulator, valid because `http_requests_total` is declared a @@ -187,14 +216,25 @@ The runner-up is P44 at 4.720 per second; the same choices with separate inputs (P28) cost 7.340, because the scan and range are charged twice. Before per-second pricing, P60 cost 46.201 CPU-ms per workload evaluation. Now -it costs 46.201 × 0.1 = 4.620 per second. Every other candidate scales by the -same factor, so the ranking is unchanged. With uniform recurrence and no -ingestion-time nodes the new unit is a rescaling. It changes the ranking once -recurrences differ, or once Stage 2 offers ingestion-time candidates that pay -λ-rate maintenance and memory instead of per-evaluation rebuilds. +it costs 46.201 × 0.1 = 4.620 per second. Every other all-query-time +candidate scales by the same factor, so their ranking is unchanged. + +**With materialization.** Stage 2 also offers Q2's exact `sum_over_time` in +six 10-s panes maintained at ingestion time. The cheapest such candidate costs +47.407 per second: the panes' ingestion work is small (scan 0.387, shift and +range 0.133, newest-pane build 0.067), but the newest pane retains seven +panes of 1 000 000 per-series sums, 336 MB, for 42.0 per second of memory. +The selection is unchanged. Q2's 100 ms latency bound rejects 40 candidates, +every Count-Sketch + heap among them. ## Out of scope for now +* **Not materialized for several consumers (Q44, Example 4 A3).** Stage 2 + would duplicate the sub-DAG per consuming query; it does not generate that + option yet. +* **Query time, kept (Example 4 B3).** A pane built at query time and kept + for later evaluations is not offered; panes are rebuilt at query time or + maintained at ingestion time. * **Storage tier and retention (S3).** Retained state is priced as memory. Choosing disk versus memory and how long to keep state comes with panes. * **Calibration from measurements.** The coefficients and default statistics diff --git a/tools/dag-viewer/examples/planner-layering-example1.json b/tools/dag-viewer/examples/planner-layering-example1.json index 5093c23c..c9c3a0af 100644 --- a/tools/dag-viewer/examples/planner-layering-example1.json +++ b/tools/dag-viewer/examples/planner-layering-example1.json @@ -91989,7 +91989,7 @@ "consumer": 5, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -92038,13 +92038,13 @@ }, "producer": 4, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 6, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -92093,13 +92093,13 @@ }, "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 7, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -92148,18 +92148,34 @@ }, "producer": 6, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 8, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -92170,43 +92186,33 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 7, + "producer": 4, "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -92250,71 +92256,73 @@ ] ] }, - "output_state": { + "producer": 8, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 10, + "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 1, - "output_schema": { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -92358,27 +92366,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 2, - "output_schema": { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -92422,35 +92421,36 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } + "producer": 11, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 3, - "output_schema": { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -92461,52 +92461,33 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } + "producer": 12, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 4, - "output_schema": { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -92550,71 +92531,73 @@ ] ] }, - "output_state": { + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 15, + "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 14, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 5, - "output_schema": { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -92658,27 +92641,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 4, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } + "producer": 15, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 6, - "output_schema": { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -92722,36 +92696,91 @@ ] ] }, - "output_state": { + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 18, + "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 5, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 17, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 7, - "output_schema": { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -92762,88 +92791,106 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" + "producer": 18, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 6, - "family": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - "reduction": { - "Reduce": [ - 2 - ] - } + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 8, - "output_schema": { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -92859,6 +92906,37 @@ "name": "$promql_series_identity", "nullable": false, "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 20, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null }, { "dtype": { @@ -92867,51 +92945,99 @@ "name": "value", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" + "producer": 21, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" }, - "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - "summary_input": 7 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - } - } - ], - "roots": [ - 3, - 8 - ] - }, - "from_logical": "L4", - "id": "P4", - "label": "Q1 exact · Q2 CMS+heap" - }, - { - "dag": { - "edges": [ + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 23, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -92927,9 +93053,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -92958,15 +93087,15 @@ ] ] }, - "producer": 0, + "producer": 10, "role": "Input", "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 23, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -92982,9 +93111,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -93013,15 +93145,15 @@ ] ] }, - "producer": 1, + "producer": 13, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 23, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -93037,9 +93169,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -93068,15 +93203,15 @@ ] ] }, - "producer": 2, + "producer": 16, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 23, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -93092,9 +93227,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -93123,15 +93261,15 @@ ] ] }, - "producer": 4, + "producer": 19, "role": "Input", "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 23, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -93147,9 +93285,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -93178,12 +93319,12 @@ ] ] }, - "producer": 5, + "producer": 22, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 24, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -93236,12 +93377,12 @@ ] ] }, - "producer": 6, + "producer": 23, "role": "Input", "window": "NotApplicable" }, { - "consumer": 8, + "consumer": 25, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -93291,20 +93432,36 @@ ] ] }, - "producer": 7, + "producer": 24, "role": "Input", "window": "NotApplicable" }, { - "consumer": 9, + "consumer": 26, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -93315,34 +93472,22 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 8, + "producer": 25, "role": "Input", "window": "NotApplicable" } @@ -93697,7 +93842,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -93805,16 +93950,79 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { - "TimeRange": { + "TimeShift": { "child": 4, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 5, "kind": "range", "range": { "nanos": 0, - "secs": 60 + "secs": 10 } } } @@ -93822,7 +94030,7 @@ }, { "guarantee": null, - "id": 6, + "id": 7, "output_schema": { "closed": true, "fields": [ @@ -93872,12 +94080,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 5, + "child": 6, "family": { "ExactAggregate": [ "Sum", @@ -93902,7 +94110,7 @@ }, { "guarantee": null, - "id": 7, + "id": 8, "output_schema": { "closed": true, "fields": [ @@ -93949,103 +94157,79 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 6 + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 10000 + } } } } }, { "guarantee": null, - "id": 8, + "id": 9, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", "nullable": true, "table": null }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "payload": { - "ASAP": { - "SummaryAgg": { - "child": 7, - "family": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] + "NonASAP": { + "TimeRange": { + "child": 8, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 } } } @@ -94053,81 +94237,88 @@ }, { "guarantee": null, - "id": 9, + "id": 10, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, "output_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "payload": { "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 + "SummaryAgg": { + "child": 9, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } }, - "summary_input": 8 + "reduction": "PerEntity" } } } - } - ], - "roots": [ - 3, - 9 - ] - }, - "from_logical": "L5", - "id": "P5", - "label": "Q1 exact · Q2 CMS+heap (Sum acc)" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 11, + "output_schema": { "closed": true, "fields": [ { @@ -94171,18 +94362,26 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 2, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { "closed": true, "fields": [ { @@ -94226,18 +94425,27 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 3, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 11, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { "closed": true, "fields": [ { @@ -94250,9 +94458,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -94281,18 +94492,40 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 12, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 5, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 14, + "output_schema": { "closed": true, "fields": [ { @@ -94336,18 +94569,26 @@ ] ] }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 6, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { "closed": true, "fields": [ { @@ -94391,18 +94632,27 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 7, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 14, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { "closed": true, "fields": [ { @@ -94415,9 +94665,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -94446,18 +94699,40 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 15, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 8, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 17, + "output_schema": { "closed": true, "fields": [ { @@ -94501,18 +94776,26 @@ ] ] }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 9, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { "closed": true, "fields": [ { @@ -94556,18 +94839,27 @@ ] ] }, - "producer": 8, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 10, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 17, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { "closed": true, "fields": [ { @@ -94580,9 +94872,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -94611,18 +94906,40 @@ ] ] }, - "producer": 9, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 18, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 11, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 20, + "output_schema": { "closed": true, "fields": [ { @@ -94666,18 +94983,26 @@ ] ] }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 12, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { "closed": true, "fields": [ { @@ -94721,18 +95046,27 @@ ] ] }, - "producer": 11, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 13, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 20, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { "closed": true, "fields": [ { @@ -94745,9 +95079,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -94776,18 +95113,40 @@ ] ] }, - "producer": 12, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 21, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 14, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 23, + "output_schema": { "closed": true, "fields": [ { @@ -94800,9 +95159,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -94831,18 +95193,29 @@ ] ] }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 15, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 7, + 10, + 13, + 16, + 19, + 22 + ] + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { "closed": true, "fields": [ { @@ -94886,18 +95259,22 @@ ] ] }, - "producer": 14, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 16, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 23 + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { "closed": true, "fields": [ { @@ -94941,18 +95318,34 @@ ] ] }, - "producer": 15, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 17, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Sort": { + "child": 24, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], + "partition_by": [ + 2 + ] + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { "closed": true, "fields": [ { @@ -94996,12 +95389,38 @@ ] ] }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" - }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Limit": { + "child": 25, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] + } + } + } + } + ], + "roots": [ + 3, + 26 + ] + }, + "from_logical": "L3", + "id": "P3-m1", + "label": "Q1 exact · Q2 exact (Sum acc · tumbling 10s panes) · ingestion time: exact Sum ×6 panes" + }, + { + "dag": { + "edges": [ { - "consumer": 18, + "consumer": 1, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -95051,12 +95470,12 @@ ] ] }, - "producer": 17, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 19, + "consumer": 2, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -95106,12 +95525,12 @@ ] ] }, - "producer": 18, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 20, + "consumer": 3, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -95161,12 +95580,12 @@ ] ] }, - "producer": 4, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 21, + "consumer": 5, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -95216,12 +95635,12 @@ ] ] }, - "producer": 20, + "producer": 4, "role": "Input", "window": "NotApplicable" }, { - "consumer": 22, + "consumer": 6, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -95271,14 +95690,14 @@ ] ] }, - "producer": 21, + "producer": 5, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 7, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -95295,12 +95714,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -95329,12 +95745,12 @@ ] ] }, - "producer": 7, + "producer": 6, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 8, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -95343,25 +95759,6 @@ "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -95372,33 +95769,43 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 10, + "producer": 7, "role": "Input", "window": "NotApplicable" - }, + } + ], + "nodes": [ { - "consumer": 23, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 0, + "output_schema": { "closed": true, "fields": [ { @@ -95411,12 +95818,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -95445,18 +95849,71 @@ ] ] }, - "producer": 13, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 23, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { "closed": true, "fields": [ { @@ -95469,12 +95926,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -95503,18 +95957,27 @@ ] ] }, - "producer": 16, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 23, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { "closed": true, "fields": [ { @@ -95527,12 +95990,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -95561,18 +96021,91 @@ ] ] }, - "producer": 19, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } }, { - "consumer": 23, - "data_state": { - "primitive": "SummaryState", + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { "closed": true, "fields": [ { @@ -95585,229 +96118,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 22, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 24, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 23, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 25, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 24, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 26, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "producer": 25, - "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ - { - "guarantee": null, - "id": 0, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", + "name": "value", "nullable": false, "table": null }, @@ -95899,7 +96212,7 @@ }, { "guarantee": null, - "id": 1, + "id": 5, "output_schema": { "closed": true, "fields": [ @@ -95951,7 +96264,7 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 0, + "child": 4, "kind": "range", "range": { "nanos": 0, @@ -95963,7 +96276,7 @@ }, { "guarantee": null, - "id": 2, + "id": 6, "output_schema": { "closed": true, "fields": [ @@ -96015,12 +96328,13 @@ "payload": { "NonASAP": { "Aggregate": { - "child": 1, + "child": 5, "filters": [], "having": null, "measures": [ { - "kind": "rate" + "col": null, + "kind": "sum" } ], "output_names": [ @@ -96033,7 +96347,7 @@ }, { "guarantee": null, - "id": 3, + "id": 7, "output_schema": { "closed": true, "fields": [ @@ -96047,9 +96361,22 @@ }, { "dtype": { - "Plain": "float64" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "sum", + "name": "state", "nullable": false, "table": null } @@ -96062,24 +96389,45 @@ ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" + "ASAP": { + "SummaryAgg": { + "child": 6, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" } - ], - "output_names": [ - "" - ], + }, "reduction": { "Reduce": [ 2 @@ -96091,48 +96439,40 @@ }, { "guarantee": null, - "id": 4, + "id": 8, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { "Plain": "utf8" }, - "name": "job", - "nullable": true, + "name": "$promql_series_identity", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "value", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, @@ -96141,66 +96481,39 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 } - } + }, + "summary_input": 7 } } } - }, + } + ], + "roots": [ + 3, + 8 + ] + }, + "from_logical": "L4", + "id": "P4", + "label": "Q1 exact · Q2 CMS+heap" + }, + { + "dag": { + "edges": [ { - "guarantee": null, - "id": 5, - "output_schema": { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -96244,26 +96557,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 4, - "shift": { - "at": null, - "offset_ms": 0 - } - } - } - } - }, - { - "guarantee": null, - "id": 6, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -96307,27 +96612,18 @@ ] ] }, - "output_state": { + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 5, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 7, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -96340,12 +96636,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -96374,40 +96667,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 6, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 2, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 8, - "output_schema": { + "consumer": 5, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -96451,26 +96722,18 @@ ] ] }, - "output_state": { + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 4, - "shift": { - "at": null, - "offset_ms": 10000 - } - } - } - } - }, - { - "guarantee": null, - "id": 9, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -96514,27 +96777,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 8, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 5, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 10, - "output_schema": { + "consumer": 7, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -96581,40 +96835,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 9, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 6, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 11, - "output_schema": { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -96658,44 +96890,20 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 4, - "shift": { - "at": null, - "offset_ms": 20000 - } - } - } - } + "producer": 7, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 12, - "output_schema": { + "consumer": 9, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -96706,41 +96914,42 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 11, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ { "guarantee": null, - "id": 13, + "id": 0, "output_schema": { "closed": true, "fields": [ @@ -96754,12 +96963,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -96789,38 +96995,69 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { - "child": 12, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] ] }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - }, - "reduction": "PerEntity" + } } } } }, { "guarantee": null, - "id": 14, + "id": 1, "output_schema": { "closed": true, "fields": [ @@ -96871,11 +97108,12 @@ }, "payload": { "NonASAP": { - "TimeShift": { - "child": 4, - "shift": { - "at": null, - "offset_ms": 30000 + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 } } } @@ -96883,7 +97121,7 @@ }, { "guarantee": null, - "id": 15, + "id": 2, "output_schema": { "closed": true, "fields": [ @@ -96934,42 +97172,29 @@ }, "payload": { "NonASAP": { - "TimeRange": { - "child": 14, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 16, + "id": 3, "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -96980,54 +97205,51 @@ }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "sum", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { - "child": 15, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" } - }, - "reduction": "PerEntity" + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } } } } }, { "guarantee": null, - "id": 17, + "id": 4, "output_schema": { "closed": true, "fields": [ @@ -97078,11 +97300,56 @@ }, "payload": { "NonASAP": { - "TimeShift": { - "child": 4, - "shift": { - "at": null, - "offset_ms": 40000 + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } } } } @@ -97090,7 +97357,7 @@ }, { "guarantee": null, - "id": 18, + "id": 5, "output_schema": { "closed": true, "fields": [ @@ -97142,11 +97409,11 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 17, + "child": 4, "kind": "range", "range": { "nanos": 0, - "secs": 10 + "secs": 60 } } } @@ -97154,7 +97421,7 @@ }, { "guarantee": null, - "id": 19, + "id": 6, "output_schema": { "closed": true, "fields": [ @@ -97209,7 +97476,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 18, + "child": 5, "family": { "ExactAggregate": [ "Sum", @@ -97234,7 +97501,7 @@ }, { "guarantee": null, - "id": 20, + "id": 7, "output_schema": { "closed": true, "fields": [ @@ -97284,39 +97551,19 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "TimeShift": { - "child": 4, - "shift": { - "at": null, - "offset_ms": 50000 - } + "ASAP": { + "FinalizeExactAccumulator": { + "child": 6 } } } }, { "guarantee": null, - "id": 21, + "id": 8, "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -97327,297 +97574,41 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 20, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 22, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 21, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 23, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryMerge": { - "children": [ - 7, - 10, - 13, - 16, - 19, - 22 - ] - } - } - } - }, - { - "guarantee": null, - "id": 24, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 23 - } - } - } - }, - { - "guarantee": null, - "id": 25, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 24, + "child": 7, "family": { "Sketch": [ { @@ -97661,7 +97652,7 @@ }, { "guarantee": null, - "id": 26, + "id": 9, "output_schema": { "closed": true, "fields": [ @@ -97710,7 +97701,7 @@ "k": 10 } }, - "summary_input": 25 + "summary_input": 8 } } } @@ -97718,12 +97709,12 @@ ], "roots": [ 3, - 26 + 9 ] }, - "from_logical": "L6", - "id": "P6", - "label": "Q1 exact · Q2 CMS+heap (Sum acc · tumbling 10s panes)" + "from_logical": "L5", + "id": "P5", + "label": "Q1 exact · Q2 CMS+heap (Sum acc)" }, { "dag": { @@ -98061,13 +98052,29 @@ { "consumer": 8, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -98078,43 +98085,33 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 7, + "producer": 4, "role": "Input", "window": "NotApplicable" - } - ], - "nodes": [ + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -98158,71 +98155,18 @@ ] ] }, - "output_state": { + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } - }, - { - "guarantee": null, - "id": 1, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -98266,27 +98210,18 @@ ] ] }, - "output_state": { + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } - }, - { - "guarantee": null, - "id": 2, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -98330,35 +98265,36 @@ ] ] }, - "output_state": { + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 12, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 3, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -98369,52 +98305,33 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { + "producer": 11, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 13, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 4, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -98458,71 +98375,18 @@ ] ] }, - "output_state": { + "producer": 12, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 14, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } - }, - { - "guarantee": null, - "id": 5, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -98566,27 +98430,18 @@ ] ] }, - "output_state": { + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 15, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 4, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } - }, - { - "guarantee": null, - "id": 6, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -98630,36 +98485,36 @@ ] ] }, - "output_state": { + "producer": 14, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 16, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 5, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 7, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -98670,153 +98525,82 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 6, - "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } + "producer": 15, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 8, - "output_schema": { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "value", "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 7 - } - } - } - } - ], - "roots": [ - 3, - 8 - ] - }, - "from_logical": "L7", - "id": "P7", - "label": "Q1 exact · Q2 CountSketch+heap" - }, - { - "dag": { - "edges": [ + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 18, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -98866,12 +98650,12 @@ ] ] }, - "producer": 0, + "producer": 17, "role": "Input", "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 19, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -98921,12 +98705,12 @@ ] ] }, - "producer": 1, + "producer": 18, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 20, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -98976,12 +98760,12 @@ ] ] }, - "producer": 2, + "producer": 4, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 21, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -99031,12 +98815,12 @@ ] ] }, - "producer": 4, + "producer": 20, "role": "Input", "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 22, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -99086,12 +98870,12 @@ ] ] }, - "producer": 5, + "producer": 21, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 23, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -99144,14 +98928,14 @@ ] ] }, - "producer": 6, + "producer": 7, "role": "Input", "window": "NotApplicable" }, { - "consumer": 8, + "consumer": 23, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -99168,9 +98952,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -99199,12 +98986,12 @@ ] ] }, - "producer": 7, + "producer": 10, "role": "Input", "window": "NotApplicable" }, { - "consumer": 9, + "consumer": 23, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -99213,6 +99000,25 @@ "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -99223,43 +99029,33 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 8, + "producer": 13, "role": "Input", "window": "NotApplicable" - } - ], - "nodes": [ + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -99272,9 +99068,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -99303,71 +99102,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } + "producer": 16, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 1, - "output_schema": { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -99380,9 +99126,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -99411,27 +99160,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } + "producer": 19, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 2, - "output_schema": { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -99444,9 +99184,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -99475,35 +99218,94 @@ ] ] }, - "output_state": { - "primitive": "Raw", + "producer": 22, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 3, - "output_schema": { + "consumer": 25, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -99514,51 +99316,81 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "Raw", + "producer": 24, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 26, + "data_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" ] - } + }, + "name": "state", + "nullable": false, + "table": null } - } - } - }, + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ { "guarantee": null, - "id": 4, + "id": 0, "output_schema": { "closed": true, "fields": [ @@ -99666,7 +99498,7 @@ }, { "guarantee": null, - "id": 5, + "id": 1, "output_schema": { "closed": true, "fields": [ @@ -99718,7 +99550,7 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 4, + "child": 0, "kind": "range", "range": { "nanos": 0, @@ -99730,7 +99562,7 @@ }, { "guarantee": null, - "id": 6, + "id": 2, "output_schema": { "closed": true, "fields": [ @@ -99744,12 +99576,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -99779,30 +99608,23 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { - "child": 5, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" } - }, + ], + "output_names": [ + "" + ], "reduction": "PerEntity" } } @@ -99810,26 +99632,10 @@ }, { "guarantee": null, - "id": 7, + "id": 3, "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -99840,17 +99646,16 @@ }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "sum", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -99860,111 +99665,51 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 6 + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } } } } }, { "guarantee": null, - "id": 8, + "id": 4, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 7, - "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 9, - "output_schema": { - "closed": true, - "fields": [ + }, { "dtype": { "Plain": "utf8" @@ -99980,21 +99725,13 @@ "name": "$promql_series_identity", "nullable": false, "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, @@ -100003,39 +99740,66 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] }, - "summary_input": 8 + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } } } } - } - ], - "roots": [ - 3, - 9 - ] - }, - "from_logical": "L8", - "id": "P8", - "label": "Q1 exact · Q2 CountSketch+heap (Sum acc)" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 5, + "output_schema": { "closed": true, "fields": [ { @@ -100079,18 +99843,26 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 2, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { "closed": true, "fields": [ { @@ -100134,18 +99906,27 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 3, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 5, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { "closed": true, "fields": [ { @@ -100158,9 +99939,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -100189,18 +99973,40 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 5, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 6, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { "closed": true, "fields": [ { @@ -100244,18 +100050,26 @@ ] ] }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 6, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { "closed": true, "fields": [ { @@ -100299,18 +100113,27 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 7, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 8, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { "closed": true, "fields": [ { @@ -100323,9 +100146,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -100354,18 +100180,40 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 8, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 9, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { "closed": true, "fields": [ { @@ -100409,18 +100257,26 @@ ] ] }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 9, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { "closed": true, "fields": [ { @@ -100464,18 +100320,27 @@ ] ] }, - "producer": 8, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 10, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 11, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { "closed": true, "fields": [ { @@ -100488,9 +100353,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -100519,18 +100387,40 @@ ] ] }, - "producer": 9, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 11, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 12, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { "closed": true, "fields": [ { @@ -100574,18 +100464,26 @@ ] ] }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 12, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { "closed": true, "fields": [ { @@ -100629,18 +100527,27 @@ ] ] }, - "producer": 11, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 13, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 14, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { "closed": true, "fields": [ { @@ -100653,9 +100560,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -100684,18 +100594,40 @@ ] ] }, - "producer": 12, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 14, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 15, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { "closed": true, "fields": [ { @@ -100739,18 +100671,26 @@ ] ] }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 15, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { "closed": true, "fields": [ { @@ -100794,18 +100734,27 @@ ] ] }, - "producer": 14, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 16, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 17, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { "closed": true, "fields": [ { @@ -100818,9 +100767,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -100849,18 +100801,40 @@ ] ] }, - "producer": 15, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 17, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 18, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { "closed": true, "fields": [ { @@ -100904,18 +100878,26 @@ ] ] }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 18, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { "closed": true, "fields": [ { @@ -100959,18 +100941,27 @@ ] ] }, - "producer": 17, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 19, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 20, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { "closed": true, "fields": [ { @@ -100983,9 +100974,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -101014,18 +101008,40 @@ ] ] }, - "producer": 18, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 20, - "data_state": { - "primitive": "Raw", - "timing": "query_time" + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 21, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { "closed": true, "fields": [ { @@ -101038,9 +101054,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -101069,18 +101088,29 @@ ] ] }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 21, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 7, + 10, + 13, + 16, + 19, + 22 + ] + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { "closed": true, "fields": [ { @@ -101124,36 +101154,116 @@ ] ] }, - "producer": 20, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 22, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 23 + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { - "Plain": "float64" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null - }, + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 24, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { + "closed": true, + "fields": [ { "dtype": { "Plain": "utf8" @@ -101169,24 +101279,58 @@ "name": "$promql_series_identity", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, - "producer": 21, - "role": "Input", - "window": "NotApplicable" - }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 25 + } + } + } + } + ], + "roots": [ + 3, + 26 + ] + }, + "from_logical": "L6", + "id": "P6", + "label": "Q1 exact · Q2 CMS+heap (Sum acc · tumbling 10s panes)" + }, + { + "dag": { + "edges": [ { - "consumer": 23, + "consumer": 1, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -101203,12 +101347,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -101237,14 +101378,14 @@ ] ] }, - "producer": 7, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 2, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -101261,12 +101402,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -101295,14 +101433,14 @@ ] ] }, - "producer": 10, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 3, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -101319,12 +101457,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -101353,15 +101488,15 @@ ] ] }, - "producer": 13, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 5, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -101377,12 +101512,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -101411,15 +101543,15 @@ ] ] }, - "producer": 16, + "producer": 4, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 23, + "consumer": 6, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -101435,12 +101567,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -101469,15 +101598,15 @@ ] ] }, - "producer": 19, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 23, + "consumer": 7, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -101493,12 +101622,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -101527,15 +101653,15 @@ ] ] }, - "producer": 22, + "producer": 6, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 24, + "consumer": 8, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -101551,12 +101677,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -101585,15 +101708,15 @@ ] ] }, - "producer": 23, + "producer": 4, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 25, + "consumer": 9, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -101640,20 +101763,36 @@ ] ] }, - "producer": 24, + "producer": 8, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 26, + "consumer": 10, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -101664,43 +101803,33 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 25, + "producer": 9, "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -101744,71 +101873,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 1, - "output_schema": { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -101852,27 +101928,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } + "producer": 11, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 2, - "output_schema": { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -101916,91 +101983,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } + "producer": 12, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 3, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { + "consumer": 14, + "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 4, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -102044,71 +102038,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 5, - "output_schema": { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -102152,26 +102093,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 4, - "shift": { - "at": null, - "offset_ms": 0 - } - } - } - } + "producer": 14, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 6, - "output_schema": { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -102215,27 +102148,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 5, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 15, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 7, - "output_schema": { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -102248,12 +102172,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -102282,40 +102203,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 6, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 8, - "output_schema": { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -102359,26 +102258,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 4, - "shift": { - "at": null, - "offset_ms": 10000 - } - } - } - } + "producer": 17, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 9, - "output_schema": { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -102422,27 +102313,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 8, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 18, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 10, - "output_schema": { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -102455,12 +102337,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -102489,40 +102368,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 9, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 11, - "output_schema": { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -102566,26 +102423,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 4, - "shift": { - "at": null, - "offset_ms": 20000 - } - } - } - } + "producer": 20, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 12, - "output_schema": { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -102629,27 +102478,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 11, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 21, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 13, - "output_schema": { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -102696,40 +102536,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 12, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 7, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 14, - "output_schema": { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -102742,9 +102560,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -102773,26 +102594,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 4, - "shift": { - "at": null, - "offset_ms": 30000 - } - } - } - } + "producer": 10, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 15, - "output_schema": { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -102805,9 +102618,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -102836,27 +102652,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 14, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 13, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 16, - "output_schema": { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -102903,40 +102710,18 @@ ] ] }, - "output_state": { + "producer": 16, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 15, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 17, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -102949,9 +102734,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -102980,26 +102768,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 4, - "shift": { - "at": null, - "offset_ms": 40000 - } - } - } - } + "producer": 19, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 18, - "output_schema": { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -103012,9 +102792,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -103043,27 +102826,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 17, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 22, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 19, - "output_schema": { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -103110,40 +102884,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 18, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 23, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 20, - "output_schema": { + "consumer": 25, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -103187,44 +102939,20 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 4, - "shift": { - "at": null, - "offset_ms": 50000 - } - } - } - } + "producer": 24, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 21, - "output_schema": { + "consumer": 26, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -103235,41 +102963,42 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 20, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ { "guarantee": null, - "id": 22, + "id": 0, "output_schema": { "closed": true, "fields": [ @@ -103283,12 +103012,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -103318,38 +103044,69 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { - "child": 21, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] ] }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - }, - "reduction": "PerEntity" + } } } } }, { "guarantee": null, - "id": 23, + "id": 1, "output_schema": { "closed": true, "fields": [ @@ -103363,12 +103120,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -103398,27 +103152,25 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryMerge": { - "children": [ - 7, - 10, - 13, - 16, - 19, - 22 - ] + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } } } } }, { "guarantee": null, - "id": 24, + "id": 2, "output_schema": { "closed": true, "fields": [ @@ -103468,16 +103220,27 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 23 + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 25, + "id": 3, "output_schema": { "closed": true, "fields": [ @@ -103491,22 +103254,9 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "float64" }, - "name": "state", + "name": "sum", "nullable": false, "table": null } @@ -103519,45 +103269,24 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { - "child": 24, - "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" } - }, + ], + "output_names": [ + "" + ], "reduction": { "Reduce": [ 2 @@ -103569,81 +103298,116 @@ }, { "guarantee": null, - "id": 26, + "id": 4, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "value", "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] }, - "summary_input": 25 + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } } } } - } - ], - "roots": [ - 3, - 26 - ] - }, - "from_logical": "L9", - "id": "P9", - "label": "Q1 exact · Q2 CountSketch+heap (Sum acc · tumbling 10s panes)" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 5, + "output_schema": { "closed": true, "fields": [ { @@ -103687,18 +103451,26 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 2, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { "closed": true, "fields": [ { @@ -103742,18 +103514,27 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 3, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 5, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { "closed": true, "fields": [ { @@ -103766,9 +103547,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -103797,18 +103581,40 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 6, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 5, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 8, + "output_schema": { "closed": true, "fields": [ { @@ -103852,18 +103658,26 @@ ] ] }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 6, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { "closed": true, "fields": [ { @@ -103907,20 +103721,48 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 8, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } }, { - "consumer": 7, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 10, + "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -103931,42 +103773,54 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 9, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, { "guarantee": null, - "id": 0, + "id": 11, "output_schema": { "closed": true, "fields": [ @@ -104013,60 +103867,15 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 20000 } } } @@ -104074,7 +103883,7 @@ }, { "guarantee": null, - "id": 1, + "id": 12, "output_schema": { "closed": true, "fields": [ @@ -104121,16 +103930,16 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 0, + "child": 11, "kind": "range", "range": { "nanos": 0, - "secs": 60 + "secs": 10 } } } @@ -104138,7 +103947,7 @@ }, { "guarantee": null, - "id": 2, + "id": 13, "output_schema": { "closed": true, "fields": [ @@ -104152,9 +103961,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -104184,23 +103996,30 @@ ] }, "output_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" + "ASAP": { + "SummaryAgg": { + "child": 12, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } - ], - "output_names": [ - "" - ], + }, "reduction": "PerEntity" } } @@ -104208,10 +104027,26 @@ }, { "guarantee": null, - "id": 3, + "id": 14, "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -104222,43 +104057,32 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 30000 } } } @@ -104266,7 +104090,7 @@ }, { "guarantee": null, - "id": 4, + "id": 15, "output_schema": { "closed": true, "fields": [ @@ -104313,60 +104137,16 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } + "TimeRange": { + "child": 14, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 } } } @@ -104374,7 +104154,7 @@ }, { "guarantee": null, - "id": 5, + "id": 16, "output_schema": { "closed": true, "fields": [ @@ -104388,9 +104168,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -104420,25 +104203,580 @@ ] }, "output_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "payload": { - "NonASAP": { - "TimeRange": { - "child": 4, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } + "ASAP": { + "SummaryAgg": { + "child": 15, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 6, + "id": 17, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 17, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 18, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 20, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 21, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 7, + 10, + 13, + 16, + 19, + 22 + ] + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 23 + } + } + } + }, + { + "guarantee": null, + "id": 25, "output_schema": { "closed": true, "fields": [ @@ -104486,7 +104824,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 5, + "child": 24, "family": { "Sketch": [ { @@ -104530,7 +104868,7 @@ }, { "guarantee": null, - "id": 7, + "id": 26, "output_schema": { "closed": true, "fields": [ @@ -104579,7 +104917,7 @@ "k": 10 } }, - "summary_input": 6 + "summary_input": 25 } } } @@ -104587,12 +104925,12 @@ ], "roots": [ 3, - 7 + 26 ] }, - "from_logical": "L10", - "id": "P10", - "label": "Q1 exact · Q2 whole-expression CMS+heap" + "from_logical": "L6", + "id": "P6-m1", + "label": "Q1 exact · Q2 CMS+heap (Sum acc · tumbling 10s panes) · ingestion time: exact Sum ×6 panes" }, { "dag": { @@ -104874,6 +105212,61 @@ }, { "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -104919,7 +105312,7 @@ ] ] }, - "producer": 6, + "producer": 7, "role": "Input", "window": "NotApplicable" } @@ -105400,6 +105793,77 @@ { "guarantee": null, "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 5, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 7, "output_schema": { "closed": true, "fields": [ @@ -105447,7 +105911,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 5, + "child": 6, "family": { "Sketch": [ { @@ -105491,7 +105955,7 @@ }, { "guarantee": null, - "id": 7, + "id": 8, "output_schema": { "closed": true, "fields": [ @@ -105540,7 +106004,7 @@ "k": 10 } }, - "summary_input": 6 + "summary_input": 7 } } } @@ -105548,12 +106012,12 @@ ], "roots": [ 3, - 7 + 8 ] }, - "from_logical": "L11", - "id": "P11", - "label": "Q1 exact · Q2 whole-expression CountSketch+heap" + "from_logical": "L7", + "id": "P7", + "label": "Q1 exact · Q2 CountSketch+heap" }, { "dag": { @@ -105671,7 +106135,7 @@ { "consumer": 3, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -105688,12 +106152,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -105727,7 +106188,7 @@ "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 5, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -105777,7 +106238,7 @@ ] ] }, - "producer": 3, + "producer": 4, "role": "Input", "window": "NotApplicable" }, @@ -105839,7 +106300,7 @@ { "consumer": 7, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -105856,9 +106317,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -105949,29 +106413,13 @@ { "consumer": 9, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -105982,17 +106430,29 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -106191,12 +106651,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -106226,30 +106683,23 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { + "NonASAP": { + "Aggregate": { "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" } - }, + ], + "output_names": [ + "" + ], "reduction": "PerEntity" } } @@ -106258,65 +106708,6 @@ { "guarantee": null, "id": 3, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - } - }, - { - "guarantee": null, - "id": 4, "output_schema": { "closed": true, "fields": [ @@ -106351,7 +106742,7 @@ "payload": { "NonASAP": { "Aggregate": { - "child": 3, + "child": 2, "filters": [], "having": null, "measures": [ @@ -106374,7 +106765,7 @@ }, { "guarantee": null, - "id": 5, + "id": 4, "output_schema": { "closed": true, "fields": [ @@ -106480,9 +106871,153 @@ } } }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 4, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, { "guarantee": null, "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 5, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 7, "output_schema": { "closed": true, "fields": [ @@ -106532,40 +107067,19 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "TimeRange": { - "child": 5, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } + "ASAP": { + "FinalizeExactAccumulator": { + "child": 6 } } } }, { "guarantee": null, - "id": 7, + "id": 8, "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -106576,89 +107090,118 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { - "NonASAP": { - "Aggregate": { - "child": 6, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" + "ASAP": { + "SummaryAgg": { + "child": 7, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + }, + "reduction": { + "Reduce": [ + 2 + ] + } } } } }, { "guarantee": null, - "id": 8, + "id": 9, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { "Plain": "utf8" }, - "name": "job", - "nullable": true, + "name": "$promql_series_identity", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "value", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, @@ -106667,29 +107210,39 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "Sort": { - "child": 7, - "keys": [ - { - "ascending": false, - "expr": { - "Column": 1 - }, - "nulls_first": false + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 } - ], - "partition_by": [ - 2 - ] + }, + "summary_input": 8 } } } - }, + } + ], + "roots": [ + 3, + 9 + ] + }, + "from_logical": "L8", + "id": "P8", + "label": "Q1 exact · Q2 CountSketch+heap (Sum acc)" + }, + { + "dag": { + "edges": [ { - "guarantee": null, - "id": 9, - "output_schema": { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -106733,38 +107286,12 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Limit": { - "child": 8, - "n": 10, - "offset": 0, - "partition_by": [ - 2 - ] - } - } - } - } - ], - "roots": [ - 4, - 9 - ] - }, - "from_logical": "L12", - "id": "P12", - "label": "Q1 exact (Rate acc) · Q2 exact" - }, - { - "dag": { - "edges": [ + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 2, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -106814,12 +107341,12 @@ ] ] }, - "producer": 0, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 3, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -106869,14 +107396,14 @@ ] ] }, - "producer": 1, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 5, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -106893,12 +107420,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -106927,12 +107451,12 @@ ] ] }, - "producer": 2, + "producer": 4, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 6, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -106982,12 +107506,12 @@ ] ] }, - "producer": 3, + "producer": 5, "role": "Input", "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 7, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -107037,12 +107561,12 @@ ] ] }, - "producer": 5, + "producer": 6, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 8, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -107092,14 +107616,14 @@ ] ] }, - "producer": 6, + "producer": 4, "role": "Input", "window": "NotApplicable" }, { - "consumer": 8, + "consumer": 9, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -107116,12 +107640,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -107150,12 +107671,12 @@ ] ] }, - "producer": 7, + "producer": 8, "role": "Input", "window": "NotApplicable" }, { - "consumer": 9, + "consumer": 10, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -107205,12 +107726,12 @@ ] ] }, - "producer": 8, + "producer": 9, "role": "Input", "window": "NotApplicable" }, { - "consumer": 10, + "consumer": 11, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -107260,16 +107781,18 @@ ] ] }, - "producer": 9, + "producer": 4, "role": "Input", "window": "NotApplicable" - } - ], - "nodes": [ + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -107313,71 +107836,18 @@ ] ] }, - "output_state": { + "producer": 11, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 13, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } - }, - { - "guarantee": null, - "id": 1, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -107421,27 +107891,18 @@ ] ] }, - "output_state": { + "producer": 12, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 14, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } - }, - { - "guarantee": null, - "id": 2, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -107454,12 +107915,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -107488,40 +107946,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 4, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 3, - "output_schema": { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -107565,80 +108001,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - } + "producer": 14, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 4, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { + "consumer": 16, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 3, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 5, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -107682,71 +108056,18 @@ ] ] }, - "output_state": { + "producer": 15, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 17, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } - }, - { - "guarantee": null, - "id": 6, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -107790,27 +108111,18 @@ ] ] }, - "output_state": { + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 18, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 5, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } - }, - { - "guarantee": null, - "id": 7, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -107823,12 +108135,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -107857,40 +108166,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 6, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 17, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 8, - "output_schema": { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -107934,22 +108221,18 @@ ] ] }, - "output_state": { + "producer": 18, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 20, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 7 - } - } - } - }, - { - "guarantee": null, - "id": 9, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -107993,34 +108276,18 @@ ] ] }, - "output_state": { + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 21, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Sort": { - "child": 8, - "keys": [ - { - "ascending": false, - "expr": { - "Column": 1 - }, - "nulls_first": false - } - ], - "partition_by": [ - 2 - ] - } - } - } - }, - { - "guarantee": null, - "id": 10, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -108064,38 +108331,12 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Limit": { - "child": 9, - "n": 10, - "offset": 0, - "partition_by": [ - 2 - ] - } - } - } - } - ], - "roots": [ - 4, - 10 - ] - }, - "from_logical": "L13", - "id": "P13", - "label": "Q1 exact (Rate acc) · Q2 exact (Sum acc)" - }, - { - "dag": { - "edges": [ + "producer": 20, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 22, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -108145,14 +108386,14 @@ ] ] }, - "producer": 0, + "producer": 21, "role": "Input", "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 23, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -108169,9 +108410,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -108200,12 +108444,12 @@ ] ] }, - "producer": 1, + "producer": 7, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 23, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -108225,8 +108469,8 @@ { "dtype": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "name": "state", @@ -108258,14 +108502,14 @@ ] ] }, - "producer": 2, + "producer": 10, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 23, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -108282,9 +108526,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -108313,14 +108560,14 @@ ] ] }, - "producer": 3, + "producer": 13, "role": "Input", "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 23, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -108337,9 +108584,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -108368,14 +108618,14 @@ ] ] }, - "producer": 5, + "producer": 16, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 23, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -108392,9 +108642,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -108423,14 +108676,14 @@ ] ] }, - "producer": 6, + "producer": 19, "role": "Input", "window": "NotApplicable" }, { - "consumer": 8, + "consumer": 23, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -108447,9 +108700,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -108478,14 +108734,14 @@ ] ] }, - "producer": 7, + "producer": 22, "role": "Input", "window": "NotApplicable" }, { - "consumer": 9, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -108502,9 +108758,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -108533,12 +108792,12 @@ ] ] }, - "producer": 5, + "producer": 23, "role": "Input", "window": "NotApplicable" }, { - "consumer": 10, + "consumer": 25, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -108588,36 +108847,20 @@ ] ] }, - "producer": 9, + "producer": 24, "role": "Input", "window": "NotApplicable" }, { - "consumer": 11, + "consumer": 26, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -108628,33 +108871,43 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 10, + "producer": 25, "role": "Input", "window": "NotApplicable" - }, + } + ], + "nodes": [ { - "consumer": 12, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 0, + "output_schema": { "closed": true, "fields": [ { @@ -108698,18 +108951,71 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 13, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { "closed": true, "fields": [ { @@ -108753,18 +109059,27 @@ ] ] }, - "producer": 12, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 14, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { "closed": true, "fields": [ { @@ -108808,36 +109123,35 @@ ] ] }, - "producer": 13, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 15, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -108848,33 +109162,52 @@ }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "sum", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 16, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { "closed": true, "fields": [ { @@ -108918,18 +109251,71 @@ ] ] }, - "producer": 15, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 17, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { "closed": true, "fields": [ { @@ -108973,18 +109359,26 @@ ] ] }, - "producer": 16, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 18, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { "closed": true, "fields": [ { @@ -109028,18 +109422,27 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 19, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 5, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { "closed": true, "fields": [ { @@ -109052,9 +109455,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -109083,18 +109489,40 @@ ] ] }, - "producer": 18, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 20, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 6, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { "closed": true, "fields": [ { @@ -109138,18 +109566,26 @@ ] ] }, - "producer": 19, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 21, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { "closed": true, "fields": [ { @@ -109193,18 +109629,27 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 22, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 8, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { "closed": true, "fields": [ { @@ -109217,9 +109662,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -109248,18 +109696,40 @@ ] ] }, - "producer": 21, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 23, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 9, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { "closed": true, "fields": [ { @@ -109303,18 +109773,26 @@ ] ] }, - "producer": 22, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 24, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { "closed": true, "fields": [ { @@ -109327,12 +109805,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -109361,18 +109836,27 @@ ] ] }, - "producer": 8, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 24, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 11, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { "closed": true, "fields": [ { @@ -109419,76 +109903,40 @@ ] ] }, - "producer": 11, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 24, - "data_state": { + "output_state": { "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 12, + "family": { "ExactAggregate": [ "Sum", "Sum" ] }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "reduction": "PerEntity" } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 14, - "role": "Input", - "window": "NotApplicable" + } + } }, { - "consumer": 24, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 14, + "output_schema": { "closed": true, "fields": [ { @@ -109501,12 +109949,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -109535,18 +109980,26 @@ ] ] }, - "producer": 17, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 24, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { "closed": true, "fields": [ { @@ -109559,12 +110012,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -109593,18 +110043,27 @@ ] ] }, - "producer": 20, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 24, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 14, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { "closed": true, "fields": [ { @@ -109651,18 +110110,40 @@ ] ] }, - "producer": 23, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 25, - "data_state": { + "output_state": { "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 15, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { "closed": true, "fields": [ { @@ -109675,12 +110156,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -109709,18 +110187,26 @@ ] ] }, - "producer": 24, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 26, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { "closed": true, "fields": [ { @@ -109764,18 +110250,27 @@ ] ] }, - "producer": 25, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 27, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 17, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { "closed": true, "fields": [ { @@ -109788,9 +110283,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -109819,15 +110317,39 @@ ] ] }, - "producer": 26, - "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 18, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, { "guarantee": null, - "id": 0, + "id": 20, "output_schema": { "closed": true, "fields": [ @@ -109878,56 +110400,11 @@ }, "payload": { "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 50000 } } } @@ -109935,7 +110412,7 @@ }, { "guarantee": null, - "id": 1, + "id": 21, "output_schema": { "closed": true, "fields": [ @@ -109987,11 +110464,11 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 0, + "child": 20, "kind": "range", "range": { "nanos": 0, - "secs": 60 + "secs": 10 } } } @@ -109999,7 +110476,7 @@ }, { "guarantee": null, - "id": 2, + "id": 22, "output_schema": { "closed": true, "fields": [ @@ -110014,8 +110491,8 @@ { "dtype": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "name": "state", @@ -110054,11 +110531,11 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 1, + "child": 21, "family": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "filter": null, @@ -110079,7 +110556,7 @@ }, { "guarantee": null, - "id": 3, + "id": 23, "output_schema": { "closed": true, "fields": [ @@ -110093,9 +110570,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -110125,23 +110605,46 @@ ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 + "SummaryMerge": { + "children": [ + 7, + 10, + 13, + 16, + 19, + 22 + ] } } } }, { "guarantee": null, - "id": 4, + "id": 24, "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -110152,16 +110655,17 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] @@ -110171,51 +110675,111 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "Aggregate": { - "child": 3, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] - } + "ASAP": { + "FinalizeExactAccumulator": { + "child": 23 } } } }, { "guarantee": null, - "id": 5, + "id": 25, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { - "Plain": "float64" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null - }, + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 24, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { + "closed": true, + "fields": [ { "dtype": { "Plain": "utf8" @@ -110231,13 +110795,21 @@ "name": "$promql_series_identity", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, @@ -110246,66 +110818,39 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 } - } + }, + "summary_input": 25 } } } - }, + } + ], + "roots": [ + 3, + 26 + ] + }, + "from_logical": "L9", + "id": "P9", + "label": "Q1 exact · Q2 CountSketch+heap (Sum acc · tumbling 10s panes)" + }, + { + "dag": { + "edges": [ { - "guarantee": null, - "id": 6, - "output_schema": { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -110349,26 +110894,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 5, - "shift": { - "at": null, - "offset_ms": 0 - } - } - } - } - }, - { - "guarantee": null, - "id": 7, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -110412,27 +110949,18 @@ ] ] }, - "output_state": { + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 6, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 8, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -110445,12 +110973,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -110479,40 +111004,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 7, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 2, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 9, - "output_schema": { + "consumer": 5, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -110556,26 +111059,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 5, - "shift": { - "at": null, - "offset_ms": 10000 - } - } - } - } + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 10, - "output_schema": { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -110619,27 +111114,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 9, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 11, - "output_schema": { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -110652,12 +111138,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -110686,40 +111169,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 10, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 12, - "output_schema": { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -110763,26 +111224,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 5, - "shift": { - "at": null, - "offset_ms": 20000 - } - } - } - } + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 13, - "output_schema": { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -110826,27 +111279,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 12, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 8, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 14, - "output_schema": { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -110859,12 +111303,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -110893,40 +111334,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 13, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 9, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 15, - "output_schema": { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -110970,26 +111389,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 5, - "shift": { - "at": null, - "offset_ms": 30000 - } - } - } - } + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 16, - "output_schema": { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -111033,27 +111444,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 15, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 11, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 17, - "output_schema": { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -111066,12 +111468,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -111100,40 +111499,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 16, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 12, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 18, - "output_schema": { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -111177,26 +111554,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 5, - "shift": { - "at": null, - "offset_ms": 40000 - } - } - } - } + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 19, - "output_schema": { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -111240,27 +111609,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 18, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 14, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 20, - "output_schema": { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -111273,12 +111633,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -111307,40 +111664,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 19, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 15, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 21, - "output_schema": { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -111384,26 +111719,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 5, - "shift": { - "at": null, - "offset_ms": 50000 - } - } - } - } + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 22, - "output_schema": { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -111447,27 +111774,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 21, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 17, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 23, - "output_schema": { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -111480,12 +111798,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -111514,40 +111829,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 22, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 18, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 24, - "output_schema": { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -111560,12 +111853,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -111594,29 +111884,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryMerge": { - "children": [ - 8, - 11, - 14, - 17, - 20, - 23 - ] - } - } - } + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 25, - "output_schema": { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -111660,22 +111939,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 24 - } - } - } + "producer": 20, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 26, - "output_schema": { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -111719,34 +111994,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Sort": { - "child": 25, - "keys": [ - { - "ascending": false, - "expr": { - "Column": 1 - }, - "nulls_first": false - } - ], - "partition_by": [ - 2 - ] - } - } - } + "producer": 21, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 27, - "output_schema": { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -111759,9 +112018,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -111790,41 +112052,15 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Limit": { - "child": 26, - "n": 10, - "offset": 0, - "partition_by": [ - 2 - ] - } - } - } - } - ], - "roots": [ - 4, - 27 - ] - }, - "from_logical": "L14", - "id": "P14", - "label": "Q1 exact (Rate acc) · Q2 exact (Sum acc · tumbling 10s panes)" - }, - { - "dag": { - "edges": [ + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 23, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -111840,9 +112076,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -111871,15 +112110,15 @@ ] ] }, - "producer": 0, + "producer": 10, "role": "Input", "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 23, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -111895,9 +112134,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -111926,15 +112168,15 @@ ] ] }, - "producer": 1, + "producer": 13, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 23, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -111951,8 +112193,8 @@ { "dtype": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "name": "state", @@ -111984,15 +112226,15 @@ ] ] }, - "producer": 2, + "producer": 16, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 23, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -112008,9 +112250,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -112039,15 +112284,15 @@ ] ] }, - "producer": 3, + "producer": 19, "role": "Input", "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 23, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -112063,9 +112308,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -112094,14 +112342,14 @@ ] ] }, - "producer": 5, + "producer": 22, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -112118,9 +112366,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -112149,12 +112400,12 @@ ] ] }, - "producer": 6, + "producer": 23, "role": "Input", "window": "NotApplicable" }, { - "consumer": 8, + "consumer": 25, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -112204,12 +112455,12 @@ ] ] }, - "producer": 7, + "producer": 24, "role": "Input", "window": "NotApplicable" }, { - "consumer": 9, + "consumer": 26, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -112230,13 +112481,13 @@ "dtype": { "Sketch": [ { - "algorithm": "CmsWithHeap", + "algorithm": "CountSketchWithHeap", "category": "TopK", "params": { - "CmsWithHeap": { - "depth": 7, + "CountSketchWithHeap": { + "depth": 125, "heap_size": 100, - "width": 272 + "width": 30000 } } }, @@ -112255,7 +112506,7 @@ ] ] }, - "producer": 8, + "producer": 25, "role": "Input", "window": "NotApplicable" } @@ -112449,12 +112700,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -112484,30 +112732,23 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { + "NonASAP": { + "Aggregate": { "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" } - }, + ], + "output_names": [ + "" + ], "reduction": "PerEntity" } } @@ -112516,65 +112757,6 @@ { "guarantee": null, "id": 3, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - } - }, - { - "guarantee": null, - "id": 4, "output_schema": { "closed": true, "fields": [ @@ -112609,7 +112791,7 @@ "payload": { "NonASAP": { "Aggregate": { - "child": 3, + "child": 2, "filters": [], "having": null, "measures": [ @@ -112632,7 +112814,7 @@ }, { "guarantee": null, - "id": 5, + "id": 4, "output_schema": { "closed": true, "fields": [ @@ -112679,7 +112861,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -112740,7 +112922,7 @@ }, { "guarantee": null, - "id": 6, + "id": 5, "output_schema": { "closed": true, "fields": [ @@ -112787,16 +112969,15 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { - "TimeRange": { - "child": 5, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 0 } } } @@ -112804,7 +112985,7 @@ }, { "guarantee": null, - "id": 7, + "id": 6, "output_schema": { "closed": true, "fields": [ @@ -112851,34 +113032,46 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { - "Aggregate": { - "child": 6, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + "TimeRange": { + "child": 5, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } } } } }, { "guarantee": null, - "id": 8, + "id": 7, "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -112889,159 +113082,118 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 7, + "child": 6, "family": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" + "ExactAggregate": [ + "Sum", + "Sum" ] }, "filter": null, "grouping": "PerSubpopulationInstance", "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, + "item": null, "weight": { "Column": "SampleValue" }, "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" + "kind": "unknown_or_signed" } }, - "reduction": { - "Reduce": [ - 2 - ] - } + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 9, + "id": 8, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "value", "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 8 + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 10000 + } } } } - } - ], - "roots": [ - 4, - 9 - ] - }, - "from_logical": "L15", - "id": "P15", - "label": "Q1 exact (Rate acc) · Q2 CMS+heap" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 9, + "output_schema": { "closed": true, "fields": [ { @@ -113085,18 +113237,27 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 2, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 8, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { "closed": true, "fields": [ { @@ -113109,9 +113270,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -113140,18 +113304,40 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 3, - "data_state": { + "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 9, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { "closed": true, "fields": [ { @@ -113164,12 +113350,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -113198,18 +113381,26 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { "closed": true, "fields": [ { @@ -113253,18 +113444,27 @@ ] ] }, - "producer": 3, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 6, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 11, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { "closed": true, "fields": [ { @@ -113277,9 +113477,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -113308,18 +113511,40 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 12, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 7, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 14, + "output_schema": { "closed": true, "fields": [ { @@ -113363,18 +113588,26 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } }, { - "consumer": 8, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 15, + "output_schema": { "closed": true, "fields": [ { @@ -113387,12 +113620,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -113421,18 +113651,27 @@ ] ] }, - "producer": 7, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 9, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 14, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { "closed": true, "fields": [ { @@ -113445,9 +113684,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -113476,66 +113718,39 @@ ] ] }, - "producer": 8, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 10, - "data_state": { + "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 15, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" ] }, - "name": "state", - "nullable": false, - "table": null + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "producer": 9, - "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + } + } + }, { "guarantee": null, - "id": 0, + "id": 17, "output_schema": { "closed": true, "fields": [ @@ -113582,60 +113797,15 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 40000 } } } @@ -113643,7 +113813,7 @@ }, { "guarantee": null, - "id": 1, + "id": 18, "output_schema": { "closed": true, "fields": [ @@ -113690,16 +113860,16 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 0, + "child": 17, "kind": "range", "range": { "nanos": 0, - "secs": 60 + "secs": 10 } } } @@ -113707,7 +113877,7 @@ }, { "guarantee": null, - "id": 2, + "id": 19, "output_schema": { "closed": true, "fields": [ @@ -113722,8 +113892,8 @@ { "dtype": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "name": "state", @@ -113757,16 +113927,16 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 1, + "child": 18, "family": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "filter": null, @@ -113787,7 +113957,7 @@ }, { "guarantee": null, - "id": 3, + "id": 20, "output_schema": { "closed": true, "fields": [ @@ -113834,69 +114004,15 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - } - }, - { - "guarantee": null, - "id": 4, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { - "Aggregate": { - "child": 3, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 50000 } } } @@ -113904,7 +114020,7 @@ }, { "guarantee": null, - "id": 5, + "id": 21, "output_schema": { "closed": true, "fields": [ @@ -113951,60 +114067,16 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } + "TimeRange": { + "child": 20, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 } } } @@ -114012,7 +114084,7 @@ }, { "guarantee": null, - "id": 6, + "id": 22, "output_schema": { "closed": true, "fields": [ @@ -114026,9 +114098,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -114058,25 +114133,38 @@ ] }, "output_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "payload": { - "NonASAP": { - "TimeRange": { - "child": 5, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } + "ASAP": { + "SummaryAgg": { + "child": 21, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 7, + "id": 23, "output_schema": { "closed": true, "fields": [ @@ -114130,33 +114218,22 @@ }, "payload": { "ASAP": { - "SummaryAgg": { - "child": 6, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" + "SummaryMerge": { + "children": [ + 7, + 10, + 13, + 16, + 19, + 22 + ] } } } }, { "guarantee": null, - "id": 8, + "id": 24, "output_schema": { "closed": true, "fields": [ @@ -114208,14 +114285,14 @@ "payload": { "ASAP": { "FinalizeExactAccumulator": { - "child": 7 + "child": 23 } } } }, { "guarantee": null, - "id": 9, + "id": 25, "output_schema": { "closed": true, "fields": [ @@ -114231,13 +114308,13 @@ "dtype": { "Sketch": [ { - "algorithm": "CmsWithHeap", + "algorithm": "CountSketchWithHeap", "category": "TopK", "params": { - "CmsWithHeap": { - "depth": 7, + "CountSketchWithHeap": { + "depth": 125, "heap_size": 100, - "width": 272 + "width": 30000 } } }, @@ -114263,17 +114340,17 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 8, + "child": 24, "family": { "Sketch": [ { - "algorithm": "CmsWithHeap", + "algorithm": "CountSketchWithHeap", "category": "TopK", "params": { - "CmsWithHeap": { - "depth": 7, + "CountSketchWithHeap": { + "depth": 125, "heap_size": 100, - "width": 272 + "width": 30000 } } }, @@ -114307,7 +114384,7 @@ }, { "guarantee": null, - "id": 10, + "id": 26, "output_schema": { "closed": true, "fields": [ @@ -114356,20 +114433,20 @@ "k": 10 } }, - "summary_input": 9 + "summary_input": 25 } } } } ], "roots": [ - 4, - 10 + 3, + 26 ] }, - "from_logical": "L16", - "id": "P16", - "label": "Q1 exact (Rate acc) · Q2 CMS+heap (Sum acc)" + "from_logical": "L9", + "id": "P9-m1", + "label": "Q1 exact · Q2 CountSketch+heap (Sum acc · tumbling 10s panes) · ingestion time: exact Sum ×6 panes" }, { "dag": { @@ -114487,7 +114564,7 @@ { "consumer": 3, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -114504,12 +114581,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -114543,7 +114617,7 @@ "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 5, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -114593,7 +114667,7 @@ ] ] }, - "producer": 3, + "producer": 4, "role": "Input", "window": "NotApplicable" }, @@ -114655,29 +114729,13 @@ { "consumer": 7, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -114688,17 +114746,29 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -114706,15 +114776,13 @@ "producer": 6, "role": "Input", "window": "NotApplicable" - }, + } + ], + "nodes": [ { - "consumer": 8, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 0, + "output_schema": { "closed": true, "fields": [ { @@ -114758,18 +114826,71 @@ ] ] }, - "producer": 7, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 9, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { "closed": true, "fields": [ { @@ -114813,18 +114934,27 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 10, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { "closed": true, "fields": [ { @@ -114868,18 +114998,91 @@ ] ] }, - "producer": 9, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } }, { - "consumer": 11, - "data_state": { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { "closed": true, "fields": [ { @@ -114923,18 +115126,71 @@ ] ] }, - "producer": 10, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 12, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { "closed": true, "fields": [ { @@ -114978,36 +115234,121 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 13, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 4, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { - "Plain": "float64" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null - }, + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 5, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ { "dtype": { "Plain": "utf8" @@ -115023,22 +115364,56 @@ "name": "$promql_series_identity", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, - "producer": 12, - "role": "Input", - "window": "NotApplicable" - }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 6 + } + } + } + } + ], + "roots": [ + 3, + 7 + ] + }, + "from_logical": "L10", + "id": "P10", + "label": "Q1 exact · Q2 whole-expression CMS+heap" + }, + { + "dag": { + "edges": [ { - "consumer": 14, + "consumer": 1, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -115088,12 +115463,12 @@ ] ] }, - "producer": 13, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 15, + "consumer": 2, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -115143,12 +115518,12 @@ ] ] }, - "producer": 5, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 16, + "consumer": 3, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -115198,12 +115573,12 @@ ] ] }, - "producer": 15, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 17, + "consumer": 5, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -115253,12 +115628,12 @@ ] ] }, - "producer": 16, + "producer": 4, "role": "Input", "window": "NotApplicable" }, { - "consumer": 18, + "consumer": 6, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -115313,13 +115688,62 @@ "window": "NotApplicable" }, { - "consumer": 19, + "consumer": 7, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { "closed": true, "fields": [ { @@ -115363,18 +115787,71 @@ ] ] }, - "producer": 18, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 20, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { "closed": true, "fields": [ { @@ -115418,18 +115895,27 @@ ] ] }, - "producer": 19, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 21, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { "closed": true, "fields": [ { @@ -115473,18 +115959,91 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } }, { - "consumer": 22, - "data_state": { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { "closed": true, "fields": [ { @@ -115528,18 +116087,71 @@ ] ] }, - "producer": 21, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 23, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { "closed": true, "fields": [ { @@ -115583,39 +116195,121 @@ ] ] }, - "producer": 22, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 24, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 4, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" ] }, "name": "state", "nullable": false, "table": null - }, + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 5, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ { "dtype": { "Plain": "utf8" @@ -115631,24 +116325,58 @@ "name": "$promql_series_identity", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, - "producer": 8, - "role": "Input", - "window": "NotApplicable" - }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 6 + } + } + } + } + ], + "roots": [ + 3, + 7 + ] + }, + "from_logical": "L11", + "id": "P11", + "label": "Q1 exact · Q2 whole-expression CountSketch+heap" + }, + { + "dag": { + "edges": [ { - "consumer": 24, + "consumer": 1, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -115665,12 +116393,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -115699,14 +116424,14 @@ ] ] }, - "producer": 11, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 2, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -115723,12 +116448,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -115757,12 +116479,12 @@ ] ] }, - "producer": 14, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 3, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -115782,8 +116504,8 @@ { "dtype": { "ExactAggregate": [ - "Sum", - "Sum" + "Rate", + "Rate" ] }, "name": "state", @@ -115815,14 +116537,14 @@ ] ] }, - "producer": 17, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 4, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -115839,12 +116561,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -115873,14 +116592,14 @@ ] ] }, - "producer": 20, + "producer": 3, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 6, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -115897,12 +116616,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -115931,14 +116647,14 @@ ] ] }, - "producer": 23, + "producer": 5, "role": "Input", "window": "NotApplicable" }, { - "consumer": 25, + "consumer": 7, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -115955,12 +116671,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -115989,12 +116702,12 @@ ] ] }, - "producer": 24, + "producer": 6, "role": "Input", "window": "NotApplicable" }, { - "consumer": 26, + "consumer": 8, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -116044,20 +116757,36 @@ ] ] }, - "producer": 25, + "producer": 7, "role": "Input", "window": "NotApplicable" }, { - "consumer": 27, + "consumer": 9, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -116068,34 +116797,22 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 26, + "producer": 8, "role": "Input", "window": "NotApplicable" } @@ -116631,11 +117348,12 @@ }, "payload": { "NonASAP": { - "TimeShift": { + "TimeRange": { "child": 5, - "shift": { - "at": null, - "offset_ms": 0 + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 } } } @@ -116694,13 +117412,20 @@ }, "payload": { "NonASAP": { - "TimeRange": { + "Aggregate": { "child": 6, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" } } } @@ -116721,12 +117446,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -116756,31 +117478,25 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { + "NonASAP": { + "Sort": { "child": 7, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false } - }, - "reduction": "PerEntity" + ], + "partition_by": [ + 2 + ] } } } @@ -116838,20 +117554,38 @@ }, "payload": { "NonASAP": { - "TimeShift": { - "child": 5, - "shift": { - "at": null, - "offset_ms": 10000 - } + "Limit": { + "child": 8, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] } } } - }, + } + ], + "roots": [ + 4, + 9 + ] + }, + "from_logical": "L12", + "id": "P12", + "label": "Q1 exact (Rate acc) · Q2 exact" + }, + { + "dag": { + "edges": [ { - "guarantee": null, - "id": 10, - "output_schema": { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -116895,107 +117629,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 9, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 0, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 11, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", + "consumer": 2, + "data_state": { + "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 10, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 12, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -117039,26 +117684,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 5, - "shift": { - "at": null, - "offset_ms": 20000 - } - } - } - } + "producer": 1, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 13, - "output_schema": { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -117071,9 +117708,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -117102,27 +117742,18 @@ ] ] }, - "output_state": { + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 12, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 14, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -117135,12 +117766,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -117169,40 +117797,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 13, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 3, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 15, - "output_schema": { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -117246,26 +117852,18 @@ ] ] }, - "output_state": { + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 5, - "shift": { - "at": null, - "offset_ms": 30000 - } - } - } - } - }, - { - "guarantee": null, - "id": 16, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -117309,27 +117907,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 15, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 6, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 17, - "output_schema": { + "consumer": 8, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -117376,39 +117965,125 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 16, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - "reduction": "PerEntity" + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ { "guarantee": null, - "id": 18, + "id": 0, "output_schema": { "closed": true, "fields": [ @@ -117459,11 +118134,56 @@ }, "payload": { "NonASAP": { - "TimeShift": { - "child": 5, - "shift": { - "at": null, - "offset_ms": 40000 + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } } } } @@ -117471,7 +118191,7 @@ }, { "guarantee": null, - "id": 19, + "id": 1, "output_schema": { "closed": true, "fields": [ @@ -117523,11 +118243,11 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 18, + "child": 0, "kind": "range", "range": { "nanos": 0, - "secs": 10 + "secs": 60 } } } @@ -117535,7 +118255,7 @@ }, { "guarantee": null, - "id": 20, + "id": 2, "output_schema": { "closed": true, "fields": [ @@ -117550,8 +118270,8 @@ { "dtype": { "ExactAggregate": [ - "Sum", - "Sum" + "Rate", + "Rate" ] }, "name": "state", @@ -117590,11 +118310,11 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 19, + "child": 1, "family": { "ExactAggregate": [ - "Sum", - "Sum" + "Rate", + "Rate" ] }, "filter": null, @@ -117615,7 +118335,7 @@ }, { "guarantee": null, - "id": 21, + "id": 3, "output_schema": { "closed": true, "fields": [ @@ -117664,13 +118384,67 @@ "primitive": "Raw", "timing": "query_time" }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, "payload": { "NonASAP": { - "TimeShift": { - "child": 5, - "shift": { - "at": null, - "offset_ms": 50000 + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] } } } @@ -117678,7 +118452,7 @@ }, { "guarantee": null, - "id": 22, + "id": 5, "output_schema": { "closed": true, "fields": [ @@ -117729,12 +118503,56 @@ }, "payload": { "NonASAP": { - "TimeRange": { - "child": 21, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } } } } @@ -117742,7 +118560,7 @@ }, { "guarantee": null, - "id": 23, + "id": 6, "output_schema": { "closed": true, "fields": [ @@ -117756,12 +118574,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -117791,38 +118606,25 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { - "child": 22, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" + "NonASAP": { + "TimeRange": { + "child": 5, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } } } } }, { "guarantee": null, - "id": 24, + "id": 7, "output_schema": { "closed": true, "fields": [ @@ -117876,22 +118678,33 @@ }, "payload": { "ASAP": { - "SummaryMerge": { - "children": [ - 8, - 11, - 14, - 17, - 20, - 23 - ] + "SummaryAgg": { + "child": 6, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 25, + "id": 8, "output_schema": { "closed": true, "fields": [ @@ -117943,17 +118756,33 @@ "payload": { "ASAP": { "FinalizeExactAccumulator": { - "child": 24 + "child": 7 } } } }, { "guarantee": null, - "id": 26, + "id": 9, "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -117964,118 +118793,89 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { - "child": 25, - "family": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } + "NonASAP": { + "Sort": { + "child": 8, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" + "nulls_first": false } - }, - "reduction": { - "Reduce": [ - 2 - ] - } + ], + "partition_by": [ + 2 + ] } } } }, { "guarantee": null, - "id": 27, + "id": 10, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "value", "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, @@ -118084,14 +118884,14 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 26 + "NonASAP": { + "Limit": { + "child": 9, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] } } } @@ -118099,12 +118899,12 @@ ], "roots": [ 4, - 27 + 10 ] }, - "from_logical": "L17", - "id": "P17", - "label": "Q1 exact (Rate acc) · Q2 CMS+heap (Sum acc · tumbling 10s panes)" + "from_logical": "L13", + "id": "P13", + "label": "Q1 exact (Rate acc) · Q2 exact (Sum acc)" }, { "dag": { @@ -118500,13 +119300,29 @@ { "consumer": 9, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -118517,43 +119333,33 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 8, + "producer": 5, "role": "Input", "window": "NotApplicable" - } - ], - "nodes": [ + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -118597,71 +119403,18 @@ ] ] }, - "output_state": { + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } - }, - { - "guarantee": null, - "id": 1, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -118705,27 +119458,18 @@ ] ] }, - "output_state": { + "producer": 10, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 12, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } - }, - { - "guarantee": null, - "id": 2, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -118738,12 +119482,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -118772,40 +119513,73 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 13, + "data_state": { + "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - "reduction": "PerEntity" + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 12, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 3, - "output_schema": { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -118849,24 +119623,36 @@ ] ] }, - "output_state": { + "producer": 13, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 15, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - } - }, - { - "guarantee": null, - "id": 4, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -118877,52 +119663,33 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 16, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 3, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 5, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -118966,71 +119733,18 @@ ] ] }, - "output_state": { + "producer": 15, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 17, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } - }, - { - "guarantee": null, - "id": 6, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -119074,27 +119788,18 @@ ] ] }, - "output_state": { + "producer": 16, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 18, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 5, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } - }, - { - "guarantee": null, - "id": 7, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -119138,36 +119843,36 @@ ] ] }, - "output_state": { + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 19, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 6, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 8, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -119178,88 +119883,106 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "SummaryState", + "producer": 18, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 20, + "data_state": { + "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 7, - "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - "reduction": { - "Reduce": [ - 2 - ] - } + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 19, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 9, - "output_schema": { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -119275,6 +119998,37 @@ "name": "$promql_series_identity", "nullable": false, "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null }, { "dtype": { @@ -119283,50 +120037,95 @@ "name": "value", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, - "output_state": { + "producer": 21, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - "summary_input": 8 + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - } - } - ], - "roots": [ - 4, - 9 - ] - }, - "from_logical": "L18", - "id": "P18", - "label": "Q1 exact (Rate acc) · Q2 CountSketch+heap" - }, - { - "dag": { - "edges": [ + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -119343,9 +120142,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -119374,14 +120176,14 @@ ] ] }, - "producer": 0, + "producer": 8, "role": "Input", "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -119398,9 +120200,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -119429,12 +120234,12 @@ ] ] }, - "producer": 1, + "producer": 11, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 24, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -119454,8 +120259,8 @@ { "dtype": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "name": "state", @@ -119487,14 +120292,14 @@ ] ] }, - "producer": 2, + "producer": 14, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -119511,9 +120316,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -119542,14 +120350,14 @@ ] ] }, - "producer": 3, + "producer": 17, "role": "Input", "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -119566,9 +120374,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -119597,14 +120408,14 @@ ] ] }, - "producer": 5, + "producer": 20, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -119621,9 +120432,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -119652,12 +120466,12 @@ ] ] }, - "producer": 6, + "producer": 23, "role": "Input", "window": "NotApplicable" }, { - "consumer": 8, + "consumer": 25, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -119710,12 +120524,12 @@ ] ] }, - "producer": 7, + "producer": 24, "role": "Input", "window": "NotApplicable" }, { - "consumer": 9, + "consumer": 26, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -119765,20 +120579,36 @@ ] ] }, - "producer": 8, + "producer": 25, "role": "Input", "window": "NotApplicable" }, { - "consumer": 10, + "consumer": 27, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -119789,34 +120619,22 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 9, + "producer": 26, "role": "Input", "window": "NotApplicable" } @@ -120352,12 +121170,75 @@ }, "payload": { "NonASAP": { - "TimeRange": { + "TimeShift": { "child": 5, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 6, "kind": "range", "range": { "nanos": 0, - "secs": 60 + "secs": 10 } } } @@ -120365,7 +121246,7 @@ }, { "guarantee": null, - "id": 7, + "id": 8, "output_schema": { "closed": true, "fields": [ @@ -120420,7 +121301,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 6, + "child": 7, "family": { "ExactAggregate": [ "Sum", @@ -120445,7 +121326,7 @@ }, { "guarantee": null, - "id": 8, + "id": 9, "output_schema": { "closed": true, "fields": [ @@ -120495,19 +121376,39 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 7 + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 10000 + } } } } }, { "guarantee": null, - "id": 9, + "id": 10, "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -120518,77 +121419,33 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { - "child": 8, - "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] + "NonASAP": { + "TimeRange": { + "child": 9, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 } } } @@ -120596,81 +121453,88 @@ }, { "guarantee": null, - "id": 10, + "id": 11, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 + "SummaryAgg": { + "child": 10, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } }, - "summary_input": 9 + "reduction": "PerEntity" } } } - } - ], - "roots": [ - 4, - 10 - ] - }, - "from_logical": "L19", - "id": "P19", - "label": "Q1 exact (Rate acc) · Q2 CountSketch+heap (Sum acc)" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 12, + "output_schema": { "closed": true, "fields": [ { @@ -120714,18 +121578,26 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 2, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { "closed": true, "fields": [ { @@ -120769,18 +121641,27 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 3, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 12, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { "closed": true, "fields": [ { @@ -120794,8 +121675,8 @@ { "dtype": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "name": "state", @@ -120827,18 +121708,40 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 13, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { "closed": true, "fields": [ { @@ -120882,18 +121785,26 @@ ] ] }, - "producer": 3, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 6, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { "closed": true, "fields": [ { @@ -120937,18 +121848,27 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 7, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 15, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { "closed": true, "fields": [ { @@ -120961,9 +121881,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -120992,18 +121915,40 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 8, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 16, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { "closed": true, "fields": [ { @@ -121047,18 +121992,26 @@ ] ] }, - "producer": 7, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 9, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { "closed": true, "fields": [ { @@ -121102,18 +122055,27 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 10, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 18, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { "closed": true, "fields": [ { @@ -121126,9 +122088,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -121157,18 +122122,40 @@ ] ] }, - "producer": 9, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 11, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 19, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { "closed": true, "fields": [ { @@ -121212,18 +122199,26 @@ ] ] }, - "producer": 10, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 12, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { "closed": true, "fields": [ { @@ -121267,18 +122262,27 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 13, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 21, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { "closed": true, "fields": [ { @@ -121291,9 +122295,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -121322,18 +122329,40 @@ ] ] }, - "producer": 12, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 14, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 22, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { "closed": true, "fields": [ { @@ -121346,9 +122375,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -121377,18 +122409,29 @@ ] ] }, - "producer": 13, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 15, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 8, + 11, + 14, + 17, + 20, + 23 + ] + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { "closed": true, "fields": [ { @@ -121432,18 +122475,22 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 16, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 24 + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { "closed": true, "fields": [ { @@ -121487,18 +122534,34 @@ ] ] }, - "producer": 15, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 17, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Sort": { + "child": 25, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], + "partition_by": [ + 2 + ] + } + } + } + }, + { + "guarantee": null, + "id": 27, + "output_schema": { "closed": true, "fields": [ { @@ -121542,12 +122605,38 @@ ] ] }, - "producer": 16, - "role": "Input", - "window": "NotApplicable" - }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Limit": { + "child": 26, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] + } + } + } + } + ], + "roots": [ + 4, + 27 + ] + }, + "from_logical": "L14", + "id": "P14", + "label": "Q1 exact (Rate acc) · Q2 exact (Sum acc · tumbling 10s panes)" + }, + { + "dag": { + "edges": [ { - "consumer": 18, + "consumer": 1, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -121597,12 +122686,12 @@ ] ] }, - "producer": 5, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 19, + "consumer": 2, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -121652,14 +122741,14 @@ ] ] }, - "producer": 18, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 20, + "consumer": 3, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -121676,9 +122765,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -121707,12 +122799,12 @@ ] ] }, - "producer": 19, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 21, + "consumer": 4, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -121762,15 +122854,15 @@ ] ] }, - "producer": 5, + "producer": 3, "role": "Input", "window": "NotApplicable" }, { - "consumer": 22, + "consumer": 6, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -121817,15 +122909,15 @@ ] ] }, - "producer": 21, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 23, + "consumer": 7, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -121872,15 +122964,15 @@ ] ] }, - "producer": 22, + "producer": 6, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 24, + "consumer": 8, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -121896,12 +122988,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -121930,15 +123019,15 @@ ] ] }, - "producer": 8, + "producer": 7, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 24, + "consumer": 9, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -121954,12 +123043,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -121988,15 +123074,15 @@ ] ] }, - "producer": 11, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 24, + "consumer": 10, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -122012,12 +123098,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -122046,15 +123129,15 @@ ] ] }, - "producer": 14, + "producer": 9, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 24, + "consumer": 11, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -122070,12 +123153,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -122104,15 +123184,15 @@ ] ] }, - "producer": 17, + "producer": 10, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 24, + "consumer": 12, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -122128,12 +123208,904 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 12, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 13, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 15, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 16, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 18, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 19, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 21, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 23, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 11, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 14, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 17, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", "nullable": false, "table": null }, @@ -122170,7 +124142,7 @@ "consumer": 24, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -122340,13 +124312,29 @@ { "consumer": 27, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -122357,29 +124345,17 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] @@ -122808,7 +124784,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -122916,7 +124892,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -122979,7 +124955,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -123046,7 +125022,7 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { @@ -123123,7 +125099,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -123186,7 +125162,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -123253,7 +125229,7 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { @@ -123330,7 +125306,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -123393,7 +125369,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -123460,7 +125436,7 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { @@ -123537,7 +125513,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -123600,7 +125576,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -123667,7 +125643,7 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { @@ -123744,7 +125720,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -123807,7 +125783,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -123874,7 +125850,7 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { @@ -123951,7 +125927,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -124014,7 +125990,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -124081,7 +126057,7 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { @@ -124243,6 +126219,22 @@ "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -124253,78 +126245,41 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { + "NonASAP": { + "Sort": { "child": 25, - "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" + "nulls_first": false } - }, - "reduction": { - "Reduce": [ - 2 - ] - } + ], + "partition_by": [ + 2 + ] } } } @@ -124337,34 +126292,42 @@ "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "value", "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, @@ -124373,14 +126336,14 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 26 + "NonASAP": { + "Limit": { + "child": 26, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] } } } @@ -124391,9 +126354,9 @@ 27 ] }, - "from_logical": "L20", - "id": "P20", - "label": "Q1 exact (Rate acc) · Q2 CountSketch+heap (Sum acc · tumbling 10s panes)" + "from_logical": "L14", + "id": "P14-m1", + "label": "Q1 exact (Rate acc) · Q2 exact (Sum acc · tumbling 10s panes) · ingestion time: exact Sum ×6 panes" }, { "dag": { @@ -124733,6 +126696,61 @@ }, { "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -124778,7 +126796,7 @@ ] ] }, - "producer": 7, + "producer": 8, "role": "Input", "window": "NotApplicable" } @@ -125328,6 +127346,77 @@ { "guarantee": null, "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 6, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 8, "output_schema": { "closed": true, "fields": [ @@ -125375,7 +127464,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 6, + "child": 7, "family": { "Sketch": [ { @@ -125419,7 +127508,7 @@ }, { "guarantee": null, - "id": 8, + "id": 9, "output_schema": { "closed": true, "fields": [ @@ -125468,7 +127557,7 @@ "k": 10 } }, - "summary_input": 7 + "summary_input": 8 } } } @@ -125476,12 +127565,12 @@ ], "roots": [ 4, - 8 + 9 ] }, - "from_logical": "L21", - "id": "P21", - "label": "Q1 exact (Rate acc) · Q2 whole-expression CMS+heap" + "from_logical": "L15", + "id": "P15", + "label": "Q1 exact (Rate acc) · Q2 CMS+heap" }, { "dag": { @@ -125829,6 +127918,25 @@ "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -125839,29 +127947,17 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] @@ -125869,13 +127965,15 @@ "producer": 7, "role": "Input", "window": "NotApplicable" - } - ], - "nodes": [ + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -125919,89 +128017,20 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } + "producer": 8, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 1, - "output_schema": { + "consumer": 10, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -126012,41 +128041,42 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } - }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ { "guarantee": null, - "id": 2, + "id": 0, "output_schema": { "closed": true, "fields": [ @@ -126060,12 +128090,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -126095,38 +128122,213 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] ] }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - }, - "reduction": "PerEntity" + } } } } }, { "guarantee": null, - "id": 3, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, "output_schema": { "closed": true, "fields": [ @@ -126416,6 +128618,145 @@ { "guarantee": null, "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 6, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 7 + } + } + } + }, + { + "guarantee": null, + "id": 9, "output_schema": { "closed": true, "fields": [ @@ -126431,13 +128772,13 @@ "dtype": { "Sketch": [ { - "algorithm": "CountSketchWithHeap", + "algorithm": "CmsWithHeap", "category": "TopK", "params": { - "CountSketchWithHeap": { - "depth": 125, + "CmsWithHeap": { + "depth": 7, "heap_size": 100, - "width": 30000 + "width": 272 } } }, @@ -126463,17 +128804,17 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 6, + "child": 8, "family": { "Sketch": [ { - "algorithm": "CountSketchWithHeap", + "algorithm": "CmsWithHeap", "category": "TopK", "params": { - "CountSketchWithHeap": { - "depth": 125, + "CmsWithHeap": { + "depth": 7, "heap_size": 100, - "width": 30000 + "width": 272 } } }, @@ -126507,7 +128848,7 @@ }, { "guarantee": null, - "id": 8, + "id": 10, "output_schema": { "closed": true, "fields": [ @@ -126556,7 +128897,7 @@ "k": 10 } }, - "summary_input": 7 + "summary_input": 9 } } } @@ -126564,12 +128905,12 @@ ], "roots": [ 4, - 8 + 10 ] }, - "from_logical": "L22", - "id": "P22", - "label": "Q1 exact (Rate acc) · Q2 whole-expression CountSketch+heap" + "from_logical": "L16", + "id": "P16", + "label": "Q1 exact (Rate acc) · Q2 CMS+heap (Sum acc)" }, { "dag": { @@ -126687,7 +129028,7 @@ { "consumer": 3, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -126704,9 +129045,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -126742,13 +129086,29 @@ { "consumer": 4, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -126759,19 +129119,17 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] @@ -126996,16 +129354,18 @@ ] ] }, - "producer": 8, + "producer": 5, "role": "Input", "window": "NotApplicable" - } - ], - "nodes": [ + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -127049,71 +129409,18 @@ ] ] }, - "output_state": { + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } - }, - { - "guarantee": null, - "id": 1, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -127157,27 +129464,18 @@ ] ] }, - "output_state": { + "producer": 10, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 12, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } - }, - { - "guarantee": null, - "id": 2, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -127221,35 +129519,36 @@ ] ] }, - "output_state": { + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 13, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 3, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -127260,63 +129559,106 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "SummaryState", + "producer": 12, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 14, + "data_state": { + "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 2, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - "reduction": { - "Reduce": [ - 2 - ] - } + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 13, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 4, - "output_schema": { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -127327,36 +129669,33 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 16, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 3 - } - } - } - }, - { - "guarantee": null, - "id": 5, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -127400,71 +129739,18 @@ ] ] }, - "output_state": { + "producer": 15, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 17, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } - }, - { - "guarantee": null, - "id": 6, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -127508,27 +129794,18 @@ ] ] }, - "output_state": { + "producer": 16, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 18, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 5, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } - }, - { - "guarantee": null, - "id": 7, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -127572,34 +129849,18 @@ ] ] }, - "output_state": { + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 19, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 6, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 8, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -127643,34 +129904,18 @@ ] ] }, - "output_state": { + "producer": 18, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 20, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Sort": { - "child": 7, - "keys": [ - { - "ascending": false, - "expr": { - "Column": 1 - }, - "nulls_first": false - } - ], - "partition_by": [ - 2 - ] - } - } - } - }, - { - "guarantee": null, - "id": 9, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -127714,38 +129959,67 @@ ] ] }, - "output_state": { + "producer": 19, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 21, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Limit": { - "child": 8, - "n": 10, - "offset": 0, - "partition_by": [ - 2 - ] + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - } - } - ], - "roots": [ - 4, - 9 - ] - }, - "from_logical": "L23", - "id": "P23", - "label": "Q1 exact (Sum acc) · Q2 exact" - }, - { - "dag": { - "edges": [ + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 22, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -127795,12 +130069,12 @@ ] ] }, - "producer": 0, + "producer": 21, "role": "Input", "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 23, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -127850,14 +130124,14 @@ ] ] }, - "producer": 1, + "producer": 22, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -127874,9 +130148,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -127905,12 +130182,12 @@ ] ] }, - "producer": 2, + "producer": 8, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 24, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -127919,6 +130196,25 @@ "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -127927,6 +130223,45 @@ "nullable": true, "table": null }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 11, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, { "dtype": { "ExactAggregate": [ @@ -127937,23 +130272,40 @@ "name": "state", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 3, + "producer": 14, "role": "Input", "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -127970,9 +130322,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -128001,14 +130356,14 @@ ] ] }, - "producer": 5, + "producer": 17, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -128025,9 +130380,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -128056,12 +130414,12 @@ ] ] }, - "producer": 6, + "producer": 20, "role": "Input", "window": "NotApplicable" }, { - "consumer": 8, + "consumer": 24, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -128114,14 +130472,14 @@ ] ] }, - "producer": 7, + "producer": 23, "role": "Input", "window": "NotApplicable" }, { - "consumer": 9, + "consumer": 25, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -128138,9 +130496,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -128169,12 +130530,12 @@ ] ] }, - "producer": 8, + "producer": 24, "role": "Input", "window": "NotApplicable" }, { - "consumer": 10, + "consumer": 26, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -128224,7 +130585,58 @@ ] ] }, - "producer": 9, + "producer": 25, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 27, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 26, "role": "Input", "window": "NotApplicable" } @@ -128418,9 +130830,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -128450,23 +130865,30 @@ ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { - "NonASAP": { - "Aggregate": { + "ASAP": { + "SummaryAgg": { "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } - ], - "output_names": [ - "" - ], + }, "reduction": "PerEntity" } } @@ -128478,6 +130900,22 @@ "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -128488,53 +130926,29 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { "ASAP": { - "SummaryAgg": { - "child": 2, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } + "FinalizeExactAccumulator": { + "child": 2 } } } @@ -128574,9 +130988,25 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 3 + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } } } } @@ -128742,12 +131172,75 @@ }, "payload": { "NonASAP": { - "TimeRange": { + "TimeShift": { "child": 5, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 6, "kind": "range", "range": { "nanos": 0, - "secs": 60 + "secs": 10 } } } @@ -128755,7 +131248,7 @@ }, { "guarantee": null, - "id": 7, + "id": 8, "output_schema": { "closed": true, "fields": [ @@ -128810,7 +131303,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 6, + "child": 7, "family": { "ExactAggregate": [ "Sum", @@ -128835,7 +131328,7 @@ }, { "guarantee": null, - "id": 8, + "id": 9, "output_schema": { "closed": true, "fields": [ @@ -128885,16 +131378,20 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 7 + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 10000 + } } } } }, { "guarantee": null, - "id": 9, + "id": 10, "output_schema": { "closed": true, "fields": [ @@ -128945,27 +131442,20 @@ }, "payload": { "NonASAP": { - "Sort": { - "child": 8, - "keys": [ - { - "ascending": false, - "expr": { - "Column": 1 - }, - "nulls_first": false - } - ], - "partition_by": [ - 2 - ] + "TimeRange": { + "child": 9, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } } } } }, { "guarantee": null, - "id": 10, + "id": 11, "output_schema": { "closed": true, "fields": [ @@ -128979,9 +131469,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -129011,43 +131504,39 @@ ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { - "NonASAP": { - "Limit": { - "child": 9, - "n": 10, - "offset": 0, - "partition_by": [ - 2 - ] + "ASAP": { + "SummaryAgg": { + "child": 10, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" } } } - } - ], - "roots": [ - 4, - 10 - ] - }, - "from_logical": "L24", - "id": "P24", - "label": "Q1 exact (Sum acc) · Q2 exact (Sum acc)" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 12, + "output_schema": { "closed": true, "fields": [ { @@ -129091,18 +131580,26 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 2, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { "closed": true, "fields": [ { @@ -129146,18 +131643,27 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 3, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 12, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { "closed": true, "fields": [ { @@ -129170,9 +131676,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -129201,59 +131710,40 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, - "data_state": { + "output_state": { "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 13, + "family": { "ExactAggregate": [ "Sum", "Sum" ] }, - "name": "state", - "nullable": false, - "table": null + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "producer": 3, - "role": "Input", - "window": "NotApplicable" + } + } }, { - "consumer": 6, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 15, + "output_schema": { "closed": true, "fields": [ { @@ -129297,18 +131787,26 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 7, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { "closed": true, "fields": [ { @@ -129352,18 +131850,27 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 8, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 15, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { "closed": true, "fields": [ { @@ -129376,9 +131883,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -129407,18 +131917,40 @@ ] ] }, - "producer": 7, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 9, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 16, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { "closed": true, "fields": [ { @@ -129462,18 +131994,26 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 10, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { "closed": true, "fields": [ { @@ -129517,18 +132057,27 @@ ] ] }, - "producer": 9, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 11, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 18, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { "closed": true, "fields": [ { @@ -129541,9 +132090,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -129572,18 +132124,40 @@ ] ] }, - "producer": 10, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 12, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 19, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { "closed": true, "fields": [ { @@ -129627,18 +132201,26 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 13, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { "closed": true, "fields": [ { @@ -129682,18 +132264,27 @@ ] ] }, - "producer": 12, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 14, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 21, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { "closed": true, "fields": [ { @@ -129706,9 +132297,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -129737,18 +132331,40 @@ ] ] }, - "producer": 13, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 15, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 22, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { "closed": true, "fields": [ { @@ -129761,9 +132377,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -129792,18 +132411,29 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 16, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 8, + 11, + 14, + 17, + 20, + 23 + ] + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { "closed": true, "fields": [ { @@ -129847,36 +132477,116 @@ ] ] }, - "producer": 15, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 17, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 24 + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { - "Plain": "float64" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null - }, + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 25, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 27, + "output_schema": { + "closed": true, + "fields": [ { "dtype": { "Plain": "utf8" @@ -129892,22 +132602,56 @@ "name": "$promql_series_identity", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, - "producer": 16, - "role": "Input", - "window": "NotApplicable" - }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 26 + } + } + } + } + ], + "roots": [ + 4, + 27 + ] + }, + "from_logical": "L17", + "id": "P17", + "label": "Q1 exact (Rate acc) · Q2 CMS+heap (Sum acc · tumbling 10s panes)" + }, + { + "dag": { + "edges": [ { - "consumer": 18, + "consumer": 1, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -129957,12 +132701,12 @@ ] ] }, - "producer": 5, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 19, + "consumer": 2, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -130012,14 +132756,14 @@ ] ] }, - "producer": 18, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 20, + "consumer": 3, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -130036,9 +132780,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -130067,12 +132814,12 @@ ] ] }, - "producer": 19, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 21, + "consumer": 4, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -130122,15 +132869,15 @@ ] ] }, - "producer": 5, + "producer": 3, "role": "Input", "window": "NotApplicable" }, { - "consumer": 22, + "consumer": 6, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -130177,15 +132924,15 @@ ] ] }, - "producer": 21, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 23, + "consumer": 7, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -130232,15 +132979,15 @@ ] ] }, - "producer": 22, + "producer": 6, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 24, + "consumer": 8, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -130256,12 +133003,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -130290,15 +133034,15 @@ ] ] }, - "producer": 8, + "producer": 7, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 24, + "consumer": 9, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -130314,12 +133058,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -130348,15 +133089,15 @@ ] ] }, - "producer": 11, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 24, + "consumer": 10, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -130372,12 +133113,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -130406,15 +133144,15 @@ ] ] }, - "producer": 14, + "producer": 9, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 24, + "consumer": 11, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -130430,12 +133168,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -130464,15 +133199,15 @@ ] ] }, - "producer": 17, + "producer": 10, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 24, + "consumer": 12, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -130488,12 +133223,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -130522,15 +133254,15 @@ ] ] }, - "producer": 20, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 24, + "consumer": 13, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -130546,12 +133278,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -130580,15 +133309,15 @@ ] ] }, - "producer": 23, + "producer": 12, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 25, + "consumer": 14, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -130604,12 +133333,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -130638,15 +133364,15 @@ ] ] }, - "producer": 24, + "producer": 13, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 26, + "consumer": 15, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -130693,12 +133419,858 @@ ] ] }, - "producer": 25, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 15, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 16, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 18, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 19, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 21, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 23, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, "role": "Input", "window": "NotApplicable" }, { - "consumer": 27, + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 11, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 14, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 17, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 20, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 24, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 26, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -130748,6 +134320,57 @@ ] ] }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 27, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, "producer": 26, "role": "Input", "window": "NotApplicable" @@ -130942,9 +134565,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -130974,23 +134600,30 @@ ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { - "NonASAP": { - "Aggregate": { + "ASAP": { + "SummaryAgg": { "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } - ], - "output_names": [ - "" - ], + }, "reduction": "PerEntity" } } @@ -131002,6 +134635,22 @@ "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -131012,53 +134661,29 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { "ASAP": { - "SummaryAgg": { - "child": 2, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } + "FinalizeExactAccumulator": { + "child": 2 } } } @@ -131098,9 +134723,25 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 3 + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } } } } @@ -131154,7 +134795,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -131262,7 +134903,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -131325,7 +134966,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -131392,7 +135033,7 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { @@ -131469,7 +135110,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -131532,7 +135173,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -131599,7 +135240,7 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { @@ -131676,7 +135317,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -131739,7 +135380,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -131806,7 +135447,7 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { @@ -131883,7 +135524,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -131946,7 +135587,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -132013,7 +135654,7 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { @@ -132090,7 +135731,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -132153,7 +135794,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -132220,7 +135861,7 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { @@ -132297,7 +135938,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -132360,7 +136001,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -132427,7 +136068,7 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { @@ -132591,65 +136232,86 @@ "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { - "NonASAP": { - "Sort": { + "ASAP": { + "SummaryAgg": { "child": 25, - "keys": [ - { - "ascending": false, - "expr": { - "Column": 1 + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } }, - "nulls_first": false + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" } - ], - "partition_by": [ - 2 - ] + }, + "reduction": { + "Reduce": [ + 2 + ] + } } } } @@ -132662,42 +136324,34 @@ "fields": [ { "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { "Plain": "utf8" }, - "name": "job", - "nullable": true, + "name": "$promql_series_identity", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "value", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, @@ -132706,14 +136360,14 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "Limit": { - "child": 26, - "n": 10, - "offset": 0, - "partition_by": [ - 2 - ] + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 26 } } } @@ -132724,9 +136378,9 @@ 27 ] }, - "from_logical": "L25", - "id": "P25", - "label": "Q1 exact (Sum acc) · Q2 exact (Sum acc · tumbling 10s panes)" + "from_logical": "L17", + "id": "P17-m1", + "label": "Q1 exact (Rate acc) · Q2 CMS+heap (Sum acc · tumbling 10s panes) · ingestion time: exact Sum ×6 panes" }, { "dag": { @@ -132844,7 +136498,7 @@ { "consumer": 3, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -132861,9 +136515,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -132899,13 +136556,29 @@ { "consumer": 4, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -132916,19 +136589,17 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] @@ -133124,13 +136795,13 @@ "dtype": { "Sketch": [ { - "algorithm": "CmsWithHeap", + "algorithm": "CountSketchWithHeap", "category": "TopK", "params": { - "CmsWithHeap": { - "depth": 7, + "CountSketchWithHeap": { + "depth": 125, "heap_size": 100, - "width": 272 + "width": 30000 } } }, @@ -133330,6 +137001,86 @@ { "guarantee": null, "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, "output_schema": { "closed": true, "fields": [ @@ -133379,27 +137130,16 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 } } } }, { "guarantee": null, - "id": 3, + "id": 4, "output_schema": { "closed": true, "fields": [ @@ -133413,12 +137153,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "sum", "nullable": false, "table": null } @@ -133431,30 +137168,24 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { - "child": 2, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" } - }, + ], + "output_names": [ + "" + ], "reduction": { "Reduce": [ 2 @@ -133464,48 +137195,6 @@ } } }, - { - "guarantee": null, - "id": 4, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 3 - } - } - } - }, { "guarantee": null, "id": 5, @@ -133767,13 +137456,13 @@ "dtype": { "Sketch": [ { - "algorithm": "CmsWithHeap", + "algorithm": "CountSketchWithHeap", "category": "TopK", "params": { - "CmsWithHeap": { - "depth": 7, + "CountSketchWithHeap": { + "depth": 125, "heap_size": 100, - "width": 272 + "width": 30000 } } }, @@ -133803,13 +137492,13 @@ "family": { "Sketch": [ { - "algorithm": "CmsWithHeap", + "algorithm": "CountSketchWithHeap", "category": "TopK", "params": { - "CmsWithHeap": { - "depth": 7, + "CountSketchWithHeap": { + "depth": 125, "heap_size": 100, - "width": 272 + "width": 30000 } } }, @@ -133903,9 +137592,9 @@ 9 ] }, - "from_logical": "L26", - "id": "P26", - "label": "Q1 exact (Sum acc) · Q2 CMS+heap" + "from_logical": "L18", + "id": "P18", + "label": "Q1 exact (Rate acc) · Q2 CountSketch+heap" }, { "dag": { @@ -134023,7 +137712,7 @@ { "consumer": 3, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -134040,9 +137729,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -134077,47 +137769,6 @@ }, { "consumer": 4, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "producer": 3, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 6, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -134167,12 +137818,12 @@ ] ] }, - "producer": 5, + "producer": 3, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 6, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -134222,14 +137873,14 @@ ] ] }, - "producer": 6, + "producer": 5, "role": "Input", "window": "NotApplicable" }, { - "consumer": 8, + "consumer": 7, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -134246,12 +137897,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -134280,14 +137928,14 @@ ] ] }, - "producer": 7, + "producer": 6, "role": "Input", "window": "NotApplicable" }, { - "consumer": 9, + "consumer": 8, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -134304,9 +137952,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -134335,67 +137986,122 @@ ] ] }, - "producer": 8, + "producer": 7, "role": "Input", "window": "NotApplicable" }, { - "consumer": 10, + "consumer": 9, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "producer": 9, - "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ - { - "guarantee": null, - "id": 0, - "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { "closed": true, "fields": [ { @@ -134580,9 +138286,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -134612,23 +138321,30 @@ ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { - "NonASAP": { - "Aggregate": { + "ASAP": { + "SummaryAgg": { "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } - ], - "output_names": [ - "" - ], + }, "reduction": "PerEntity" } } @@ -134640,6 +138356,22 @@ "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -134650,53 +138382,29 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { "ASAP": { - "SummaryAgg": { - "child": 2, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } + "FinalizeExactAccumulator": { + "child": 2 } } } @@ -134736,9 +138444,25 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 3 + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } } } } @@ -135072,13 +138796,13 @@ "dtype": { "Sketch": [ { - "algorithm": "CmsWithHeap", + "algorithm": "CountSketchWithHeap", "category": "TopK", "params": { - "CmsWithHeap": { - "depth": 7, + "CountSketchWithHeap": { + "depth": 125, "heap_size": 100, - "width": 272 + "width": 30000 } } }, @@ -135108,13 +138832,13 @@ "family": { "Sketch": [ { - "algorithm": "CmsWithHeap", + "algorithm": "CountSketchWithHeap", "category": "TopK", "params": { - "CmsWithHeap": { - "depth": 7, + "CountSketchWithHeap": { + "depth": 125, "heap_size": 100, - "width": 272 + "width": 30000 } } }, @@ -135208,9 +138932,9 @@ 10 ] }, - "from_logical": "L27", - "id": "P27", - "label": "Q1 exact (Sum acc) · Q2 CMS+heap (Sum acc)" + "from_logical": "L19", + "id": "P19", + "label": "Q1 exact (Rate acc) · Q2 CountSketch+heap (Sum acc)" }, { "dag": { @@ -135328,7 +139052,7 @@ { "consumer": 3, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -135345,9 +139069,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -135383,13 +139110,29 @@ { "consumer": 4, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -135400,19 +139143,17 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] @@ -136894,13 +140635,13 @@ "dtype": { "Sketch": [ { - "algorithm": "CmsWithHeap", + "algorithm": "CountSketchWithHeap", "category": "TopK", "params": { - "CmsWithHeap": { - "depth": 7, + "CountSketchWithHeap": { + "depth": 125, "heap_size": 100, - "width": 272 + "width": 30000 } } }, @@ -137113,9 +140854,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -137145,23 +140889,30 @@ ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { - "NonASAP": { - "Aggregate": { + "ASAP": { + "SummaryAgg": { "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } - ], - "output_names": [ - "" - ], + }, "reduction": "PerEntity" } } @@ -137173,6 +140924,22 @@ "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -137183,53 +140950,29 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { "ASAP": { - "SummaryAgg": { - "child": 2, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } + "FinalizeExactAccumulator": { + "child": 2 } } } @@ -137269,9 +141012,25 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 3 + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } } } } @@ -138772,13 +142531,13 @@ "dtype": { "Sketch": [ { - "algorithm": "CmsWithHeap", + "algorithm": "CountSketchWithHeap", "category": "TopK", "params": { - "CmsWithHeap": { - "depth": 7, + "CountSketchWithHeap": { + "depth": 125, "heap_size": 100, - "width": 272 + "width": 30000 } } }, @@ -138808,13 +142567,13 @@ "family": { "Sketch": [ { - "algorithm": "CmsWithHeap", + "algorithm": "CountSketchWithHeap", "category": "TopK", "params": { - "CmsWithHeap": { - "depth": 7, + "CountSketchWithHeap": { + "depth": 125, "heap_size": 100, - "width": 272 + "width": 30000 } } }, @@ -138908,9 +142667,9 @@ 27 ] }, - "from_logical": "L28", - "id": "P28", - "label": "Q1 exact (Sum acc) · Q2 CMS+heap (Sum acc · tumbling 10s panes)" + "from_logical": "L20", + "id": "P20", + "label": "Q1 exact (Rate acc) · Q2 CountSketch+heap (Sum acc · tumbling 10s panes)" }, { "dag": { @@ -139028,7 +142787,7 @@ { "consumer": 3, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -139045,9 +142804,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -139082,47 +142844,6 @@ }, { "consumer": 4, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "producer": 3, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 6, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -139172,15 +142893,15 @@ ] ] }, - "producer": 5, + "producer": 3, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 6, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -139227,15 +142948,15 @@ ] ] }, - "producer": 6, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 8, + "consumer": 7, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -139282,67 +143003,18 @@ ] ] }, - "producer": 7, + "producer": 6, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 9, + "consumer": 8, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "producer": 8, - "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ - { - "guarantee": null, - "id": 0, - "output_schema": { "closed": true, "fields": [ { @@ -139386,71 +143058,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } + "producer": 7, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 1, - "output_schema": { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -139494,27 +143113,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 2, - "output_schema": { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -139558,35 +143168,36 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } + "producer": 9, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 3, - "output_schema": { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -139597,63 +143208,51 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 2, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } + "producer": 10, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 4, - "output_schema": { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -139664,36 +143263,33 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 3 - } - } - } + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 5, - "output_schema": { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -139737,71 +143333,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } + "producer": 12, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 6, - "output_schema": { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -139845,27 +143388,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 5, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } + "producer": 13, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 7, - "output_schema": { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -139909,36 +143443,36 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 6, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 8, - "output_schema": { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -139949,156 +143483,85 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 7, - "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } + "producer": 15, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 9, - "output_schema": { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "value", "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 8 - } - } - } - } - ], - "roots": [ - 4, - 9 - ] - }, - "from_logical": "L29", - "id": "P29", - "label": "Q1 exact (Sum acc) · Q2 CountSketch+heap" - }, - { - "dag": { - "edges": [ + "producer": 16, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, { - "consumer": 1, + "consumer": 18, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -140145,15 +143608,15 @@ ] ] }, - "producer": 0, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 2, + "consumer": 19, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -140200,15 +143663,15 @@ ] ] }, - "producer": 1, + "producer": 18, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 3, + "consumer": 20, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -140255,20 +143718,36 @@ ] ] }, - "producer": 2, + "producer": 19, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 4, + "consumer": 21, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -140279,32 +143758,30 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 3, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 6, + "consumer": 22, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -140351,15 +143828,15 @@ ] ] }, - "producer": 5, + "producer": 21, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 7, + "consumer": 23, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -140406,15 +143883,15 @@ ] ] }, - "producer": 6, + "producer": 22, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 8, + "consumer": 24, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -140464,15 +143941,15 @@ ] ] }, - "producer": 7, + "producer": 8, "role": "Input", "window": "NotApplicable" }, { - "consumer": 9, + "consumer": 24, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -140488,9 +143965,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -140519,20 +143999,39 @@ ] ] }, - "producer": 8, + "producer": 11, "role": "Input", "window": "NotApplicable" }, { - "consumer": 10, + "consumer": 24, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -140543,43 +144042,33 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 9, + "producer": 14, "role": "Input", "window": "NotApplicable" - } - ], - "nodes": [ + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -140592,9 +144081,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -140623,71 +144115,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } + "producer": 17, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 1, - "output_schema": { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -140700,9 +144139,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -140731,27 +144173,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } + "producer": 20, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 2, - "output_schema": { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -140764,9 +144197,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -140795,41 +144231,26 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } + "producer": 23, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 3, - "output_schema": { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { @@ -140842,53 +144263,99 @@ "name": "state", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "SummaryState", + "producer": 24, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 26, + "data_state": { + "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 2, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - "reduction": { - "Reduce": [ - 2 - ] - } + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 4, - "output_schema": { + "consumer": 27, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -140901,9 +144368,22 @@ }, { "dtype": { - "Plain": "float64" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "sum", + "name": "state", "nullable": false, "table": null } @@ -140915,21 +144395,15 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 3 - } - } - } - }, + "producer": 26, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ { "guarantee": null, - "id": 5, + "id": 0, "output_schema": { "closed": true, "fields": [ @@ -141037,7 +144511,7 @@ }, { "guarantee": null, - "id": 6, + "id": 1, "output_schema": { "closed": true, "fields": [ @@ -141089,7 +144563,7 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 5, + "child": 0, "kind": "range", "range": { "nanos": 0, @@ -141101,7 +144575,7 @@ }, { "guarantee": null, - "id": 7, + "id": 2, "output_schema": { "closed": true, "fields": [ @@ -141116,8 +144590,8 @@ { "dtype": { "ExactAggregate": [ - "Sum", - "Sum" + "Rate", + "Rate" ] }, "name": "state", @@ -141156,11 +144630,11 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 6, + "child": 1, "family": { "ExactAggregate": [ - "Sum", - "Sum" + "Rate", + "Rate" ] }, "filter": null, @@ -141181,7 +144655,7 @@ }, { "guarantee": null, - "id": 8, + "id": 3, "output_schema": { "closed": true, "fields": [ @@ -141233,14 +144707,14 @@ "payload": { "ASAP": { "FinalizeExactAccumulator": { - "child": 7 + "child": 2 } } } }, { "guarantee": null, - "id": 9, + "id": 4, "output_schema": { "closed": true, "fields": [ @@ -141254,22 +144728,9 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "float64" }, - "name": "state", + "name": "sum", "nullable": false, "table": null } @@ -141282,45 +144743,24 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { - "child": 8, - "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" } - }, + ], + "output_names": [ + "" + ], "reduction": { "Reduce": [ 2 @@ -141332,81 +144772,116 @@ }, { "guarantee": null, - "id": 10, + "id": 5, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "value", "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] }, - "summary_input": 9 + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } } } } - } - ], - "roots": [ - 4, - 10 - ] - }, - "from_logical": "L30", - "id": "P30", - "label": "Q1 exact (Sum acc) · Q2 CountSketch+heap (Sum acc)" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 6, + "output_schema": { "closed": true, "fields": [ { @@ -141450,18 +144925,26 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 2, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { "closed": true, "fields": [ { @@ -141505,18 +144988,27 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 3, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 6, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { "closed": true, "fields": [ { @@ -141529,9 +145021,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -141560,20 +145055,58 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, - "data_state": { + "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 7, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -141584,35 +145117,41 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 3, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 6, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { "closed": true, "fields": [ { @@ -141656,18 +145195,27 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 7, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 9, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { "closed": true, "fields": [ { @@ -141680,9 +145228,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -141711,18 +145262,40 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 10, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 8, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 12, + "output_schema": { "closed": true, "fields": [ { @@ -141766,18 +145339,26 @@ ] ] }, - "producer": 7, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 9, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { "closed": true, "fields": [ { @@ -141821,18 +145402,27 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 10, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 12, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { "closed": true, "fields": [ { @@ -141845,9 +145435,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -141876,18 +145469,40 @@ ] ] }, - "producer": 9, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 13, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 11, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 15, + "output_schema": { "closed": true, "fields": [ { @@ -141931,18 +145546,26 @@ ] ] }, - "producer": 10, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 12, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { "closed": true, "fields": [ { @@ -141986,18 +145609,27 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 13, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 15, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { "closed": true, "fields": [ { @@ -142010,9 +145642,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -142041,18 +145676,40 @@ ] ] }, - "producer": 12, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 16, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 14, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 18, + "output_schema": { "closed": true, "fields": [ { @@ -142096,18 +145753,26 @@ ] ] }, - "producer": 13, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 15, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { "closed": true, "fields": [ { @@ -142151,18 +145816,27 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 16, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 18, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { "closed": true, "fields": [ { @@ -142175,9 +145849,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -142206,18 +145883,40 @@ ] ] }, - "producer": 15, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 19, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 17, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 21, + "output_schema": { "closed": true, "fields": [ { @@ -142261,18 +145960,26 @@ ] ] }, - "producer": 16, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 18, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { "closed": true, "fields": [ { @@ -142316,18 +146023,27 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 19, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 21, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { "closed": true, "fields": [ { @@ -142340,9 +146056,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -142371,18 +146090,40 @@ ] ] }, - "producer": 18, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 22, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 20, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 24, + "output_schema": { "closed": true, "fields": [ { @@ -142395,9 +146136,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -142426,18 +146170,29 @@ ] ] }, - "producer": 19, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 21, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 8, + 11, + 14, + 17, + 20, + 23 + ] + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { "closed": true, "fields": [ { @@ -142481,36 +146236,116 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 22, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 24 + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { - "Plain": "float64" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null - }, + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 25, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 27, + "output_schema": { + "closed": true, + "fields": [ { "dtype": { "Plain": "utf8" @@ -142526,22 +146361,56 @@ "name": "$promql_series_identity", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, - "producer": 21, - "role": "Input", - "window": "NotApplicable" - }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 26 + } + } + } + } + ], + "roots": [ + 4, + 27 + ] + }, + "from_logical": "L20", + "id": "P20-m1", + "label": "Q1 exact (Rate acc) · Q2 CountSketch+heap (Sum acc · tumbling 10s panes) · ingestion time: exact Sum ×6 panes" + }, + { + "dag": { + "edges": [ { - "consumer": 23, + "consumer": 1, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -142591,14 +146460,14 @@ ] ] }, - "producer": 22, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 2, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -142615,12 +146484,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -142649,12 +146515,12 @@ ] ] }, - "producer": 8, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 3, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -142674,8 +146540,8 @@ { "dtype": { "ExactAggregate": [ - "Sum", - "Sum" + "Rate", + "Rate" ] }, "name": "state", @@ -142707,188 +146573,14 @@ ] ] }, - "producer": 11, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 14, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 24, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 17, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 24, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 20, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 24, + "consumer": 4, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -142905,12 +146597,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -142939,14 +146628,14 @@ ] ] }, - "producer": 23, + "producer": 3, "role": "Input", "window": "NotApplicable" }, { - "consumer": 25, + "consumer": 6, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -142963,12 +146652,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -142997,12 +146683,12 @@ ] ] }, - "producer": 24, + "producer": 5, "role": "Input", "window": "NotApplicable" }, { - "consumer": 26, + "consumer": 7, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -143052,12 +146738,12 @@ ] ] }, - "producer": 25, + "producer": 6, "role": "Input", "window": "NotApplicable" }, { - "consumer": 27, + "consumer": 8, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -143078,13 +146764,13 @@ "dtype": { "Sketch": [ { - "algorithm": "CountSketchWithHeap", + "algorithm": "CmsWithHeap", "category": "TopK", "params": { - "CountSketchWithHeap": { - "depth": 125, + "CmsWithHeap": { + "depth": 7, "heap_size": 100, - "width": 30000 + "width": 272 } } }, @@ -143103,7 +146789,7 @@ ] ] }, - "producer": 26, + "producer": 7, "role": "Input", "window": "NotApplicable" } @@ -143297,9 +146983,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -143329,23 +147018,30 @@ ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { - "NonASAP": { - "Aggregate": { + "ASAP": { + "SummaryAgg": { "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } - ], - "output_names": [ - "" - ], + }, "reduction": "PerEntity" } } @@ -143357,6 +147053,22 @@ "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -143367,53 +147079,29 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { "ASAP": { - "SummaryAgg": { - "child": 2, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } + "FinalizeExactAccumulator": { + "child": 2 } } } @@ -143453,9 +147141,25 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 3 + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } } } } @@ -143619,77 +147323,14 @@ "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 5, - "shift": { - "at": null, - "offset_ms": 0 - } - } - } - } - }, - { - "guarantee": null, - "id": 7, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, "payload": { "NonASAP": { "TimeRange": { - "child": 6, + "child": 5, "kind": "range", "range": { "nanos": 0, - "secs": 10 + "secs": 60 } } } @@ -143697,29 +147338,10 @@ }, { "guarantee": null, - "id": 8, + "id": 7, "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -143730,17 +147352,29 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -143752,51 +147386,54 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 7, + "child": 6, "family": { - "ExactAggregate": [ - "Sum", - "Sum" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" ] }, "filter": null, "grouping": "PerSubpopulationInstance", "input": { - "item": null, + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, "weight": { "Column": "SampleValue" }, "weight_domain": { - "kind": "unknown_or_signed" + "kind": "non_negative", + "proof": "counter_samples" } }, - "reduction": "PerEntity" + "reduction": { + "Reduce": [ + 2 + ] + } } } } }, { "guarantee": null, - "id": 9, + "id": 8, "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -143812,45 +147449,6 @@ "name": "$promql_series_identity", "nullable": false, "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 5, - "shift": { - "at": null, - "offset_ms": 10000 - } - } - } - } - }, - { - "guarantee": null, - "id": 10, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null }, { "dtype": { @@ -143859,29 +147457,13 @@ "name": "value", "nullable": false, "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, @@ -143890,22 +147472,39 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "TimeRange": { - "child": 9, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 7 } } } - }, + } + ], + "roots": [ + 4, + 8 + ] + }, + "from_logical": "L21", + "id": "P21", + "label": "Q1 exact (Rate acc) · Q2 whole-expression CMS+heap" + }, + { + "dag": { + "edges": [ { - "guarantee": null, - "id": 11, - "output_schema": { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -143918,12 +147517,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -143952,40 +147548,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 10, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 0, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 12, - "output_schema": { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -144029,26 +147603,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 5, - "shift": { - "at": null, - "offset_ms": 20000 - } - } - } - } + "producer": 1, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 13, - "output_schema": { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -144061,9 +147627,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -144092,27 +147661,18 @@ ] ] }, - "output_state": { + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 12, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 14, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -144125,12 +147685,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -144159,40 +147716,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 13, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 3, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 15, - "output_schema": { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -144236,26 +147771,18 @@ ] ] }, - "output_state": { + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 5, - "shift": { - "at": null, - "offset_ms": 30000 - } - } - } - } - }, - { - "guarantee": null, - "id": 16, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -144299,48 +147826,20 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 15, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 6, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 17, - "output_schema": { + "consumer": 8, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -144351,54 +147850,42 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 16, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } - }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ { "guarantee": null, - "id": 18, + "id": 0, "output_schema": { "closed": true, "fields": [ @@ -144449,11 +147936,56 @@ }, "payload": { "NonASAP": { - "TimeShift": { - "child": 5, - "shift": { - "at": null, - "offset_ms": 40000 + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } } } } @@ -144461,7 +147993,7 @@ }, { "guarantee": null, - "id": 19, + "id": 1, "output_schema": { "closed": true, "fields": [ @@ -144513,11 +148045,11 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 18, + "child": 0, "kind": "range", "range": { "nanos": 0, - "secs": 10 + "secs": 60 } } } @@ -144525,7 +148057,7 @@ }, { "guarantee": null, - "id": 20, + "id": 2, "output_schema": { "closed": true, "fields": [ @@ -144540,8 +148072,8 @@ { "dtype": { "ExactAggregate": [ - "Sum", - "Sum" + "Rate", + "Rate" ] }, "name": "state", @@ -144580,11 +148112,11 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 19, + "child": 1, "family": { "ExactAggregate": [ - "Sum", - "Sum" + "Rate", + "Rate" ] }, "filter": null, @@ -144605,7 +148137,7 @@ }, { "guarantee": null, - "id": 21, + "id": 3, "output_schema": { "closed": true, "fields": [ @@ -144655,39 +148187,19 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "TimeShift": { - "child": 5, - "shift": { - "at": null, - "offset_ms": 50000 - } + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 } } } }, { "guarantee": null, - "id": 22, + "id": 4, "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -144698,17 +148210,16 @@ }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "sum", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -144719,12 +148230,23 @@ }, "payload": { "NonASAP": { - "TimeRange": { - "child": 21, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] } } } @@ -144732,7 +148254,7 @@ }, { "guarantee": null, - "id": 23, + "id": 5, "output_schema": { "closed": true, "fields": [ @@ -144746,12 +148268,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -144781,107 +148300,69 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { - "child": 22, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] ] }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - }, - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 24, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryMerge": { - "children": [ - 8, - 11, - 14, - 17, - 20, - 23 - ] + } } } } }, { "guarantee": null, - "id": 25, + "id": 6, "output_schema": { "closed": true, "fields": [ @@ -144931,16 +148412,21 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 24 + "NonASAP": { + "TimeRange": { + "child": 5, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } } } } }, { "guarantee": null, - "id": 26, + "id": 7, "output_schema": { "closed": true, "fields": [ @@ -144988,7 +148474,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 25, + "child": 6, "family": { "Sketch": [ { @@ -145032,7 +148518,7 @@ }, { "guarantee": null, - "id": 27, + "id": 8, "output_schema": { "closed": true, "fields": [ @@ -145081,7 +148567,7 @@ "k": 10 } }, - "summary_input": 26 + "summary_input": 7 } } } @@ -145089,12 +148575,12 @@ ], "roots": [ 4, - 27 + 8 ] }, - "from_logical": "L31", - "id": "P31", - "label": "Q1 exact (Sum acc) · Q2 CountSketch+heap (Sum acc · tumbling 10s panes)" + "from_logical": "L22", + "id": "P22", + "label": "Q1 exact (Rate acc) · Q2 whole-expression CountSketch+heap" }, { "dag": { @@ -145418,13 +148904,29 @@ { "consumer": 8, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -145435,29 +148937,17 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] @@ -145465,6 +148955,61 @@ "producer": 7, "role": "Input", "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" } ], "nodes": [ @@ -145997,6 +149542,22 @@ "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -146007,78 +149568,41 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { + "NonASAP": { + "Aggregate": { "child": 6, - "family": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" } - }, - "reduction": { - "Reduce": [ - 2 - ] - } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" } } } @@ -146089,6 +149613,22 @@ "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -146104,6 +149644,53 @@ "name": "$promql_series_identity", "nullable": false, "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Sort": { + "child": 7, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], + "partition_by": [ + 2 + ] + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null }, { "dtype": { @@ -146112,13 +149699,29 @@ "name": "value", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, @@ -146127,14 +149730,14 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 7 + "NonASAP": { + "Limit": { + "child": 8, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] } } } @@ -146142,12 +149745,12 @@ ], "roots": [ 4, - 8 + 9 ] }, - "from_logical": "L32", - "id": "P32", - "label": "Q1 exact (Sum acc) · Q2 whole-expression CMS+heap" + "from_logical": "L23", + "id": "P23", + "label": "Q1 exact (Sum acc) · Q2 exact" }, { "dag": { @@ -146478,6 +150081,25 @@ "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -146488,29 +150110,17 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] @@ -146518,13 +150128,15 @@ "producer": 7, "role": "Input", "window": "NotApplicable" - } - ], - "nodes": [ + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -146568,71 +150180,179 @@ ] ] }, - "output_state": { + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } - }, - { - "guarantee": null, - "id": 1, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { "closed": true, "fields": [ { @@ -147050,6 +150770,25 @@ "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -147060,29 +150799,17 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] @@ -147096,42 +150823,23 @@ "SummaryAgg": { "child": 6, "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" + "ExactAggregate": [ + "Sum", + "Sum" ] }, "filter": null, "grouping": "PerSubpopulationInstance", "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, + "item": null, "weight": { "Column": "SampleValue" }, "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" + "kind": "unknown_or_signed" } }, - "reduction": { - "Reduce": [ - 2 - ] - } + "reduction": "PerEntity" } } } @@ -147142,6 +150850,22 @@ "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -147157,6 +150881,41 @@ "name": "$promql_series_identity", "nullable": false, "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 7 + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null }, { "dtype": { @@ -147165,13 +150924,29 @@ "name": "value", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, @@ -147180,39 +150955,29 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 + "NonASAP": { + "Sort": { + "child": 8, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false } - }, - "summary_input": 7 + ], + "partition_by": [ + 2 + ] } } } - } - ], - "roots": [ - 4, - 8 - ] - }, - "from_logical": "L33", - "id": "P33", - "label": "Q1 exact (Sum acc) · Q2 whole-expression CountSketch+heap" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 10, + "output_schema": { "closed": true, "fields": [ { @@ -147256,12 +151021,38 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Limit": { + "child": 9, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] + } + } + } + } + ], + "roots": [ + 4, + 10 + ] + }, + "from_logical": "L24", + "id": "P24", + "label": "Q1 exact (Sum acc) · Q2 exact (Sum acc)" + }, + { + "dag": { + "edges": [ { - "consumer": 2, + "consumer": 1, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -147311,14 +151102,14 @@ ] ] }, - "producer": 1, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 2, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -147335,12 +151126,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -147369,12 +151157,12 @@ ] ] }, - "producer": 2, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 3, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -147424,12 +151212,12 @@ ] ] }, - "producer": 3, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 4, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -147465,12 +151253,12 @@ ] ] }, - "producer": 4, + "producer": 3, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 6, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -147520,12 +151308,12 @@ ] ] }, - "producer": 6, + "producer": 5, "role": "Input", "window": "NotApplicable" }, { - "consumer": 8, + "consumer": 7, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -147575,12 +151363,12 @@ ] ] }, - "producer": 7, + "producer": 6, "role": "Input", "window": "NotApplicable" }, { - "consumer": 9, + "consumer": 8, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -147630,12 +151418,12 @@ ] ] }, - "producer": 8, + "producer": 7, "role": "Input", "window": "NotApplicable" }, { - "consumer": 10, + "consumer": 9, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -147685,16 +151473,18 @@ ] ] }, - "producer": 9, + "producer": 5, "role": "Input", "window": "NotApplicable" - } - ], - "nodes": [ + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -147738,71 +151528,18 @@ ] ] }, - "output_state": { + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } - }, - { - "guarantee": null, - "id": 1, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -147846,27 +151583,18 @@ ] ] }, - "output_state": { + "producer": 10, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 12, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } - }, - { - "guarantee": null, - "id": 2, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -147879,12 +151607,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -147913,40 +151638,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 5, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 3, - "output_schema": { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -147990,91 +151693,36 @@ ] ] }, - "output_state": { + "producer": 12, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 14, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - } - }, - { - "guarantee": null, - "id": 4, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 3, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 5, - "output_schema": { - "closed": true, - "fields": [ + }, { "dtype": { "Plain": "utf8" @@ -148085,36 +151733,33 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { + "producer": 13, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 15, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 - } - } - } - }, - { - "guarantee": null, - "id": 6, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -148158,71 +151803,18 @@ ] ] }, - "output_state": { + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 16, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } - }, - { - "guarantee": null, - "id": 7, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -148266,27 +151858,18 @@ ] ] }, - "output_state": { + "producer": 15, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 17, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 6, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } - }, - { - "guarantee": null, - "id": 8, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -148330,34 +151913,18 @@ ] ] }, - "output_state": { + "producer": 16, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 18, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 7, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 9, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -148401,34 +151968,18 @@ ] ] }, - "output_state": { + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 19, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Sort": { - "child": 8, - "keys": [ - { - "ascending": false, - "expr": { - "Column": 1 - }, - "nulls_first": false - } - ], - "partition_by": [ - 2 - ] - } - } - } - }, - { - "guarantee": null, - "id": 10, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -148472,38 +152023,12 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Limit": { - "child": 9, - "n": 10, - "offset": 0, - "partition_by": [ - 2 - ] - } - } - } - } - ], - "roots": [ - 5, - 10 - ] - }, - "from_logical": "L34", - "id": "P34", - "label": "Q1 exact (Sum acc, Rate acc) · Q2 exact" - }, - { - "dag": { - "edges": [ + "producer": 18, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 20, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -148553,12 +152078,12 @@ ] ] }, - "producer": 0, + "producer": 19, "role": "Input", "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 21, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -148608,14 +152133,14 @@ ] ] }, - "producer": 1, + "producer": 5, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 22, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -148632,12 +152157,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -148666,12 +152188,12 @@ ] ] }, - "producer": 2, + "producer": 21, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 23, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -148721,12 +152243,12 @@ ] ] }, - "producer": 3, + "producer": 22, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 24, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -148737,10 +152259,10 @@ "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { @@ -148753,23 +152275,40 @@ "name": "state", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 4, + "producer": 8, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -148786,9 +152325,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -148817,14 +152359,14 @@ ] ] }, - "producer": 6, + "producer": 11, "role": "Input", "window": "NotApplicable" }, { - "consumer": 8, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -148841,9 +152383,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -148872,12 +152417,12 @@ ] ] }, - "producer": 7, + "producer": 14, "role": "Input", "window": "NotApplicable" }, { - "consumer": 9, + "consumer": 24, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -148930,12 +152475,186 @@ ] ] }, - "producer": 8, + "producer": 17, "role": "Input", "window": "NotApplicable" }, { - "consumer": 10, + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 20, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 24, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 26, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -148985,12 +152704,12 @@ ] ] }, - "producer": 9, + "producer": 25, "role": "Input", "window": "NotApplicable" }, { - "consumer": 11, + "consumer": 27, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -149040,7 +152759,7 @@ ] ] }, - "producer": 10, + "producer": 26, "role": "Input", "window": "NotApplicable" } @@ -149234,12 +152953,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -149269,30 +152985,23 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { + "NonASAP": { + "Aggregate": { "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" } - }, + ], + "output_names": [ + "" + ], "reduction": "PerEntity" } } @@ -149301,65 +153010,6 @@ { "guarantee": null, "id": 3, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - } - }, - { - "guarantee": null, - "id": 4, "output_schema": { "closed": true, "fields": [ @@ -149397,7 +153047,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 3, + "child": 2, "family": { "ExactAggregate": [ "Sum", @@ -149426,7 +153076,7 @@ }, { "guarantee": null, - "id": 5, + "id": 4, "output_schema": { "closed": true, "fields": [ @@ -149461,14 +153111,14 @@ "payload": { "ASAP": { "FinalizeExactAccumulator": { - "child": 4 + "child": 3 } } } }, { "guarantee": null, - "id": 6, + "id": 5, "output_schema": { "closed": true, "fields": [ @@ -149576,7 +153226,7 @@ }, { "guarantee": null, - "id": 7, + "id": 6, "output_schema": { "closed": true, "fields": [ @@ -149627,12 +153277,11 @@ }, "payload": { "NonASAP": { - "TimeRange": { - "child": 6, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 0 } } } @@ -149640,7 +153289,7 @@ }, { "guarantee": null, - "id": 8, + "id": 7, "output_schema": { "closed": true, "fields": [ @@ -149654,12 +153303,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -149689,38 +153335,25 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { - "child": 7, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" + "NonASAP": { + "TimeRange": { + "child": 6, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } } } } }, { "guarantee": null, - "id": 9, + "id": 8, "output_schema": { "closed": true, "fields": [ @@ -149734,9 +153367,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -149766,20 +153402,38 @@ ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { "ASAP": { - "FinalizeExactAccumulator": { - "child": 8 + "SummaryAgg": { + "child": 7, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 10, + "id": 9, "output_schema": { "closed": true, "fields": [ @@ -149830,27 +153484,19 @@ }, "payload": { "NonASAP": { - "Sort": { - "child": 9, - "keys": [ - { - "ascending": false, - "expr": { - "Column": 1 - }, - "nulls_first": false - } - ], - "partition_by": [ - 2 - ] + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 10000 + } } } } }, { "guarantee": null, - "id": 11, + "id": 10, "output_schema": { "closed": true, "fields": [ @@ -149901,38 +153547,21 @@ }, "payload": { "NonASAP": { - "Limit": { - "child": 10, - "n": 10, - "offset": 0, - "partition_by": [ - 2 - ] + "TimeRange": { + "child": 9, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } } } } - } - ], - "roots": [ - 5, - 11 - ] - }, - "from_logical": "L35", - "id": "P35", - "label": "Q1 exact (Sum acc, Rate acc) · Q2 exact (Sum acc)" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 11, + "output_schema": { "closed": true, "fields": [ { @@ -149945,9 +153574,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -149976,18 +153608,40 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 2, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 10, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { "closed": true, "fields": [ { @@ -150031,18 +153685,26 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 3, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { "closed": true, "fields": [ { @@ -150055,12 +153717,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -150089,18 +153748,27 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 12, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { "closed": true, "fields": [ { @@ -150113,9 +153781,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -150144,59 +153815,40 @@ ] ] }, - "producer": 3, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 5, - "data_state": { + "output_state": { "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 13, + "family": { "ExactAggregate": [ "Sum", "Sum" ] }, - "name": "state", - "nullable": false, - "table": null + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" + } + } }, { - "consumer": 7, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 15, + "output_schema": { "closed": true, "fields": [ { @@ -150240,18 +153892,26 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 8, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { "closed": true, "fields": [ { @@ -150295,18 +153955,27 @@ ] ] }, - "producer": 7, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 9, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 15, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { "closed": true, "fields": [ { @@ -150319,9 +153988,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -150350,18 +154022,40 @@ ] ] }, - "producer": 8, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 10, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 16, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { "closed": true, "fields": [ { @@ -150405,18 +154099,26 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 11, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { "closed": true, "fields": [ { @@ -150460,18 +154162,27 @@ ] ] }, - "producer": 10, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 12, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 18, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { "closed": true, "fields": [ { @@ -150484,9 +154195,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -150515,18 +154229,40 @@ ] ] }, - "producer": 11, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 13, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 19, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { "closed": true, "fields": [ { @@ -150570,18 +154306,26 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 14, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { "closed": true, "fields": [ { @@ -150625,18 +154369,27 @@ ] ] }, - "producer": 13, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 15, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 21, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { "closed": true, "fields": [ { @@ -150649,9 +154402,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -150680,18 +154436,40 @@ ] ] }, - "producer": 14, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 16, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 22, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { "closed": true, "fields": [ { @@ -150704,9 +154482,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -150735,18 +154516,29 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 17, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 8, + 11, + 14, + 17, + 20, + 23 + ] + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { "closed": true, "fields": [ { @@ -150790,18 +154582,22 @@ ] ] }, - "producer": 16, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 18, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 24 + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { "closed": true, "fields": [ { @@ -150845,18 +154641,34 @@ ] ] }, - "producer": 17, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 19, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Sort": { + "child": 25, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], + "partition_by": [ + 2 + ] + } + } + } + }, + { + "guarantee": null, + "id": 27, + "output_schema": { "closed": true, "fields": [ { @@ -150900,12 +154712,38 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Limit": { + "child": 26, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] + } + } + } + } + ], + "roots": [ + 4, + 27 + ] + }, + "from_logical": "L25", + "id": "P25", + "label": "Q1 exact (Sum acc) · Q2 exact (Sum acc · tumbling 10s panes)" + }, + { + "dag": { + "edges": [ { - "consumer": 20, + "consumer": 1, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -150955,12 +154793,12 @@ ] ] }, - "producer": 19, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 21, + "consumer": 2, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -151010,12 +154848,12 @@ ] ] }, - "producer": 20, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 22, + "consumer": 3, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -151065,36 +154903,20 @@ ] ] }, - "producer": 6, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 4, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -151105,30 +154927,32 @@ }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 22, + "producer": 3, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 6, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -151175,15 +154999,15 @@ ] ] }, - "producer": 23, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 25, + "consumer": 7, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -151199,12 +155023,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -151233,15 +155054,15 @@ ] ] }, - "producer": 9, + "producer": 6, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 25, + "consumer": 8, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -151257,12 +155078,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -151291,15 +155109,15 @@ ] ] }, - "producer": 12, + "producer": 7, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 25, + "consumer": 9, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -151315,12 +155133,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -151349,15 +155164,15 @@ ] ] }, - "producer": 15, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 25, + "consumer": 10, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -151373,12 +155188,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -151407,15 +155219,15 @@ ] ] }, - "producer": 18, + "producer": 9, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 25, + "consumer": 11, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -151431,12 +155243,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -151465,15 +155274,15 @@ ] ] }, - "producer": 21, + "producer": 10, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 25, + "consumer": 12, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -151489,12 +155298,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -151523,15 +155329,15 @@ ] ] }, - "producer": 24, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 26, + "consumer": 13, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -151547,12 +155353,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -151581,15 +155384,15 @@ ] ] }, - "producer": 25, + "producer": 12, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 27, + "consumer": 14, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -151636,15 +155439,15 @@ ] ] }, - "producer": 26, + "producer": 13, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 28, + "consumer": 15, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -151691,16 +155494,18 @@ ] ] }, - "producer": 27, + "producer": 5, "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -151744,71 +155549,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } + "producer": 15, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 1, - "output_schema": { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -151852,27 +155604,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } + "producer": 16, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 2, - "output_schema": { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -151885,12 +155628,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -151919,40 +155659,73 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" }, - "reduction": "PerEntity" + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 18, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 3, - "output_schema": { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -151996,24 +155769,146 @@ ] ] }, - "output_state": { + "producer": 19, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 21, + "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 4, - "output_schema": { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 21, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 23, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -152022,6 +155917,45 @@ "nullable": true, "table": null }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, { "dtype": { "ExactAggregate": [ @@ -152032,55 +155966,181 @@ "name": "state", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 3, - "family": { + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { "ExactAggregate": [ "Sum", "Sum" ] }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - "reduction": { - "Reduce": [ - 2 + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 11, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" ] - } + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 14, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 5, - "output_schema": { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -152091,35 +156151,314 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { + "producer": 17, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 20, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 24, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 26, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" }, + { + "consumer": 27, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 26, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ { "guarantee": null, - "id": 6, + "id": 0, "output_schema": { "closed": true, "fields": [ @@ -152227,7 +156566,7 @@ }, { "guarantee": null, - "id": 7, + "id": 1, "output_schema": { "closed": true, "fields": [ @@ -152278,11 +156617,12 @@ }, "payload": { "NonASAP": { - "TimeShift": { - "child": 6, - "shift": { - "at": null, - "offset_ms": 0 + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 } } } @@ -152290,7 +156630,7 @@ }, { "guarantee": null, - "id": 8, + "id": 2, "output_schema": { "closed": true, "fields": [ @@ -152341,29 +156681,35 @@ }, "payload": { "NonASAP": { - "TimeRange": { - "child": 7, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 9, + "id": 3, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { @@ -152376,28 +156722,11 @@ "name": "state", "nullable": false, "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -152409,7 +156738,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 8, + "child": 2, "family": { "ExactAggregate": [ "Sum", @@ -152427,14 +156756,60 @@ "kind": "unknown_or_signed" } }, - "reduction": "PerEntity" + "reduction": { + "Reduce": [ + 2 + ] + } } } } }, { "guarantee": null, - "id": 10, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 3 + } + } + } + }, + { + "guarantee": null, + "id": 5, "output_schema": { "closed": true, "fields": [ @@ -152481,15 +156856,123 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 6, + "child": 5, "shift": { "at": null, - "offset_ms": 10000 + "offset_ms": 0 } } } @@ -152497,7 +156980,7 @@ }, { "guarantee": null, - "id": 11, + "id": 7, "output_schema": { "closed": true, "fields": [ @@ -152544,12 +157027,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 10, + "child": 6, "kind": "range", "range": { "nanos": 0, @@ -152561,7 +157044,7 @@ }, { "guarantee": null, - "id": 12, + "id": 8, "output_schema": { "closed": true, "fields": [ @@ -152611,12 +157094,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 11, + "child": 7, "family": { "ExactAggregate": [ "Sum", @@ -152641,7 +157124,7 @@ }, { "guarantee": null, - "id": 13, + "id": 9, "output_schema": { "closed": true, "fields": [ @@ -152688,15 +157171,15 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 6, + "child": 5, "shift": { "at": null, - "offset_ms": 20000 + "offset_ms": 10000 } } } @@ -152704,7 +157187,7 @@ }, { "guarantee": null, - "id": 14, + "id": 10, "output_schema": { "closed": true, "fields": [ @@ -152751,12 +157234,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 13, + "child": 9, "kind": "range", "range": { "nanos": 0, @@ -152768,7 +157251,7 @@ }, { "guarantee": null, - "id": 15, + "id": 11, "output_schema": { "closed": true, "fields": [ @@ -152818,12 +157301,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 14, + "child": 10, "family": { "ExactAggregate": [ "Sum", @@ -152848,7 +157331,7 @@ }, { "guarantee": null, - "id": 16, + "id": 12, "output_schema": { "closed": true, "fields": [ @@ -152895,15 +157378,15 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 6, + "child": 5, "shift": { "at": null, - "offset_ms": 30000 + "offset_ms": 20000 } } } @@ -152911,7 +157394,7 @@ }, { "guarantee": null, - "id": 17, + "id": 13, "output_schema": { "closed": true, "fields": [ @@ -152958,12 +157441,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 16, + "child": 12, "kind": "range", "range": { "nanos": 0, @@ -152975,7 +157458,7 @@ }, { "guarantee": null, - "id": 18, + "id": 14, "output_schema": { "closed": true, "fields": [ @@ -153025,12 +157508,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 17, + "child": 13, "family": { "ExactAggregate": [ "Sum", @@ -153055,7 +157538,7 @@ }, { "guarantee": null, - "id": 19, + "id": 15, "output_schema": { "closed": true, "fields": [ @@ -153102,15 +157585,15 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 6, + "child": 5, "shift": { "at": null, - "offset_ms": 40000 + "offset_ms": 30000 } } } @@ -153118,7 +157601,7 @@ }, { "guarantee": null, - "id": 20, + "id": 16, "output_schema": { "closed": true, "fields": [ @@ -153165,12 +157648,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 19, + "child": 15, "kind": "range", "range": { "nanos": 0, @@ -153182,7 +157665,7 @@ }, { "guarantee": null, - "id": 21, + "id": 17, "output_schema": { "closed": true, "fields": [ @@ -153232,12 +157715,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 20, + "child": 16, "family": { "ExactAggregate": [ "Sum", @@ -153262,7 +157745,7 @@ }, { "guarantee": null, - "id": 22, + "id": 18, "output_schema": { "closed": true, "fields": [ @@ -153309,15 +157792,15 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 6, + "child": 5, "shift": { "at": null, - "offset_ms": 50000 + "offset_ms": 40000 } } } @@ -153325,7 +157808,7 @@ }, { "guarantee": null, - "id": 23, + "id": 19, "output_schema": { "closed": true, "fields": [ @@ -153372,12 +157855,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 22, + "child": 18, "kind": "range", "range": { "nanos": 0, @@ -153389,7 +157872,7 @@ }, { "guarantee": null, - "id": 24, + "id": 20, "output_schema": { "closed": true, "fields": [ @@ -153439,12 +157922,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 23, + "child": 19, "family": { "ExactAggregate": [ "Sum", @@ -153469,7 +157952,7 @@ }, { "guarantee": null, - "id": 25, + "id": 21, "output_schema": { "closed": true, "fields": [ @@ -153483,12 +157966,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -153518,27 +157998,24 @@ ] }, "output_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "payload": { - "ASAP": { - "SummaryMerge": { - "children": [ - 9, - 12, - 15, - 18, - 21, - 24 - ] + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 50000 + } } } } }, { "guarantee": null, - "id": 26, + "id": 22, "output_schema": { "closed": true, "fields": [ @@ -153585,19 +158062,24 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 25 + "NonASAP": { + "TimeRange": { + "child": 21, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } } } } }, { "guarantee": null, - "id": 27, + "id": 23, "output_schema": { "closed": true, "fields": [ @@ -153611,9 +158093,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -153643,24 +158128,99 @@ ] }, "output_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "payload": { - "NonASAP": { - "Sort": { - "child": 26, - "keys": [ - { - "ascending": false, - "expr": { - "Column": 1 - }, - "nulls_first": false - } - ], - "partition_by": [ - 2 + "ASAP": { + "SummaryAgg": { + "child": 22, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 8, + 11, + 14, + 17, + 20, + 23 ] } } @@ -153668,7 +158228,66 @@ }, { "guarantee": null, - "id": 28, + "id": 25, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 24 + } + } + } + }, + { + "guarantee": null, + "id": 26, "output_schema": { "closed": true, "fields": [ @@ -153719,38 +158338,28 @@ }, "payload": { "NonASAP": { - "Limit": { - "child": 27, - "n": 10, - "offset": 0, + "Sort": { + "child": 25, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], "partition_by": [ 2 ] } } } - } - ], - "roots": [ - 5, - 28 - ] - }, - "from_logical": "L36", - "id": "P36", - "label": "Q1 exact (Sum acc, Rate acc) · Q2 exact (Sum acc · tumbling 10s panes)" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 27, + "output_schema": { "closed": true, "fields": [ { @@ -153794,12 +158403,38 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Limit": { + "child": 26, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] + } + } + } + } + ], + "roots": [ + 4, + 27 + ] + }, + "from_logical": "L25", + "id": "P25-m1", + "label": "Q1 exact (Sum acc) · Q2 exact (Sum acc · tumbling 10s panes) · ingestion time: exact Sum ×6 panes" + }, + { + "dag": { + "edges": [ { - "consumer": 2, + "consumer": 1, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -153849,14 +158484,14 @@ ] ] }, - "producer": 1, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 2, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -153873,12 +158508,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -153907,12 +158539,12 @@ ] ] }, - "producer": 2, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 3, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -153962,12 +158594,12 @@ ] ] }, - "producer": 3, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 4, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -154003,12 +158635,12 @@ ] ] }, - "producer": 4, + "producer": 3, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 6, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -154058,12 +158690,12 @@ ] ] }, - "producer": 6, + "producer": 5, "role": "Input", "window": "NotApplicable" }, { - "consumer": 8, + "consumer": 7, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -154113,12 +158745,12 @@ ] ] }, - "producer": 7, + "producer": 6, "role": "Input", "window": "NotApplicable" }, { - "consumer": 9, + "consumer": 8, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -154168,12 +158800,12 @@ ] ] }, - "producer": 8, + "producer": 7, "role": "Input", "window": "NotApplicable" }, { - "consumer": 10, + "consumer": 9, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -154219,7 +158851,7 @@ ] ] }, - "producer": 9, + "producer": 8, "role": "Input", "window": "NotApplicable" } @@ -154413,12 +159045,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -154448,30 +159077,23 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { + "NonASAP": { + "Aggregate": { "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" } - }, + ], + "output_names": [ + "" + ], "reduction": "PerEntity" } } @@ -154480,65 +159102,6 @@ { "guarantee": null, "id": 3, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - } - }, - { - "guarantee": null, - "id": 4, "output_schema": { "closed": true, "fields": [ @@ -154576,7 +159139,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 3, + "child": 2, "family": { "ExactAggregate": [ "Sum", @@ -154605,7 +159168,7 @@ }, { "guarantee": null, - "id": 5, + "id": 4, "output_schema": { "closed": true, "fields": [ @@ -154640,14 +159203,14 @@ "payload": { "ASAP": { "FinalizeExactAccumulator": { - "child": 4 + "child": 3 } } } }, { "guarantee": null, - "id": 6, + "id": 5, "output_schema": { "closed": true, "fields": [ @@ -154755,7 +159318,7 @@ }, { "guarantee": null, - "id": 7, + "id": 6, "output_schema": { "closed": true, "fields": [ @@ -154807,7 +159370,7 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 6, + "child": 5, "kind": "range", "range": { "nanos": 0, @@ -154819,7 +159382,7 @@ }, { "guarantee": null, - "id": 8, + "id": 7, "output_schema": { "closed": true, "fields": [ @@ -154871,7 +159434,7 @@ "payload": { "NonASAP": { "Aggregate": { - "child": 7, + "child": 6, "filters": [], "having": null, "measures": [ @@ -154890,7 +159453,7 @@ }, { "guarantee": null, - "id": 9, + "id": 8, "output_schema": { "closed": true, "fields": [ @@ -154938,7 +159501,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 8, + "child": 7, "family": { "Sketch": [ { @@ -154982,7 +159545,7 @@ }, { "guarantee": null, - "id": 10, + "id": 9, "output_schema": { "closed": true, "fields": [ @@ -155031,20 +159594,20 @@ "k": 10 } }, - "summary_input": 9 + "summary_input": 8 } } } } ], "roots": [ - 5, - 10 + 4, + 9 ] }, - "from_logical": "L37", - "id": "P37", - "label": "Q1 exact (Sum acc, Rate acc) · Q2 CMS+heap" + "from_logical": "L26", + "id": "P26", + "label": "Q1 exact (Sum acc) · Q2 CMS+heap" }, { "dag": { @@ -155162,7 +159725,7 @@ { "consumer": 3, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -155179,12 +159742,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -155219,6 +159779,47 @@ }, { "consumer": 4, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -155268,20 +159869,36 @@ ] ] }, - "producer": 3, + "producer": 5, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 7, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -155290,6 +159907,45 @@ "nullable": true, "table": null }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, { "dtype": { "ExactAggregate": [ @@ -155300,21 +159956,38 @@ "name": "state", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 4, + "producer": 7, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 9, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -155364,180 +160037,12 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 8, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 7, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 9, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, "producer": 8, "role": "Input", "window": "NotApplicable" }, { "consumer": 10, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 9, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 11, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -155583,7 +160088,7 @@ ] ] }, - "producer": 10, + "producer": 9, "role": "Input", "window": "NotApplicable" } @@ -155777,12 +160282,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -155812,30 +160314,23 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { + "NonASAP": { + "Aggregate": { "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" } - }, + ], + "output_names": [ + "" + ], "reduction": "PerEntity" } } @@ -155844,65 +160339,6 @@ { "guarantee": null, "id": 3, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - } - }, - { - "guarantee": null, - "id": 4, "output_schema": { "closed": true, "fields": [ @@ -155940,7 +160376,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 3, + "child": 2, "family": { "ExactAggregate": [ "Sum", @@ -155969,7 +160405,7 @@ }, { "guarantee": null, - "id": 5, + "id": 4, "output_schema": { "closed": true, "fields": [ @@ -156004,14 +160440,14 @@ "payload": { "ASAP": { "FinalizeExactAccumulator": { - "child": 4 + "child": 3 } } } }, { "guarantee": null, - "id": 6, + "id": 5, "output_schema": { "closed": true, "fields": [ @@ -156119,7 +160555,7 @@ }, { "guarantee": null, - "id": 7, + "id": 6, "output_schema": { "closed": true, "fields": [ @@ -156171,7 +160607,7 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 6, + "child": 5, "kind": "range", "range": { "nanos": 0, @@ -156183,7 +160619,7 @@ }, { "guarantee": null, - "id": 8, + "id": 7, "output_schema": { "closed": true, "fields": [ @@ -156238,7 +160674,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 7, + "child": 6, "family": { "ExactAggregate": [ "Sum", @@ -156263,7 +160699,7 @@ }, { "guarantee": null, - "id": 9, + "id": 8, "output_schema": { "closed": true, "fields": [ @@ -156315,14 +160751,14 @@ "payload": { "ASAP": { "FinalizeExactAccumulator": { - "child": 8 + "child": 7 } } } }, { "guarantee": null, - "id": 10, + "id": 9, "output_schema": { "closed": true, "fields": [ @@ -156370,7 +160806,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 9, + "child": 8, "family": { "Sketch": [ { @@ -156414,7 +160850,7 @@ }, { "guarantee": null, - "id": 11, + "id": 10, "output_schema": { "closed": true, "fields": [ @@ -156463,20 +160899,20 @@ "k": 10 } }, - "summary_input": 10 + "summary_input": 9 } } } } ], "roots": [ - 5, - 11 + 4, + 10 ] }, - "from_logical": "L38", - "id": "P38", - "label": "Q1 exact (Sum acc, Rate acc) · Q2 CMS+heap (Sum acc)" + "from_logical": "L27", + "id": "P27", + "label": "Q1 exact (Sum acc) · Q2 CMS+heap (Sum acc)" }, { "dag": { @@ -156594,7 +161030,7 @@ { "consumer": 3, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -156611,12 +161047,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -156652,29 +161085,13 @@ { "consumer": 4, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -156685,17 +161102,19 @@ }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -156705,15 +161124,31 @@ "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 6, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -156724,24 +161159,22 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 4, + "producer": 5, "role": "Input", "window": "NotApplicable" }, @@ -156906,7 +161339,7 @@ ] ] }, - "producer": 8, + "producer": 5, "role": "Input", "window": "NotApplicable" }, @@ -156961,7 +161394,7 @@ ] ] }, - "producer": 6, + "producer": 9, "role": "Input", "window": "NotApplicable" }, @@ -157071,7 +161504,7 @@ ] ] }, - "producer": 11, + "producer": 5, "role": "Input", "window": "NotApplicable" }, @@ -157126,7 +161559,7 @@ ] ] }, - "producer": 6, + "producer": 12, "role": "Input", "window": "NotApplicable" }, @@ -157236,7 +161669,7 @@ ] ] }, - "producer": 14, + "producer": 5, "role": "Input", "window": "NotApplicable" }, @@ -157291,7 +161724,7 @@ ] ] }, - "producer": 6, + "producer": 15, "role": "Input", "window": "NotApplicable" }, @@ -157401,7 +161834,7 @@ ] ] }, - "producer": 17, + "producer": 5, "role": "Input", "window": "NotApplicable" }, @@ -157456,7 +161889,7 @@ ] ] }, - "producer": 6, + "producer": 18, "role": "Input", "window": "NotApplicable" }, @@ -157566,7 +161999,7 @@ ] ] }, - "producer": 20, + "producer": 5, "role": "Input", "window": "NotApplicable" }, @@ -157621,7 +162054,7 @@ ] ] }, - "producer": 6, + "producer": 21, "role": "Input", "window": "NotApplicable" }, @@ -157683,7 +162116,7 @@ { "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -157700,9 +162133,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -157731,12 +162167,12 @@ ] ] }, - "producer": 23, + "producer": 8, "role": "Input", "window": "NotApplicable" }, { - "consumer": 25, + "consumer": 24, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -157789,12 +162225,12 @@ ] ] }, - "producer": 9, + "producer": 11, "role": "Input", "window": "NotApplicable" }, { - "consumer": 25, + "consumer": 24, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -157847,12 +162283,12 @@ ] ] }, - "producer": 12, + "producer": 14, "role": "Input", "window": "NotApplicable" }, { - "consumer": 25, + "consumer": 24, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -157905,12 +162341,12 @@ ] ] }, - "producer": 15, + "producer": 17, "role": "Input", "window": "NotApplicable" }, { - "consumer": 25, + "consumer": 24, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -157963,12 +162399,12 @@ ] ] }, - "producer": 18, + "producer": 20, "role": "Input", "window": "NotApplicable" }, { - "consumer": 25, + "consumer": 24, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -158021,7 +162457,7 @@ ] ] }, - "producer": 21, + "producer": 23, "role": "Input", "window": "NotApplicable" }, @@ -158086,7 +162522,7 @@ { "consumer": 26, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -158103,171 +162539,113 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 27, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" ] }, "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 25, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 27, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 26, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 28, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "producer": 27, - "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ - { - "guarantee": null, - "id": 0, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 26, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", "nullable": false, "table": null }, @@ -158437,12 +162815,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -158472,30 +162847,23 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { + "NonASAP": { + "Aggregate": { "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" } - }, + ], + "output_names": [ + "" + ], "reduction": "PerEntity" } } @@ -158504,65 +162872,6 @@ { "guarantee": null, "id": 3, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - } - }, - { - "guarantee": null, - "id": 4, "output_schema": { "closed": true, "fields": [ @@ -158600,7 +162909,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 3, + "child": 2, "family": { "ExactAggregate": [ "Sum", @@ -158629,7 +162938,7 @@ }, { "guarantee": null, - "id": 5, + "id": 4, "output_schema": { "closed": true, "fields": [ @@ -158664,14 +162973,14 @@ "payload": { "ASAP": { "FinalizeExactAccumulator": { - "child": 4 + "child": 3 } } } }, { "guarantee": null, - "id": 6, + "id": 5, "output_schema": { "closed": true, "fields": [ @@ -158779,7 +163088,7 @@ }, { "guarantee": null, - "id": 7, + "id": 6, "output_schema": { "closed": true, "fields": [ @@ -158831,7 +163140,7 @@ "payload": { "NonASAP": { "TimeShift": { - "child": 6, + "child": 5, "shift": { "at": null, "offset_ms": 0 @@ -158842,7 +163151,7 @@ }, { "guarantee": null, - "id": 8, + "id": 7, "output_schema": { "closed": true, "fields": [ @@ -158894,7 +163203,7 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 7, + "child": 6, "kind": "range", "range": { "nanos": 0, @@ -158906,7 +163215,7 @@ }, { "guarantee": null, - "id": 9, + "id": 8, "output_schema": { "closed": true, "fields": [ @@ -158961,7 +163270,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 8, + "child": 7, "family": { "ExactAggregate": [ "Sum", @@ -158986,7 +163295,7 @@ }, { "guarantee": null, - "id": 10, + "id": 9, "output_schema": { "closed": true, "fields": [ @@ -159038,7 +163347,7 @@ "payload": { "NonASAP": { "TimeShift": { - "child": 6, + "child": 5, "shift": { "at": null, "offset_ms": 10000 @@ -159049,7 +163358,7 @@ }, { "guarantee": null, - "id": 11, + "id": 10, "output_schema": { "closed": true, "fields": [ @@ -159101,7 +163410,7 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 10, + "child": 9, "kind": "range", "range": { "nanos": 0, @@ -159113,7 +163422,7 @@ }, { "guarantee": null, - "id": 12, + "id": 11, "output_schema": { "closed": true, "fields": [ @@ -159168,7 +163477,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 11, + "child": 10, "family": { "ExactAggregate": [ "Sum", @@ -159193,7 +163502,7 @@ }, { "guarantee": null, - "id": 13, + "id": 12, "output_schema": { "closed": true, "fields": [ @@ -159245,7 +163554,7 @@ "payload": { "NonASAP": { "TimeShift": { - "child": 6, + "child": 5, "shift": { "at": null, "offset_ms": 20000 @@ -159256,7 +163565,7 @@ }, { "guarantee": null, - "id": 14, + "id": 13, "output_schema": { "closed": true, "fields": [ @@ -159308,7 +163617,7 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 13, + "child": 12, "kind": "range", "range": { "nanos": 0, @@ -159320,7 +163629,7 @@ }, { "guarantee": null, - "id": 15, + "id": 14, "output_schema": { "closed": true, "fields": [ @@ -159375,7 +163684,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 14, + "child": 13, "family": { "ExactAggregate": [ "Sum", @@ -159400,7 +163709,7 @@ }, { "guarantee": null, - "id": 16, + "id": 15, "output_schema": { "closed": true, "fields": [ @@ -159452,7 +163761,7 @@ "payload": { "NonASAP": { "TimeShift": { - "child": 6, + "child": 5, "shift": { "at": null, "offset_ms": 30000 @@ -159463,7 +163772,7 @@ }, { "guarantee": null, - "id": 17, + "id": 16, "output_schema": { "closed": true, "fields": [ @@ -159515,7 +163824,7 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 16, + "child": 15, "kind": "range", "range": { "nanos": 0, @@ -159527,7 +163836,7 @@ }, { "guarantee": null, - "id": 18, + "id": 17, "output_schema": { "closed": true, "fields": [ @@ -159582,7 +163891,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 17, + "child": 16, "family": { "ExactAggregate": [ "Sum", @@ -159607,7 +163916,7 @@ }, { "guarantee": null, - "id": 19, + "id": 18, "output_schema": { "closed": true, "fields": [ @@ -159659,7 +163968,7 @@ "payload": { "NonASAP": { "TimeShift": { - "child": 6, + "child": 5, "shift": { "at": null, "offset_ms": 40000 @@ -159670,214 +163979,7 @@ }, { "guarantee": null, - "id": 20, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 19, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 21, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 20, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 22, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 6, - "shift": { - "at": null, - "offset_ms": 50000 - } - } - } - } - }, - { - "guarantee": null, - "id": 23, + "id": 19, "output_schema": { "closed": true, "fields": [ @@ -159929,7 +164031,7 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 22, + "child": 18, "kind": "range", "range": { "nanos": 0, @@ -159941,7 +164043,7 @@ }, { "guarantee": null, - "id": 24, + "id": 20, "output_schema": { "closed": true, "fields": [ @@ -159996,7 +164098,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 23, + "child": 19, "family": { "ExactAggregate": [ "Sum", @@ -160021,7 +164123,214 @@ }, { "guarantee": null, - "id": 25, + "id": 21, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 21, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 22, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 24, "output_schema": { "closed": true, "fields": [ @@ -160077,12 +164386,12 @@ "ASAP": { "SummaryMerge": { "children": [ - 9, - 12, - 15, - 18, - 21, - 24 + 8, + 11, + 14, + 17, + 20, + 23 ] } } @@ -160090,7 +164399,7 @@ }, { "guarantee": null, - "id": 26, + "id": 25, "output_schema": { "closed": true, "fields": [ @@ -160142,14 +164451,14 @@ "payload": { "ASAP": { "FinalizeExactAccumulator": { - "child": 25 + "child": 24 } } } }, { "guarantee": null, - "id": 27, + "id": 26, "output_schema": { "closed": true, "fields": [ @@ -160197,7 +164506,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 26, + "child": 25, "family": { "Sketch": [ { @@ -160241,7 +164550,7 @@ }, { "guarantee": null, - "id": 28, + "id": 27, "output_schema": { "closed": true, "fields": [ @@ -160290,20 +164599,20 @@ "k": 10 } }, - "summary_input": 27 + "summary_input": 26 } } } } ], "roots": [ - 5, - 28 + 4, + 27 ] }, - "from_logical": "L39", - "id": "P39", - "label": "Q1 exact (Sum acc, Rate acc) · Q2 CMS+heap (Sum acc · tumbling 10s panes)" + "from_logical": "L28", + "id": "P28", + "label": "Q1 exact (Sum acc) · Q2 CMS+heap (Sum acc · tumbling 10s panes)" }, { "dag": { @@ -160420,64 +164729,6 @@ }, { "consumer": 3, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -160527,12 +164778,12 @@ ] ] }, - "producer": 3, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 4, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -160568,15 +164819,15 @@ ] ] }, - "producer": 4, + "producer": 3, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 6, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -160623,15 +164874,15 @@ ] ] }, - "producer": 6, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 8, + "consumer": 7, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -160678,15 +164929,15 @@ ] ] }, - "producer": 7, + "producer": 6, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 9, + "consumer": 8, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -160733,20 +164984,36 @@ ] ] }, - "producer": 8, + "producer": 7, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 10, + "consumer": 9, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -160757,43 +165024,33 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 9, + "producer": 5, "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -160837,71 +165094,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } + "producer": 9, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 1, - "output_schema": { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -160945,27 +165149,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } + "producer": 10, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 2, - "output_schema": { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -160978,12 +165173,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -161012,40 +165204,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 3, - "output_schema": { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -161089,24 +165259,36 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - } + "producer": 12, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 4, - "output_schema": { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -161117,63 +165299,51 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 3, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } + "producer": 13, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 5, - "output_schema": { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -161184,36 +165354,33 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 - } - } - } + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 6, - "output_schema": { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -161257,71 +165424,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } + "producer": 15, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 7, - "output_schema": { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -161365,27 +165479,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 6, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } + "producer": 16, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 8, - "output_schema": { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -161429,36 +165534,36 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 7, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 9, - "output_schema": { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -161469,88 +165574,51 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 8, - "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } + "producer": 18, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 10, - "output_schema": { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -161566,6 +165634,37 @@ "name": "$promql_series_identity", "nullable": false, "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 19, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null }, { "dtype": { @@ -161574,51 +165673,41 @@ "name": "value", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 9 - } - } - } - } - ], - "roots": [ - 5, - 10 - ] - }, - "from_logical": "L40", - "id": "P40", - "label": "Q1 exact (Sum acc, Rate acc) · Q2 CountSketch+heap" - }, - { - "dag": { - "edges": [ + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, { - "consumer": 1, + "consumer": 22, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -161665,15 +165754,15 @@ ] ] }, - "producer": 0, + "producer": 21, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 2, + "consumer": 23, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -161720,15 +165809,15 @@ ] ] }, - "producer": 1, + "producer": 22, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 3, + "consumer": 24, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -161745,8 +165834,8 @@ { "dtype": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "name": "state", @@ -161778,15 +165867,15 @@ ] ] }, - "producer": 2, + "producer": 8, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 24, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -161802,9 +165891,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -161833,20 +165925,39 @@ ] ] }, - "producer": 3, + "producer": 11, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 24, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -161855,6 +165966,45 @@ "nullable": true, "table": null }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 14, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, { "dtype": { "ExactAggregate": [ @@ -161865,24 +166015,41 @@ "name": "state", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 4, + "producer": 17, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 24, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -161898,9 +166065,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -161929,15 +166099,15 @@ ] ] }, - "producer": 6, + "producer": 20, "role": "Input", "window": "NotApplicable" }, { - "consumer": 8, + "consumer": 24, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -161953,9 +166123,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -161984,12 +166157,12 @@ ] ] }, - "producer": 7, + "producer": 23, "role": "Input", "window": "NotApplicable" }, { - "consumer": 9, + "consumer": 25, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -162042,12 +166215,12 @@ ] ] }, - "producer": 8, + "producer": 24, "role": "Input", "window": "NotApplicable" }, { - "consumer": 10, + "consumer": 26, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -162097,12 +166270,12 @@ ] ] }, - "producer": 9, + "producer": 25, "role": "Input", "window": "NotApplicable" }, { - "consumer": 11, + "consumer": 27, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -162123,13 +166296,13 @@ "dtype": { "Sketch": [ { - "algorithm": "CountSketchWithHeap", + "algorithm": "CmsWithHeap", "category": "TopK", "params": { - "CountSketchWithHeap": { - "depth": 125, + "CmsWithHeap": { + "depth": 7, "heap_size": 100, - "width": 30000 + "width": 272 } } }, @@ -162148,7 +166321,7 @@ ] ] }, - "producer": 10, + "producer": 26, "role": "Input", "window": "NotApplicable" } @@ -162342,12 +166515,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -162377,30 +166547,23 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { + "NonASAP": { + "Aggregate": { "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" } - }, + ], + "output_names": [ + "" + ], "reduction": "PerEntity" } } @@ -162409,65 +166572,6 @@ { "guarantee": null, "id": 3, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - } - }, - { - "guarantee": null, - "id": 4, "output_schema": { "closed": true, "fields": [ @@ -162505,7 +166609,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 3, + "child": 2, "family": { "ExactAggregate": [ "Sum", @@ -162534,7 +166638,7 @@ }, { "guarantee": null, - "id": 5, + "id": 4, "output_schema": { "closed": true, "fields": [ @@ -162569,14 +166673,14 @@ "payload": { "ASAP": { "FinalizeExactAccumulator": { - "child": 4 + "child": 3 } } } }, { "guarantee": null, - "id": 6, + "id": 5, "output_schema": { "closed": true, "fields": [ @@ -162623,7 +166727,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -162682,6 +166786,69 @@ } } }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, { "guarantee": null, "id": 7, @@ -162731,7 +166898,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -162740,7 +166907,7 @@ "kind": "range", "range": { "nanos": 0, - "secs": 60 + "secs": 10 } } } @@ -162798,7 +166965,7 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { @@ -162875,12 +167042,16 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 8 + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 10000 + } } } } @@ -162891,6 +167062,22 @@ "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -162901,77 +167088,33 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "payload": { - "ASAP": { - "SummaryAgg": { + "NonASAP": { + "TimeRange": { "child": 9, - "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 } } } @@ -162985,75 +167128,82 @@ "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, "output_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "payload": { "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 + "SummaryAgg": { + "child": 10, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } }, - "summary_input": 10 + "reduction": "PerEntity" } } } - } - ], - "roots": [ - 5, - 11 - ] - }, - "from_logical": "L41", - "id": "P41", - "label": "Q1 exact (Sum acc, Rate acc) · Q2 CountSketch+heap (Sum acc)" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 12, + "output_schema": { "closed": true, "fields": [ { @@ -163097,18 +167247,26 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 2, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { "closed": true, "fields": [ { @@ -163152,18 +167310,27 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 12, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } }, { - "consumer": 3, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 14, + "output_schema": { "closed": true, "fields": [ { @@ -163177,8 +167344,8 @@ { "dtype": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "name": "state", @@ -163210,18 +167377,40 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 13, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 4, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 15, + "output_schema": { "closed": true, "fields": [ { @@ -163265,59 +167454,26 @@ ] ] }, - "producer": 3, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 5, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 30000 + } } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" + } + } }, { - "consumer": 7, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 16, + "output_schema": { "closed": true, "fields": [ { @@ -163361,18 +167517,27 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 8, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 15, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { "closed": true, "fields": [ { @@ -163385,9 +167550,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -163416,18 +167584,40 @@ ] ] }, - "producer": 7, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 16, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 9, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 18, + "output_schema": { "closed": true, "fields": [ { @@ -163471,18 +167661,26 @@ ] ] }, - "producer": 8, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 10, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { "closed": true, "fields": [ { @@ -163526,18 +167724,27 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 11, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 18, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { "closed": true, "fields": [ { @@ -163550,9 +167757,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -163581,18 +167791,40 @@ ] ] }, - "producer": 10, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 19, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 12, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 21, + "output_schema": { "closed": true, "fields": [ { @@ -163636,18 +167868,26 @@ ] ] }, - "producer": 11, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 13, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { "closed": true, "fields": [ { @@ -163691,18 +167931,27 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 14, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 21, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { "closed": true, "fields": [ { @@ -163715,9 +167964,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -163746,18 +167998,40 @@ ] ] }, - "producer": 13, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 22, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 15, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 24, + "output_schema": { "closed": true, "fields": [ { @@ -163770,9 +168044,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -163801,18 +168078,29 @@ ] ] }, - "producer": 14, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 16, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 8, + 11, + 14, + 17, + 20, + 23 + ] + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { "closed": true, "fields": [ { @@ -163856,36 +168144,116 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 17, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 24 + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { - "Plain": "float64" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null - }, + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 25, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 27, + "output_schema": { + "closed": true, + "fields": [ { "dtype": { "Plain": "utf8" @@ -163901,22 +168269,56 @@ "name": "$promql_series_identity", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, - "producer": 16, - "role": "Input", - "window": "NotApplicable" - }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 26 + } + } + } + } + ], + "roots": [ + 4, + 27 + ] + }, + "from_logical": "L28", + "id": "P28-m1", + "label": "Q1 exact (Sum acc) · Q2 CMS+heap (Sum acc · tumbling 10s panes) · ingestion time: exact Sum ×6 panes" + }, + { + "dag": { + "edges": [ { - "consumer": 18, + "consumer": 1, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -163966,12 +168368,12 @@ ] ] }, - "producer": 17, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 19, + "consumer": 2, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -164021,12 +168423,12 @@ ] ] }, - "producer": 6, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 20, + "consumer": 3, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -164076,36 +168478,20 @@ ] ] }, - "producer": 19, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 21, + "consumer": 4, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -164116,27 +168502,29 @@ }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 20, + "producer": 3, "role": "Input", "window": "NotApplicable" }, { - "consumer": 22, + "consumer": 6, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -164186,12 +168574,12 @@ ] ] }, - "producer": 6, + "producer": 5, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 7, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -164241,12 +168629,12 @@ ] ] }, - "producer": 22, + "producer": 6, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 8, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -164296,12 +168684,12 @@ ] ] }, - "producer": 23, + "producer": 7, "role": "Input", "window": "NotApplicable" }, { - "consumer": 25, + "consumer": 9, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -164310,25 +168698,6 @@ "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -164339,33 +168708,43 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 9, + "producer": 8, "role": "Input", "window": "NotApplicable" - }, + } + ], + "nodes": [ { - "consumer": 25, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 0, + "output_schema": { "closed": true, "fields": [ { @@ -164378,12 +168757,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -164412,18 +168788,71 @@ ] ] }, - "producer": 12, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 25, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { "closed": true, "fields": [ { @@ -164436,12 +168865,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -164470,18 +168896,27 @@ ] ] }, - "producer": 15, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 25, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { "closed": true, "fields": [ { @@ -164494,12 +168929,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -164528,26 +168960,41 @@ ] ] }, - "producer": 18, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 25, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { @@ -164560,7 +169007,55 @@ "name": "state", "nullable": false, "table": null - }, + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 2, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ { "dtype": { "Plain": "utf8" @@ -164571,33 +169066,36 @@ }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "sum", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 21, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 25, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 3 + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { "closed": true, "fields": [ { @@ -164610,12 +169108,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -164644,18 +169139,71 @@ ] ] }, - "producer": 24, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 26, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { "closed": true, "fields": [ { @@ -164668,12 +169216,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -164702,18 +169247,27 @@ ] ] }, - "producer": 25, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 27, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 5, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { "closed": true, "fields": [ { @@ -164757,18 +169311,34 @@ ] ] }, - "producer": 26, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 28, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Aggregate": { + "child": 6, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { "closed": true, "fields": [ { @@ -164808,16 +169378,132 @@ ] ] }, - "producer": 27, - "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 7, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, { "guarantee": null, - "id": 0, + "id": 9, "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 8 + } + } + } + } + ], + "roots": [ + 4, + 9 + ] + }, + "from_logical": "L29", + "id": "P29", + "label": "Q1 exact (Sum acc) · Q2 CountSketch+heap" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -164861,71 +169547,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } - }, - { - "guarantee": null, - "id": 1, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -164969,27 +169602,18 @@ ] ] }, - "output_state": { + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } - }, - { - "guarantee": null, - "id": 2, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -165002,12 +169626,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -165036,40 +169657,59 @@ ] ] }, - "output_state": { + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { "primitive": "SummaryState", "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" + "name": "state", + "nullable": false, + "table": null } - } - } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 3, - "output_schema": { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -165113,24 +169753,36 @@ ] ] }, - "output_state": { + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - } - }, - { - "guarantee": null, - "id": 4, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -165141,63 +169793,109 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { "primitive": "SummaryState", "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 3, - "family": { + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { "ExactAggregate": [ "Sum", "Sum" ] }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - "reduction": { - "Reduce": [ - 2 - ] - } + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 5, - "output_schema": { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -165208,35 +169906,81 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "Raw", + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null } - } - } - }, + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ { "guarantee": null, - "id": 6, + "id": 0, "output_schema": { "closed": true, "fields": [ @@ -165344,7 +170088,7 @@ }, { "guarantee": null, - "id": 7, + "id": 1, "output_schema": { "closed": true, "fields": [ @@ -165395,11 +170139,12 @@ }, "payload": { "NonASAP": { - "TimeShift": { - "child": 6, - "shift": { - "at": null, - "offset_ms": 0 + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 } } } @@ -165407,7 +170152,7 @@ }, { "guarantee": null, - "id": 8, + "id": 2, "output_schema": { "closed": true, "fields": [ @@ -165458,29 +170203,35 @@ }, "payload": { "NonASAP": { - "TimeRange": { - "child": 7, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 9, + "id": 3, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { @@ -165493,28 +170244,11 @@ "name": "state", "nullable": false, "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -165526,7 +170260,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 8, + "child": 2, "family": { "ExactAggregate": [ "Sum", @@ -165544,14 +170278,60 @@ "kind": "unknown_or_signed" } }, - "reduction": "PerEntity" + "reduction": { + "Reduce": [ + 2 + ] + } } } } }, { "guarantee": null, - "id": 10, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 3 + } + } + } + }, + { + "guarantee": null, + "id": 5, "output_schema": { "closed": true, "fields": [ @@ -165602,11 +170382,56 @@ }, "payload": { "NonASAP": { - "TimeShift": { - "child": 6, - "shift": { - "at": null, - "offset_ms": 10000 + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } } } } @@ -165614,7 +170439,7 @@ }, { "guarantee": null, - "id": 11, + "id": 6, "output_schema": { "closed": true, "fields": [ @@ -165666,11 +170491,11 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 10, + "child": 5, "kind": "range", "range": { "nanos": 0, - "secs": 10 + "secs": 60 } } } @@ -165678,7 +170503,7 @@ }, { "guarantee": null, - "id": 12, + "id": 7, "output_schema": { "closed": true, "fields": [ @@ -165733,7 +170558,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 11, + "child": 6, "family": { "ExactAggregate": [ "Sum", @@ -165758,7 +170583,7 @@ }, { "guarantee": null, - "id": 13, + "id": 8, "output_schema": { "closed": true, "fields": [ @@ -165808,76 +170633,100 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "TimeShift": { - "child": 6, - "shift": { - "at": null, - "offset_ms": 20000 - } + "ASAP": { + "FinalizeExactAccumulator": { + "child": 7 } } } }, { "guarantee": null, - "id": 14, + "id": 9, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { - "NonASAP": { - "TimeRange": { - "child": 13, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 + "ASAP": { + "SummaryAgg": { + "child": 8, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] } } } @@ -165885,88 +170734,81 @@ }, { "guarantee": null, - "id": 15, + "id": 10, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { "Plain": "utf8" }, - "name": "job", - "nullable": true, + "name": "$promql_series_identity", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "value", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { "ASAP": { - "SummaryAgg": { - "child": 14, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 } }, - "reduction": "PerEntity" + "summary_input": 9 } } } - }, + } + ], + "roots": [ + 4, + 10 + ] + }, + "from_logical": "L30", + "id": "P30", + "label": "Q1 exact (Sum acc) · Q2 CountSketch+heap (Sum acc)" + }, + { + "dag": { + "edges": [ { - "guarantee": null, - "id": 16, - "output_schema": { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -166010,26 +170852,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 6, - "shift": { - "at": null, - "offset_ms": 30000 - } - } - } - } - }, - { - "guarantee": null, - "id": 17, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -166073,27 +170907,18 @@ ] ] }, - "output_state": { + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 16, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 18, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -166106,12 +170931,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -166140,40 +170962,59 @@ ] ] }, - "output_state": { + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { "primitive": "SummaryState", "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 17, - "family": { + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { "ExactAggregate": [ "Sum", "Sum" ] }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" + "name": "state", + "nullable": false, + "table": null } - } - } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 19, - "output_schema": { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -166217,26 +171058,18 @@ ] ] }, - "output_state": { + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 6, - "shift": { - "at": null, - "offset_ms": 40000 - } - } - } - } - }, - { - "guarantee": null, - "id": 20, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -166280,27 +171113,18 @@ ] ] }, - "output_state": { + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 19, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 21, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -166313,12 +171137,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -166347,40 +171168,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 20, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 7, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 22, - "output_schema": { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -166424,26 +171223,18 @@ ] ] }, - "output_state": { + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 6, - "shift": { - "at": null, - "offset_ms": 50000 - } - } - } - } - }, - { - "guarantee": null, - "id": 23, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -166487,27 +171278,18 @@ ] ] }, - "output_state": { + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 22, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 24, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -166520,12 +171302,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -166554,40 +171333,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 23, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 10, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 25, - "output_schema": { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -166600,12 +171357,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -166634,29 +171388,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryMerge": { - "children": [ - 9, - 12, - 15, - 18, - 21, - 24 - ] - } - } - } + "producer": 5, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 26, - "output_schema": { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -166700,116 +171443,36 @@ ] ] }, - "output_state": { + "producer": 12, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 14, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 25 - } - } - } - }, - { - "guarantee": null, - "id": 27, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 26, - "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 28, - "output_schema": { - "closed": true, - "fields": [ + }, { "dtype": { "Plain": "utf8" @@ -166825,56 +171488,22 @@ "name": "$promql_series_identity", "nullable": false, "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 27 - } - } - } - } - ], - "roots": [ - 5, - 28 - ] - }, - "from_logical": "L42", - "id": "P42", - "label": "Q1 exact (Sum acc, Rate acc) · Q2 CountSketch+heap (Sum acc · tumbling 10s panes)" - }, - { - "dag": { - "edges": [ + "producer": 13, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 15, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -166924,12 +171553,12 @@ ] ] }, - "producer": 0, + "producer": 5, "role": "Input", "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 16, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -166979,14 +171608,14 @@ ] ] }, - "producer": 1, + "producer": 15, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 17, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -167003,12 +171632,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -167037,12 +171663,12 @@ ] ] }, - "producer": 2, + "producer": 16, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 18, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -167092,20 +171718,36 @@ ] ] }, - "producer": 3, + "producer": 5, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 19, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -167116,29 +171758,27 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 4, + "producer": 18, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 20, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -167188,12 +171828,12 @@ ] ] }, - "producer": 6, + "producer": 19, "role": "Input", "window": "NotApplicable" }, { - "consumer": 8, + "consumer": 21, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -167243,20 +171883,36 @@ ] ] }, - "producer": 7, + "producer": 5, "role": "Input", "window": "NotApplicable" }, { - "consumer": 9, + "consumer": 22, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -167267,43 +171923,33 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 8, + "producer": 21, "role": "Input", "window": "NotApplicable" - } - ], - "nodes": [ + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 23, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -167347,71 +171993,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } + "producer": 22, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 1, - "output_schema": { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -167424,9 +172017,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -167455,27 +172051,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } + "producer": 8, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 2, - "output_schema": { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -167489,8 +172076,8 @@ { "dtype": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "name": "state", @@ -167522,40 +172109,18 @@ ] ] }, - "output_state": { + "producer": 11, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { "primitive": "SummaryState", "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 3, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -167568,9 +172133,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -167599,30 +172167,26 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - } + "producer": 14, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 4, - "output_schema": { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { @@ -167635,55 +172199,181 @@ "name": "state", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" + "producer": 17, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 3, - "family": { + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { "ExactAggregate": [ "Sum", "Sum" ] }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" }, - "reduction": { - "Reduce": [ - 2 + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 20, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" ] - } + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 5, - "output_schema": { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -167694,35 +172384,136 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { + "producer": 24, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 26, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } - } - } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" }, + { + "consumer": 27, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 26, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ { "guarantee": null, - "id": 6, + "id": 0, "output_schema": { "closed": true, "fields": [ @@ -167830,7 +172621,7 @@ }, { "guarantee": null, - "id": 7, + "id": 1, "output_schema": { "closed": true, "fields": [ @@ -167882,7 +172673,7 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 6, + "child": 0, "kind": "range", "range": { "nanos": 0, @@ -167894,10 +172685,26 @@ }, { "guarantee": null, - "id": 8, + "id": 2, "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -167908,19 +172715,63 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" ] }, "name": "state", @@ -167942,37 +172793,22 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 7, + "child": 2, "family": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" + "ExactAggregate": [ + "Sum", + "Sum" ] }, "filter": null, "grouping": "PerSubpopulationInstance", "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, + "item": null, "weight": { "Column": "SampleValue" }, "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" + "kind": "unknown_or_signed" } }, "reduction": { @@ -167986,7 +172822,7 @@ }, { "guarantee": null, - "id": 9, + "id": 4, "output_schema": { "closed": true, "fields": [ @@ -167998,19 +172834,11 @@ "nullable": true, "table": null }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "float64" }, - "name": "value", + "name": "sum", "nullable": false, "table": null } @@ -168018,8 +172846,7 @@ "time_index": null, "unique_keys": [ [ - 0, - 1 + 0 ] ] }, @@ -168029,38 +172856,16 @@ }, "payload": { "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 8 + "FinalizeExactAccumulator": { + "child": 3 } } } - } - ], - "roots": [ - 5, - 9 - ] - }, - "from_logical": "L43", - "id": "P43", - "label": "Q1 exact (Sum acc, Rate acc) · Q2 whole-expression CMS+heap" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 5, + "output_schema": { "closed": true, "fields": [ { @@ -168104,18 +172909,71 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 2, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { "closed": true, "fields": [ { @@ -168159,18 +173017,26 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 3, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { "closed": true, "fields": [ { @@ -168183,12 +173049,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -168217,18 +173080,27 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 6, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { "closed": true, "fields": [ { @@ -168241,9 +173113,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -168272,59 +173147,40 @@ ] ] }, - "producer": 3, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 5, - "data_state": { + "output_state": { "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 7, + "family": { "ExactAggregate": [ "Sum", "Sum" ] }, - "name": "state", - "nullable": false, - "table": null + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" + } + } }, { - "consumer": 7, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 9, + "output_schema": { "closed": true, "fields": [ { @@ -168368,18 +173224,26 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 8, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { "closed": true, "fields": [ { @@ -168423,20 +173287,48 @@ ] ] }, - "producer": 7, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 9, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 9, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -168447,42 +173339,54 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 8, - "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 10, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, { "guarantee": null, - "id": 0, + "id": 12, "output_schema": { "closed": true, "fields": [ @@ -168533,56 +173437,11 @@ }, "payload": { "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 20000 } } } @@ -168590,7 +173449,7 @@ }, { "guarantee": null, - "id": 1, + "id": 13, "output_schema": { "closed": true, "fields": [ @@ -168642,11 +173501,11 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 0, + "child": 12, "kind": "range", "range": { "nanos": 0, - "secs": 60 + "secs": 10 } } } @@ -168654,7 +173513,7 @@ }, { "guarantee": null, - "id": 2, + "id": 14, "output_schema": { "closed": true, "fields": [ @@ -168669,8 +173528,8 @@ { "dtype": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "name": "state", @@ -168709,11 +173568,11 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 1, + "child": 13, "family": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "filter": null, @@ -168734,7 +173593,7 @@ }, { "guarantee": null, - "id": 3, + "id": 15, "output_schema": { "closed": true, "fields": [ @@ -168784,19 +173643,39 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 30000 + } } } } }, { "guarantee": null, - "id": 4, + "id": 16, "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -168805,6 +173684,54 @@ "nullable": true, "table": null }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 15, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, { "dtype": { "ExactAggregate": [ @@ -168815,11 +173742,28 @@ "name": "state", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] @@ -168831,7 +173775,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 3, + "child": 16, "family": { "ExactAggregate": [ "Sum", @@ -168849,21 +173793,33 @@ "kind": "unknown_or_signed" } }, - "reduction": { - "Reduce": [ - 2 - ] - } + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 5, + "id": 18, "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -168874,16 +173830,17 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] @@ -168893,16 +173850,20 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 40000 + } } } } }, { "guarantee": null, - "id": 6, + "id": 19, "output_schema": { "closed": true, "fields": [ @@ -168953,56 +173914,155 @@ }, "payload": { "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] + "TimeRange": { + "child": 18, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" ] }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 19, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 50000 } } } @@ -169010,7 +174070,7 @@ }, { "guarantee": null, - "id": 7, + "id": 22, "output_schema": { "closed": true, "fields": [ @@ -169062,11 +174122,11 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 6, + "child": 21, "kind": "range", "range": { "nanos": 0, - "secs": 60 + "secs": 10 } } } @@ -169074,7 +174134,215 @@ }, { "guarantee": null, - "id": 8, + "id": 23, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 22, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 8, + 11, + 14, + 17, + 20, + 23 + ] + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 24 + } + } + } + }, + { + "guarantee": null, + "id": 26, "output_schema": { "closed": true, "fields": [ @@ -169122,7 +174390,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 7, + "child": 25, "family": { "Sketch": [ { @@ -169166,7 +174434,7 @@ }, { "guarantee": null, - "id": 9, + "id": 27, "output_schema": { "closed": true, "fields": [ @@ -169215,20 +174483,20 @@ "k": 10 } }, - "summary_input": 8 + "summary_input": 26 } } } } ], "roots": [ - 5, - 9 + 4, + 27 ] }, - "from_logical": "L44", - "id": "P44", - "label": "Q1 exact (Sum acc, Rate acc) · Q2 whole-expression CountSketch+heap" + "from_logical": "L31", + "id": "P31", + "label": "Q1 exact (Sum acc) · Q2 CountSketch+heap (Sum acc · tumbling 10s panes)" }, { "dag": { @@ -169284,15 +174552,83266 @@ ] ] }, - "producer": 0, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 10, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 12, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 13, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 15, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 16, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 18, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 19, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 21, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 23, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 11, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 14, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 17, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 20, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 24, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 26, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 27, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 26, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 2, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 3 + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 6, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 7, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 9, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 10, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 12, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 13, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 15, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 16, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 18, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 19, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 21, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 22, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 8, + 11, + 14, + 17, + 20, + 23 + ] + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 24 + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 25, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 27, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 26 + } + } + } + } + ], + "roots": [ + 4, + 27 + ] + }, + "from_logical": "L31", + "id": "P31-m1", + "label": "Q1 exact (Sum acc) · Q2 CountSketch+heap (Sum acc · tumbling 10s panes) · ingestion time: exact Sum ×6 panes" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 2, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 3 + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 5, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 6, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 7 + } + } + } + } + ], + "roots": [ + 4, + 8 + ] + }, + "from_logical": "L32", + "id": "P32", + "label": "Q1 exact (Sum acc) · Q2 whole-expression CMS+heap" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 2, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 3 + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 5, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 6, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 7 + } + } + } + } + ], + "roots": [ + 4, + 8 + ] + }, + "from_logical": "L33", + "id": "P33", + "label": "Q1 exact (Sum acc) · Q2 whole-expression CountSketch+heap" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 6, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 7, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Sort": { + "child": 8, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], + "partition_by": [ + 2 + ] + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Limit": { + "child": 9, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] + } + } + } + } + ], + "roots": [ + 5, + 10 + ] + }, + "from_logical": "L34", + "id": "P34", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 exact" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 10, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 6, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 7, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 8 + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Sort": { + "child": 9, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], + "partition_by": [ + 2 + ] + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Limit": { + "child": 10, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] + } + } + } + } + ], + "roots": [ + 5, + 11 + ] + }, + "from_logical": "L35", + "id": "P35", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 exact (Sum acc)" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 10, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 11, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 13, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 14, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 16, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 17, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 19, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 20, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 12, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 15, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 18, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 21, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 24, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 26, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 27, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 26, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 28, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 27, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 7, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 8, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 10, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 11, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 13, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 14, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 16, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 17, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 19, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 20, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 22, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 23, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 9, + 12, + 15, + 18, + 21, + 24 + ] + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 25 + } + } + } + }, + { + "guarantee": null, + "id": 27, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Sort": { + "child": 26, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], + "partition_by": [ + 2 + ] + } + } + } + }, + { + "guarantee": null, + "id": 28, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Limit": { + "child": 27, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] + } + } + } + } + ], + "roots": [ + 5, + 28 + ] + }, + "from_logical": "L36", + "id": "P36", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 exact (Sum acc · tumbling 10s panes)" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 10, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 11, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 13, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 14, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 16, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 17, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 19, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 20, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 23, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 24, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 12, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 15, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 18, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 21, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 24, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 26, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 27, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 26, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 28, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 27, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 7, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 8, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 10, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 11, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 13, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 14, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 16, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 17, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 19, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 20, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 22, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 23, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 9, + 12, + 15, + 18, + 21, + 24 + ] + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 25 + } + } + } + }, + { + "guarantee": null, + "id": 27, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Sort": { + "child": 26, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], + "partition_by": [ + 2 + ] + } + } + } + }, + { + "guarantee": null, + "id": 28, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Limit": { + "child": 27, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] + } + } + } + } + ], + "roots": [ + 5, + 28 + ] + }, + "from_logical": "L36", + "id": "P36-m1", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 exact (Sum acc · tumbling 10s panes) · ingestion time: exact Sum ×6 panes" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 6, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 7, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 8, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 9 + } + } + } + } + ], + "roots": [ + 5, + 10 + ] + }, + "from_logical": "L37", + "id": "P37", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 CMS+heap" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 10, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 6, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 7, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 8 + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 9, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 10 + } + } + } + } + ], + "roots": [ + 5, + 11 + ] + }, + "from_logical": "L38", + "id": "P38", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 CMS+heap (Sum acc)" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 10, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 11, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 13, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 14, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 16, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 17, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 19, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 20, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 12, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 15, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 18, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 21, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 24, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 26, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 27, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 26, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 28, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 27, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 7, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 8, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 10, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 11, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 13, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 14, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 16, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 17, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 19, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 20, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 22, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 23, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 9, + 12, + 15, + 18, + 21, + 24 + ] + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 25 + } + } + } + }, + { + "guarantee": null, + "id": 27, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 26, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 28, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 27 + } + } + } + } + ], + "roots": [ + 5, + 28 + ] + }, + "from_logical": "L39", + "id": "P39", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 CMS+heap (Sum acc · tumbling 10s panes)" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 10, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 11, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 13, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 14, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 16, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 17, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 19, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 20, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 23, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 24, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 12, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 15, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 18, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 21, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 24, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 26, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 27, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 26, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 28, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 27, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 7, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 8, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 10, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 11, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 13, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 14, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 16, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 17, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 19, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 20, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 22, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 23, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 9, + 12, + 15, + 18, + 21, + 24 + ] + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 25 + } + } + } + }, + { + "guarantee": null, + "id": 27, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 26, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 28, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 27 + } + } + } + } + ], + "roots": [ + 5, + 28 + ] + }, + "from_logical": "L39", + "id": "P39-m1", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 CMS+heap (Sum acc · tumbling 10s panes) · ingestion time: exact Sum ×6 panes" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 6, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 7, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 8, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 9 + } + } + } + } + ], + "roots": [ + 5, + 10 + ] + }, + "from_logical": "L40", + "id": "P40", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 CountSketch+heap" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 10, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 6, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 7, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 8 + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 9, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 10 + } + } + } + } + ], + "roots": [ + 5, + 11 + ] + }, + "from_logical": "L41", + "id": "P41", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 CountSketch+heap (Sum acc)" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 10, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 11, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 13, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 14, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 16, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 17, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 19, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 20, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 12, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 15, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 18, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 21, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 24, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 26, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 27, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 26, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 28, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 27, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 7, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 8, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 10, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 11, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 13, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 14, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 16, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 17, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 19, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 20, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 22, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 23, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 9, + 12, + 15, + 18, + 21, + 24 + ] + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 25 + } + } + } + }, + { + "guarantee": null, + "id": 27, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 26, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 28, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 27 + } + } + } + } + ], + "roots": [ + 5, + 28 + ] + }, + "from_logical": "L42", + "id": "P42", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 CountSketch+heap (Sum acc · tumbling 10s panes)" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 10, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 11, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 13, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 14, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 16, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 17, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 19, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 20, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 23, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 24, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 12, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 15, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 18, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 21, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 24, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 26, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 27, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 26, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 28, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 27, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 7, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 8, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 10, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 11, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 13, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 14, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 16, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 17, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 19, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 20, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 22, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 23, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 9, + 12, + 15, + 18, + 21, + 24 + ] + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 25 + } + } + } + }, + { + "guarantee": null, + "id": 27, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 26, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 28, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 27 + } + } + } + } + ], + "roots": [ + 5, + 28 + ] + }, + "from_logical": "L42", + "id": "P42-m1", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 CountSketch+heap (Sum acc · tumbling 10s panes) · ingestion time: exact Sum ×6 panes" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 6, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 7, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 8 + } + } + } + } + ], + "roots": [ + 5, + 9 + ] + }, + "from_logical": "L43", + "id": "P43", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 whole-expression CMS+heap" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 6, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 7, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 8 + } + } + } + } + ], + "roots": [ + 5, + 9 + ] + }, + "from_logical": "L44", + "id": "P44", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 whole-expression CountSketch+heap" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Sort": { + "child": 4, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], + "partition_by": [ + 2 + ] + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Limit": { + "child": 5, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] + } + } + } + } + ], + "roots": [ + 3, + 6 + ] + }, + "from_logical": "L45", + "id": "P45", + "label": "Q1 exact · Q2 exact · shared input" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Sort": { + "child": 5, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], + "partition_by": [ + 2 + ] + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Limit": { + "child": 6, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] + } + } + } + } + ], + "roots": [ + 3, + 7 + ] + }, + "from_logical": "L46", + "id": "P46", + "label": "Q1 exact · Q2 exact (Sum acc) · shared input" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 10, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 11, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 13, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 14, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 16, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 17, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 19, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 20, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 12, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 15, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 18, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 21, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 24, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 4, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 5, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 7, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 8, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 10, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 11, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 13, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 14, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 16, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 17, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 19, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 20, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 6, + 9, + 12, + 15, + 18, + 21 + ] + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 22 + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Sort": { + "child": 23, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], + "partition_by": [ + 2 + ] + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Limit": { + "child": 24, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] + } + } + } + } + ], + "roots": [ + 3, + 25 + ] + }, + "from_logical": "L47", + "id": "P47", + "label": "Q1 exact · Q2 exact (Sum acc · tumbling 10s panes) · shared input" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 11, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 12, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 14, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 15, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 17, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 18, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 20, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 21, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 10, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 13, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 16, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 19, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 24, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 26, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 5, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 6, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 8, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 9, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 11, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 12, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 14, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 15, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 17, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 18, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 20, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 21, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 7, + 10, + 13, + 16, + 19, + 22 + ] + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 23 + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Sort": { + "child": 24, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], + "partition_by": [ + 2 + ] + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Limit": { + "child": 25, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] + } + } + } + } + ], + "roots": [ + 3, + 26 + ] + }, + "from_logical": "L47", + "id": "P47-m1", + "label": "Q1 exact · Q2 exact (Sum acc · tumbling 10s panes) · shared input · ingestion time: exact Sum ×6 panes" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 4, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 5 + } + } + } + } + ], + "roots": [ + 3, + 6 + ] + }, + "from_logical": "L48", + "id": "P48", + "label": "Q1 exact · Q2 CMS+heap · shared input" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 5, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 6 + } + } + } + } + ], + "roots": [ + 3, + 7 + ] + }, + "from_logical": "L49", + "id": "P49", + "label": "Q1 exact · Q2 CMS+heap (Sum acc) · shared input" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 10, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 11, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 13, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 14, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 16, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 17, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 19, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 20, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 12, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 15, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 18, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 21, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 24, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 4, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 5, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 7, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 8, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 10, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 11, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 13, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 14, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 16, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 17, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 19, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 20, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 6, + 9, + 12, + 15, + 18, + 21 + ] + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 22 + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 23, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 24 + } + } + } + } + ], + "roots": [ + 3, + 25 + ] + }, + "from_logical": "L50", + "id": "P50", + "label": "Q1 exact · Q2 CMS+heap (Sum acc · tumbling 10s panes) · shared input" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 11, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 12, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 14, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 15, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 17, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 18, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 20, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 21, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 10, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 13, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 16, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 19, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 24, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 26, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 5, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 6, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 8, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 9, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 11, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 12, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 14, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 15, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 17, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 18, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 20, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 21, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 7, + 10, + 13, + 16, + 19, + 22 + ] + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 23 + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 24, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 25 + } + } + } + } + ], + "roots": [ + 3, + 26 + ] + }, + "from_logical": "L50", + "id": "P50-m1", + "label": "Q1 exact · Q2 CMS+heap (Sum acc · tumbling 10s panes) · shared input · ingestion time: exact Sum ×6 panes" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 4, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 5 + } + } + } + } + ], + "roots": [ + 3, + 6 + ] + }, + "from_logical": "L51", + "id": "P51", + "label": "Q1 exact · Q2 CountSketch+heap · shared input" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 5, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 6 + } + } + } + } + ], + "roots": [ + 3, + 7 + ] + }, + "from_logical": "L52", + "id": "P52", + "label": "Q1 exact · Q2 CountSketch+heap (Sum acc) · shared input" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 10, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 11, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 13, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 14, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 16, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 17, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 19, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 20, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 12, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 15, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 18, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 21, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 24, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 4, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 5, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 7, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 8, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 10, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 11, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 13, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 14, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 16, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 17, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 19, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 20, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 6, + 9, + 12, + 15, + 18, + 21 + ] + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 22 + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 23, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 24 + } + } + } + } + ], + "roots": [ + 3, + 25 + ] + }, + "from_logical": "L53", + "id": "P53", + "label": "Q1 exact · Q2 CountSketch+heap (Sum acc · tumbling 10s panes) · shared input" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 11, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 12, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 14, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 15, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 17, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 18, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 20, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 21, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 10, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 13, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 16, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 19, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 24, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 26, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 5, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 6, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 8, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 9, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 11, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 12, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 14, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 15, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 17, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 18, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 4, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 20, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 21, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 7, + 10, + 13, + 16, + 19, + 22 + ] + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 23 + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 24, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 25 + } + } + } + } + ], + "roots": [ + 3, + 26 + ] + }, + "from_logical": "L53", + "id": "P53-m1", + "label": "Q1 exact · Q2 CountSketch+heap (Sum acc · tumbling 10s panes) · shared input · ingestion time: exact Sum ×6 panes" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 4 + } + } + } + } + ], + "roots": [ + 3, + 5 + ] + }, + "from_logical": "L54", + "id": "P54", + "label": "Q1 exact · Q2 whole-expression CMS+heap · shared input" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 2, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 4 + } + } + } + } + ], + "roots": [ + 3, + 5 + ] + }, + "from_logical": "L55", + "id": "P55", + "label": "Q1 exact · Q2 whole-expression CountSketch+heap · shared input" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Sort": { + "child": 5, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], + "partition_by": [ + 2 + ] + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Limit": { + "child": 6, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] + } + } + } + } + ], + "roots": [ + 4, + 7 + ] + }, + "from_logical": "L56", + "id": "P56", + "label": "Q1 exact (Rate acc) · Q2 exact · shared input" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 5 + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Sort": { + "child": 6, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], + "partition_by": [ + 2 + ] + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Limit": { + "child": 7, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] + } + } + } + } + ], + "roots": [ + 4, + 8 + ] + }, + "from_logical": "L57", + "id": "P57", + "label": "Q1 exact (Rate acc) · Q2 exact (Sum acc) · shared input" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 11, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 12, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 14, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 15, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 17, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 18, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 20, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 21, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 10, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 13, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 16, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 19, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 24, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 26, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 5, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 6, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 8, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 9, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 11, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 12, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 14, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 15, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 17, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 18, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 20, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 21, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 7, + 10, + 13, + 16, + 19, + 22 + ] + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 23 + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Sort": { + "child": 24, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], + "partition_by": [ + 2 + ] + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Limit": { + "child": 25, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] + } + } + } + } + ], + "roots": [ + 4, + 26 + ] + }, + "from_logical": "L58", + "id": "P58", + "label": "Q1 exact (Rate acc) · Q2 exact (Sum acc · tumbling 10s panes) · shared input" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 10, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 12, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 13, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 15, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 16, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 18, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 19, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 21, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 23, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 11, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 14, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 17, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 20, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 24, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 26, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 27, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 26, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 6, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 7, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 9, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 10, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 12, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 13, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 15, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 16, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 18, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 19, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 21, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 22, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 8, + 11, + 14, + 17, + 20, + 23 + ] + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 24 + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Sort": { + "child": 25, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], + "partition_by": [ + 2 + ] + } + } + } + }, + { + "guarantee": null, + "id": 27, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Limit": { + "child": 26, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] + } + } + } + } + ], + "roots": [ + 4, + 27 + ] + }, + "from_logical": "L58", + "id": "P58-m1", + "label": "Q1 exact (Rate acc) · Q2 exact (Sum acc · tumbling 10s panes) · shared input · ingestion time: exact Sum ×6 panes" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 5, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 6 + } + } + } + } + ], + "roots": [ + 4, + 7 + ] + }, + "from_logical": "L59", + "id": "P59", + "label": "Q1 exact (Rate acc) · Q2 CMS+heap · shared input" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 5 + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 6, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 7 + } + } + } + } + ], + "roots": [ + 4, + 8 + ] + }, + "from_logical": "L60", + "id": "P60", + "label": "Q1 exact (Rate acc) · Q2 CMS+heap (Sum acc) · shared input" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 11, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 12, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 14, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 15, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 17, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 18, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 20, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 21, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 10, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 13, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 16, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 19, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 25, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 24, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 26, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 5, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 6, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 8, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 9, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 11, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 12, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 14, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 15, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 17, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 18, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 20, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 21, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 7, + 10, + 13, + 16, + 19, + 22 + ] + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 23 + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 24, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 25 + } + } + } + } + ], + "roots": [ + 4, + 26 + ] + }, + "from_logical": "L61", + "id": "P61", + "label": "Q1 exact (Rate acc) · Q2 CMS+heap (Sum acc · tumbling 10s panes) · shared input" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 9, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 10, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 2, + "consumer": 12, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -169339,15 +257858,15 @@ ] ] }, - "producer": 1, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 3, + "consumer": 13, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -169394,15 +257913,15 @@ ] ] }, - "producer": 2, + "producer": 12, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 4, + "consumer": 14, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -169449,15 +257968,15 @@ ] ] }, - "producer": 1, + "producer": 13, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 5, + "consumer": 15, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -169504,15 +258023,15 @@ ] ] }, - "producer": 4, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 6, + "consumer": 16, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -169559,16 +258078,18 @@ ] ] }, - "producer": 5, + "producer": 15, "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -169612,71 +258133,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } + "producer": 16, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 1, - "output_schema": { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -169720,27 +258188,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 2, - "output_schema": { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -169784,35 +258243,36 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } + "producer": 18, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 3, - "output_schema": { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -169823,52 +258283,33 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } + "producer": 19, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 4, - "output_schema": { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -169912,34 +258353,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 5, - "output_schema": { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -169983,34 +258408,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Sort": { - "child": 4, - "keys": [ - { - "ascending": false, - "expr": { - "Column": 1 - }, - "nulls_first": false - } - ], - "partition_by": [ - 2 - ] - } - } - } + "producer": 21, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 6, - "output_schema": { + "consumer": 23, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -170054,41 +258463,15 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Limit": { - "child": 5, - "n": 10, - "offset": 0, - "partition_by": [ - 2 - ] - } - } - } - } - ], - "roots": [ - 3, - 6 - ] - }, - "from_logical": "L45", - "id": "P45", - "label": "Q1 exact · Q2 exact · shared input" - }, - { - "dag": { - "edges": [ + "producer": 22, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, { - "consumer": 1, + "consumer": 24, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -170104,9 +258487,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -170135,15 +258521,15 @@ ] ] }, - "producer": 0, + "producer": 8, "role": "Input", "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 24, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -170159,9 +258545,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -170190,15 +258579,15 @@ ] ] }, - "producer": 1, + "producer": 11, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 24, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -170214,9 +258603,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -170245,15 +258637,15 @@ ] ] }, - "producer": 2, + "producer": 14, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 24, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -170269,9 +258661,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -170300,15 +258695,15 @@ ] ] }, - "producer": 1, + "producer": 17, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 24, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -170358,15 +258753,15 @@ ] ] }, - "producer": 4, + "producer": 20, "role": "Input", "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 24, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -170382,9 +258777,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -170413,14 +258811,14 @@ ] ] }, - "producer": 5, + "producer": 23, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 25, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -170437,9 +258835,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -170468,16 +258869,18 @@ ] ] }, - "producer": 6, + "producer": 24, "role": "Input", "window": "NotApplicable" - } - ], - "nodes": [ + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 26, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -170521,89 +258924,20 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } + "producer": 25, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 1, - "output_schema": { + "consumer": 27, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -170614,41 +258948,42 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } - }, + "producer": 26, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ { "guarantee": null, - "id": 2, + "id": 0, "output_schema": { "closed": true, "fields": [ @@ -170699,29 +259034,83 @@ }, "payload": { "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + } } } } }, { "guarantee": null, - "id": 3, + "id": 1, "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -170732,16 +259121,17 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] @@ -170752,23 +259142,12 @@ }, "payload": { "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 } } } @@ -170776,7 +259155,7 @@ }, { "guarantee": null, - "id": 4, + "id": 2, "output_schema": { "closed": true, "fields": [ @@ -170791,8 +259170,8 @@ { "dtype": { "ExactAggregate": [ - "Sum", - "Sum" + "Rate", + "Rate" ] }, "name": "state", @@ -170834,8 +259213,8 @@ "child": 1, "family": { "ExactAggregate": [ - "Sum", - "Sum" + "Rate", + "Rate" ] }, "filter": null, @@ -170856,7 +259235,7 @@ }, { "guarantee": null, - "id": 5, + "id": 3, "output_schema": { "closed": true, "fields": [ @@ -170908,33 +259287,17 @@ "payload": { "ASAP": { "FinalizeExactAccumulator": { - "child": 4 + "child": 2 } } } }, { "guarantee": null, - "id": 6, + "id": 4, "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -170945,17 +259308,16 @@ }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "sum", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -170966,27 +259328,31 @@ }, "payload": { "NonASAP": { - "Sort": { - "child": 5, - "keys": [ + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ { - "ascending": false, - "expr": { - "Column": 1 - }, - "nulls_first": false + "col": null, + "kind": "sum" } ], - "partition_by": [ - 2 - ] + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } } } } }, { "guarantee": null, - "id": 7, + "id": 5, "output_schema": { "closed": true, "fields": [ @@ -171033,42 +259399,69 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { - "Limit": { - "child": 6, - "n": 10, - "offset": 0, - "partition_by": [ - 2 - ] + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } } } } - } - ], - "roots": [ - 3, - 7 - ] - }, - "from_logical": "L46", - "id": "P46", - "label": "Q1 exact · Q2 exact (Sum acc) · shared input" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 6, + "output_schema": { "closed": true, "fields": [ { @@ -171112,18 +259505,26 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 2, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { "closed": true, "fields": [ { @@ -171167,18 +259568,27 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 3, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 6, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { "closed": true, "fields": [ { @@ -171191,9 +259601,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -171222,73 +259635,40 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, - "data_state": { - "primitive": "Raw", - "timing": "query_time" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 7, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "reduction": "PerEntity" } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" + } + } }, { - "consumer": 5, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 9, + "output_schema": { "closed": true, "fields": [ { @@ -171332,18 +259712,26 @@ ] ] }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 6, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { "closed": true, "fields": [ { @@ -171387,18 +259775,27 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 7, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 9, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { "closed": true, "fields": [ { @@ -171411,9 +259808,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -171442,73 +259842,40 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 8, - "data_state": { - "primitive": "Raw", - "timing": "query_time" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 10, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "reduction": "PerEntity" } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 7, - "role": "Input", - "window": "NotApplicable" + } + } }, { - "consumer": 9, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 12, + "output_schema": { "closed": true, "fields": [ { @@ -171552,18 +259919,26 @@ ] ] }, - "producer": 8, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 10, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { "closed": true, "fields": [ { @@ -171607,18 +259982,27 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 11, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 12, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { "closed": true, "fields": [ { @@ -171631,9 +260015,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -171662,18 +260049,40 @@ ] ] }, - "producer": 10, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 13, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 12, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 15, + "output_schema": { "closed": true, "fields": [ { @@ -171717,18 +260126,26 @@ ] ] }, - "producer": 11, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 13, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { "closed": true, "fields": [ { @@ -171772,18 +260189,27 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 14, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 15, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { "closed": true, "fields": [ { @@ -171796,9 +260222,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -171827,18 +260256,40 @@ ] ] }, - "producer": 13, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 16, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 15, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 18, + "output_schema": { "closed": true, "fields": [ { @@ -171882,18 +260333,26 @@ ] ] }, - "producer": 14, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 16, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { "closed": true, "fields": [ { @@ -171937,18 +260396,27 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 17, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 18, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { "closed": true, "fields": [ { @@ -171961,9 +260429,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -171992,18 +260463,40 @@ ] ] }, - "producer": 16, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 19, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 18, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 21, + "output_schema": { "closed": true, "fields": [ { @@ -172047,18 +260540,26 @@ ] ] }, - "producer": 17, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 19, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { "closed": true, "fields": [ { @@ -172102,18 +260603,27 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 20, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 21, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { "closed": true, "fields": [ { @@ -172126,9 +260636,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -172157,18 +260670,40 @@ ] ] }, - "producer": 19, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 22, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 21, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 24, + "output_schema": { "closed": true, "fields": [ { @@ -172181,9 +260716,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -172212,18 +260750,29 @@ ] ] }, - "producer": 20, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 22, - "data_state": { + "output_state": { "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 8, + 11, + 14, + 17, + 20, + 23 + ] + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { "closed": true, "fields": [ { @@ -172236,12 +260785,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -172270,39 +260816,116 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 22, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 24 + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" ] }, "name": "state", "nullable": false, "table": null - }, + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 25, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 27, + "output_schema": { + "closed": true, + "fields": [ { "dtype": { "Plain": "utf8" @@ -172318,24 +260941,58 @@ "name": "$promql_series_identity", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, - "producer": 9, - "role": "Input", - "window": "NotApplicable" - }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 26 + } + } + } + } + ], + "roots": [ + 4, + 27 + ] + }, + "from_logical": "L61", + "id": "P61-m1", + "label": "Q1 exact (Rate acc) · Q2 CMS+heap (Sum acc · tumbling 10s panes) · shared input · ingestion time: exact Sum ×6 panes" + }, + { + "dag": { + "edges": [ { - "consumer": 22, + "consumer": 1, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -172352,12 +261009,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -172386,14 +261040,14 @@ ] ] }, - "producer": 12, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 22, + "consumer": 2, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -172410,12 +261064,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -172444,12 +261095,12 @@ ] ] }, - "producer": 15, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 22, + "consumer": 3, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -172469,8 +261120,8 @@ { "dtype": { "ExactAggregate": [ - "Sum", - "Sum" + "Rate", + "Rate" ] }, "name": "state", @@ -172502,14 +261153,14 @@ ] ] }, - "producer": 18, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 22, + "consumer": 4, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -172526,12 +261177,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -172560,14 +261208,14 @@ ] ] }, - "producer": 21, + "producer": 3, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 5, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -172584,12 +261232,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -172618,12 +261263,12 @@ ] ] }, - "producer": 22, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 6, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -172673,36 +261318,20 @@ ] ] }, - "producer": 23, + "producer": 5, "role": "Input", "window": "NotApplicable" }, { - "consumer": 25, + "consumer": 7, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -172713,22 +261342,34 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 24, + "producer": 6, "role": "Input", "window": "NotApplicable" } @@ -172908,7 +261549,87 @@ }, { "guarantee": null, - "id": 2, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, "output_schema": { "closed": true, "fields": [ @@ -172958,27 +261679,16 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 } } } }, { "guarantee": null, - "id": 3, + "id": 4, "output_schema": { "closed": true, "fields": [ @@ -173013,7 +261723,7 @@ "payload": { "NonASAP": { "Aggregate": { - "child": 2, + "child": 3, "filters": [], "having": null, "measures": [ @@ -173036,7 +261746,7 @@ }, { "guarantee": null, - "id": 4, + "id": 5, "output_schema": { "closed": true, "fields": [ @@ -173087,38 +261797,122 @@ }, "payload": { "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 0 - } + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 5, + "id": 6, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { - "Plain": "float64" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null - }, + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 5, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ { "dtype": { "Plain": "utf8" @@ -173134,13 +261928,21 @@ "name": "$promql_series_identity", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, @@ -173149,22 +261951,39 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "TimeRange": { - "child": 4, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 6 } } } - }, + } + ], + "roots": [ + 4, + 7 + ] + }, + "from_logical": "L62", + "id": "P62", + "label": "Q1 exact (Rate acc) · Q2 CountSketch+heap · shared input" + }, + { + "dag": { + "edges": [ { - "guarantee": null, - "id": 6, - "output_schema": { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -173177,12 +261996,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -173211,40 +262027,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 5, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 0, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 7, - "output_schema": { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -173288,26 +262082,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 10000 - } - } - } - } + "producer": 1, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 8, - "output_schema": { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -173320,9 +262106,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -173351,27 +262140,18 @@ ] ] }, - "output_state": { + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 7, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 9, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -173384,12 +262164,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -173418,40 +262195,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 8, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 3, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 10, - "output_schema": { + "consumer": 5, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -173495,26 +262250,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 20000 - } - } - } - } + "producer": 1, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 11, - "output_schema": { + "consumer": 6, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -173527,9 +262274,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -173558,27 +262308,18 @@ ] ] }, - "output_state": { + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 10, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 12, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -173591,12 +262332,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -173625,39 +262363,66 @@ ] ] }, - "output_state": { + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { "primitive": "SummaryState", "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 11, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "reduction": "PerEntity" + "name": "state", + "nullable": false, + "table": null } - } - } - }, + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ { "guarantee": null, - "id": 13, + "id": 0, "output_schema": { "closed": true, "fields": [ @@ -173708,11 +262473,56 @@ }, "payload": { "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 30000 + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } } } } @@ -173720,7 +262530,7 @@ }, { "guarantee": null, - "id": 14, + "id": 1, "output_schema": { "closed": true, "fields": [ @@ -173772,11 +262582,11 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 13, + "child": 0, "kind": "range", "range": { "nanos": 0, - "secs": 10 + "secs": 60 } } } @@ -173784,7 +262594,7 @@ }, { "guarantee": null, - "id": 15, + "id": 2, "output_schema": { "closed": true, "fields": [ @@ -173799,8 +262609,8 @@ { "dtype": { "ExactAggregate": [ - "Sum", - "Sum" + "Rate", + "Rate" ] }, "name": "state", @@ -173839,11 +262649,11 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 14, + "child": 1, "family": { "ExactAggregate": [ - "Sum", - "Sum" + "Rate", + "Rate" ] }, "filter": null, @@ -173864,7 +262674,7 @@ }, { "guarantee": null, - "id": 16, + "id": 3, "output_schema": { "closed": true, "fields": [ @@ -173914,39 +262724,19 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 40000 - } + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 } } } }, { "guarantee": null, - "id": 17, + "id": 4, "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -173957,17 +262747,16 @@ }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "sum", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -173978,12 +262767,23 @@ }, "payload": { "NonASAP": { - "TimeRange": { - "child": 16, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] } } } @@ -173991,7 +262791,7 @@ }, { "guarantee": null, - "id": 18, + "id": 5, "output_schema": { "closed": true, "fields": [ @@ -174046,7 +262846,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 17, + "child": 1, "family": { "ExactAggregate": [ "Sum", @@ -174071,7 +262871,7 @@ }, { "guarantee": null, - "id": 19, + "id": 6, "output_schema": { "closed": true, "fields": [ @@ -174121,39 +262921,111 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 50000 - } + "ASAP": { + "FinalizeExactAccumulator": { + "child": 5 } } } }, { "guarantee": null, - "id": 20, + "id": 7, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { - "Plain": "float64" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null - }, + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 6, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ { "dtype": { "Plain": "utf8" @@ -174169,13 +263041,21 @@ "name": "$promql_series_identity", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, @@ -174184,22 +263064,39 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "TimeRange": { - "child": 19, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 7 } } } - }, + } + ], + "roots": [ + 4, + 8 + ] + }, + "from_logical": "L63", + "id": "P63", + "label": "Q1 exact (Rate acc) · Q2 CountSketch+heap (Sum acc) · shared input" + }, + { + "dag": { + "edges": [ { - "guarantee": null, - "id": 21, - "output_schema": { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -174212,12 +263109,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -174246,40 +263140,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 20, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 0, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 22, - "output_schema": { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -174292,12 +263164,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -174326,29 +263195,18 @@ ] ] }, - "output_state": { + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { "primitive": "SummaryState", "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryMerge": { - "children": [ - 6, - 9, - 12, - 15, - 18, - 21 - ] - } - } - } - }, - { - "guarantee": null, - "id": 23, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -174361,9 +263219,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -174392,22 +263253,18 @@ ] ] }, - "output_state": { + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 22 - } - } - } - }, - { - "guarantee": null, - "id": 24, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -174451,34 +263308,18 @@ ] ] }, - "output_state": { + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Sort": { - "child": 23, - "keys": [ - { - "ascending": false, - "expr": { - "Column": 1 - }, - "nulls_first": false - } - ], - "partition_by": [ - 2 - ] - } - } - } - }, - { - "guarantee": null, - "id": 25, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -174522,38 +263363,67 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Limit": { - "child": 24, - "n": 10, - "offset": 0, - "partition_by": [ - 2 - ] - } - } - } - } - ], - "roots": [ - 3, - 25 - ] - }, - "from_logical": "L47", - "id": "P47", - "label": "Q1 exact · Q2 exact (Sum acc · tumbling 10s panes) · shared input" - }, - { - "dag": { - "edges": [ + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 7, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -174603,12 +263473,12 @@ ] ] }, - "producer": 0, + "producer": 6, "role": "Input", "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 8, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -174658,12 +263528,12 @@ ] ] }, - "producer": 1, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 9, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -174713,12 +263583,12 @@ ] ] }, - "producer": 2, + "producer": 8, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 10, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -174768,12 +263638,12 @@ ] ] }, - "producer": 1, + "producer": 9, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 11, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -174823,20 +263693,36 @@ ] ] }, - "producer": 4, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 12, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -174847,43 +263733,33 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 5, + "producer": 11, "role": "Input", "window": "NotApplicable" - } - ], - "nodes": [ + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -174927,71 +263803,18 @@ ] ] }, - "output_state": { + "producer": 12, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 14, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } - }, - { - "guarantee": null, - "id": 1, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -175035,27 +263858,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 15, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } - }, - { - "guarantee": null, - "id": 2, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -175099,35 +263913,36 @@ ] ] }, - "output_state": { + "producer": 14, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 16, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 3, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -175138,52 +263953,33 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { + "producer": 15, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 17, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 4, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -175227,128 +264023,36 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 18, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 5, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 4, - "family": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 6, - "output_schema": { - "closed": true, - "fields": [ + }, { "dtype": { "Plain": "utf8" @@ -175364,56 +264068,22 @@ "name": "$promql_series_identity", "nullable": false, "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 5 - } - } - } - } - ], - "roots": [ - 3, - 6 - ] - }, - "from_logical": "L48", - "id": "P48", - "label": "Q1 exact · Q2 CMS+heap · shared input" - }, - { - "dag": { - "edges": [ + "producer": 17, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 19, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -175463,12 +264133,12 @@ ] ] }, - "producer": 0, + "producer": 18, "role": "Input", "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 20, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -175518,12 +264188,12 @@ ] ] }, - "producer": 1, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 21, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -175573,12 +264243,12 @@ ] ] }, - "producer": 2, + "producer": 20, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 22, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -175628,12 +264298,12 @@ ] ] }, - "producer": 1, + "producer": 21, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 23, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -175686,14 +264356,14 @@ ] ] }, - "producer": 4, + "producer": 7, "role": "Input", "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 23, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -175710,9 +264380,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -175741,12 +264414,12 @@ ] ] }, - "producer": 5, + "producer": 10, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 23, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -175755,6 +264428,25 @@ "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -175765,43 +264457,33 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 6, + "producer": 13, "role": "Input", "window": "NotApplicable" - } - ], - "nodes": [ + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -175814,9 +264496,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -175845,71 +264530,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } + "producer": 16, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 1, - "output_schema": { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -175922,9 +264554,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -175953,27 +264588,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } + "producer": 19, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 2, - "output_schema": { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -175986,9 +264612,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -176017,91 +264646,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } + "producer": 22, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 3, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", + "consumer": 24, + "data_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 4, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -176148,40 +264704,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 23, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 5, - "output_schema": { + "consumer": 25, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -176225,22 +264759,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 - } - } - } + "producer": 24, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 6, - "output_schema": { + "consumer": 26, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -176255,13 +264785,13 @@ "dtype": { "Sketch": [ { - "algorithm": "CmsWithHeap", + "algorithm": "CountSketchWithHeap", "category": "TopK", "params": { - "CmsWithHeap": { - "depth": 7, + "CountSketchWithHeap": { + "depth": 125, "heap_size": 100, - "width": 272 + "width": 30000 } } }, @@ -176280,91 +264810,56 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 5, - "family": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ { "guarantee": null, - "id": 7, + "id": 0, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "value", "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, @@ -176373,39 +264868,66 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] }, - "summary_input": 6 + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } } } } - } - ], - "roots": [ - 3, - 7 - ] - }, - "from_logical": "L49", - "id": "P49", - "label": "Q1 exact · Q2 CMS+heap (Sum acc) · shared input" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 1, + "output_schema": { "closed": true, "fields": [ { @@ -176449,18 +264971,27 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 2, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { "closed": true, "fields": [ { @@ -176473,9 +265004,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -176504,18 +265038,40 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 3, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { "closed": true, "fields": [ { @@ -176559,36 +265115,24 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -176599,33 +265143,52 @@ }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "sum", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 5, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { "closed": true, "fields": [ { @@ -176669,18 +265232,26 @@ ] ] }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 6, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { "closed": true, "fields": [ { @@ -176724,18 +265295,27 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 7, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 5, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { "closed": true, "fields": [ { @@ -176748,9 +265328,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -176779,18 +265362,40 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 8, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 6, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { "closed": true, "fields": [ { @@ -176834,18 +265439,26 @@ ] ] }, - "producer": 7, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 9, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { "closed": true, "fields": [ { @@ -176889,18 +265502,27 @@ ] ] }, - "producer": 8, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 10, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 8, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { "closed": true, "fields": [ { @@ -176913,9 +265535,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -176944,18 +265569,40 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 11, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 9, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { "closed": true, "fields": [ { @@ -176999,18 +265646,26 @@ ] ] }, - "producer": 10, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 12, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { "closed": true, "fields": [ { @@ -177054,18 +265709,27 @@ ] ] }, - "producer": 11, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 13, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 11, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { "closed": true, "fields": [ { @@ -177078,9 +265742,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -177109,18 +265776,40 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 14, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 12, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { "closed": true, "fields": [ { @@ -177164,18 +265853,26 @@ ] ] }, - "producer": 13, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 15, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { "closed": true, "fields": [ { @@ -177219,18 +265916,27 @@ ] ] }, - "producer": 14, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 16, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 14, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { "closed": true, "fields": [ { @@ -177243,9 +265949,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -177274,18 +265983,40 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 17, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 15, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { "closed": true, "fields": [ { @@ -177329,18 +266060,26 @@ ] ] }, - "producer": 16, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 18, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { "closed": true, "fields": [ { @@ -177384,18 +266123,27 @@ ] ] }, - "producer": 17, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 19, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 17, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { "closed": true, "fields": [ { @@ -177408,9 +266156,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -177439,18 +266190,40 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 20, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 18, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { "closed": true, "fields": [ { @@ -177494,18 +266267,26 @@ ] ] }, - "producer": 19, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 21, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { "closed": true, "fields": [ { @@ -177549,18 +266330,27 @@ ] ] }, - "producer": 20, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 22, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 20, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { "closed": true, "fields": [ { @@ -177607,18 +266397,40 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 22, - "data_state": { + "output_state": { "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 21, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { "closed": true, "fields": [ { @@ -177665,18 +266477,29 @@ ] ] }, - "producer": 9, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 22, - "data_state": { + "output_state": { "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 7, + 10, + 13, + 16, + 19, + 22 + ] + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { "closed": true, "fields": [ { @@ -177689,12 +266512,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -177723,39 +266543,116 @@ ] ] }, - "producer": 12, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 22, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 23 + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" ] }, "name": "state", "nullable": false, "table": null - }, + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 24, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { + "closed": true, + "fields": [ { "dtype": { "Plain": "utf8" @@ -177771,24 +266668,58 @@ "name": "$promql_series_identity", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, - "producer": 15, - "role": "Input", - "window": "NotApplicable" - }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 25 + } + } + } + } + ], + "roots": [ + 4, + 26 + ] + }, + "from_logical": "L64", + "id": "P64", + "label": "Q1 exact (Rate acc) · Q2 CountSketch+heap (Sum acc · tumbling 10s panes) · shared input" + }, + { + "dag": { + "edges": [ { - "consumer": 22, + "consumer": 1, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -177805,12 +266736,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -177839,14 +266767,14 @@ ] ] }, - "producer": 18, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 22, + "consumer": 2, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -177863,12 +266791,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -177897,12 +266822,12 @@ ] ] }, - "producer": 21, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 3, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -177922,8 +266847,8 @@ { "dtype": { "ExactAggregate": [ - "Sum", - "Sum" + "Rate", + "Rate" ] }, "name": "state", @@ -177955,12 +266880,12 @@ ] ] }, - "producer": 22, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 4, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -178010,20 +266935,36 @@ ] ] }, - "producer": 23, + "producer": 3, "role": "Input", "window": "NotApplicable" }, { - "consumer": 25, + "consumer": 6, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -178034,43 +266975,33 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 24, + "producer": 5, "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -178114,71 +267045,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 1, - "output_schema": { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -178222,27 +267100,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } + "producer": 7, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 2, - "output_schema": { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -178286,91 +267155,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 3, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { + "consumer": 10, + "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 4, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -178414,26 +267210,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 0 - } - } - } - } + "producer": 9, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 5, - "output_schema": { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -178477,27 +267265,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 4, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 10, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 6, - "output_schema": { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -178510,12 +267289,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -178544,40 +267320,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 5, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 7, - "output_schema": { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -178621,26 +267375,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 10000 - } - } - } - } + "producer": 12, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 8, - "output_schema": { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -178684,27 +267430,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 7, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 13, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 9, - "output_schema": { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -178717,12 +267454,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -178751,40 +267485,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 8, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 10, - "output_schema": { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -178828,26 +267540,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 20000 - } - } - } - } + "producer": 15, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 11, - "output_schema": { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -178891,27 +267595,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 10, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 16, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 12, - "output_schema": { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -178924,12 +267619,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -178958,40 +267650,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 11, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 13, - "output_schema": { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -179035,26 +267705,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 30000 - } - } - } - } + "producer": 18, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 14, - "output_schema": { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -179098,27 +267760,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 13, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 19, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 15, - "output_schema": { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -179131,12 +267784,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -179165,40 +267815,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 14, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 16, - "output_schema": { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -179242,26 +267870,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 40000 - } - } - } - } + "producer": 21, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 17, - "output_schema": { + "consumer": 23, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -179305,27 +267925,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 16, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 22, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 18, - "output_schema": { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -179372,40 +267983,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 17, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 8, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 19, - "output_schema": { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -179418,9 +268007,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -179449,26 +268041,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 50000 - } - } - } - } + "producer": 11, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 20, - "output_schema": { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -179481,9 +268065,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -179512,27 +268099,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 19, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 14, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 21, - "output_schema": { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -179579,40 +268157,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 20, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 17, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 22, - "output_schema": { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -179659,29 +268215,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryMerge": { - "children": [ - 6, - 9, - 12, - 15, - 18, - 21 - ] - } - } - } + "producer": 20, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 23, - "output_schema": { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -179694,9 +268239,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -179725,116 +268273,39 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 22 - } - } - } + "producer": 23, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 24, - "output_schema": { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" + "ExactAggregate": [ + "Sum", + "Sum" ] }, "name": "state", "nullable": false, "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 23, - "family": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 25, - "output_schema": { - "closed": true, - "fields": [ + }, { "dtype": { "Plain": "utf8" @@ -179850,56 +268321,22 @@ "name": "$promql_series_identity", "nullable": false, "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 24 - } - } - } - } - ], - "roots": [ - 3, - 25 - ] - }, - "from_logical": "L50", - "id": "P50", - "label": "Q1 exact · Q2 CMS+heap (Sum acc · tumbling 10s panes) · shared input" - }, - { - "dag": { - "edges": [ + "producer": 24, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 26, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -179934,33 +268371,82 @@ }, { "dtype": { - "Plain": "utf8" + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 25, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 27, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 0, + "producer": 26, "role": "Input", "window": "NotApplicable" - }, + } + ], + "nodes": [ { - "consumer": 2, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 0, + "output_schema": { "closed": true, "fields": [ { @@ -180004,18 +268490,71 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 3, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { "closed": true, "fields": [ { @@ -180059,18 +268598,27 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { "closed": true, "fields": [ { @@ -180083,9 +268631,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -180114,18 +268665,40 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 5, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { "closed": true, "fields": [ { @@ -180169,18 +268742,22 @@ ] ] }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 6, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { "closed": true, "fields": [ { @@ -180193,22 +268770,9 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "float64" }, - "name": "state", + "name": "sum", "nullable": false, "table": null } @@ -180220,15 +268784,37 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, { "guarantee": null, - "id": 0, + "id": 5, "output_schema": { "closed": true, "fields": [ @@ -180275,7 +268861,7 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { @@ -180336,7 +268922,7 @@ }, { "guarantee": null, - "id": 1, + "id": 6, "output_schema": { "closed": true, "fields": [ @@ -180383,16 +268969,15 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 0 } } } @@ -180400,7 +268985,7 @@ }, { "guarantee": null, - "id": 2, + "id": 7, "output_schema": { "closed": true, "fields": [ @@ -180447,22 +269032,96 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" + "TimeRange": { + "child": 6, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 7, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } - ], - "output_names": [ - "" - ], + }, "reduction": "PerEntity" } } @@ -180470,10 +269129,26 @@ }, { "guarantee": null, - "id": 3, + "id": 9, "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -180484,43 +269159,32 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 10000 } } } @@ -180528,7 +269192,7 @@ }, { "guarantee": null, - "id": 4, + "id": 10, "output_schema": { "closed": true, "fields": [ @@ -180575,34 +269239,46 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + "TimeRange": { + "child": 9, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } } } } }, { "guarantee": null, - "id": 5, + "id": 11, "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -180613,159 +269289,118 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 4, + "child": 10, "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" + "ExactAggregate": [ + "Sum", + "Sum" ] }, "filter": null, "grouping": "PerSubpopulationInstance", "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, + "item": null, "weight": { "Column": "SampleValue" }, "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" + "kind": "unknown_or_signed" } }, - "reduction": { - "Reduce": [ - 2 - ] - } + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 6, + "id": 12, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "value", "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 5 + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 20000 + } } } } - } - ], - "roots": [ - 3, - 6 - ] - }, - "from_logical": "L51", - "id": "P51", - "label": "Q1 exact · Q2 CountSketch+heap · shared input" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 13, + "output_schema": { "closed": true, "fields": [ { @@ -180809,18 +269444,27 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 2, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 12, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { "closed": true, "fields": [ { @@ -180833,9 +269477,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -180864,18 +269511,40 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 13, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 3, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 15, + "output_schema": { "closed": true, "fields": [ { @@ -180919,18 +269588,26 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { "closed": true, "fields": [ { @@ -180974,18 +269651,27 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 15, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } }, { - "consumer": 5, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 17, + "output_schema": { "closed": true, "fields": [ { @@ -181032,18 +269718,40 @@ ] ] }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 16, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 6, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 18, + "output_schema": { "closed": true, "fields": [ { @@ -181087,20 +269795,44 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } }, { - "consumer": 7, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 19, + "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -181111,42 +269843,41 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 18, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, { "guarantee": null, - "id": 0, + "id": 20, "output_schema": { "closed": true, "fields": [ @@ -181160,9 +269891,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -181192,69 +269926,38 @@ ] }, "output_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] + "ASAP": { + "SummaryAgg": { + "child": 19, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" ] }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } - } + }, + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 1, + "id": 21, "output_schema": { "closed": true, "fields": [ @@ -181301,16 +270004,15 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 50000 } } } @@ -181318,7 +270020,7 @@ }, { "guarantee": null, - "id": 2, + "id": 22, "output_schema": { "closed": true, "fields": [ @@ -181365,33 +270067,46 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + "TimeRange": { + "child": 21, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } } } } }, { "guarantee": null, - "id": 3, + "id": 23, "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -181402,51 +270117,54 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "payload": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 + "ASAP": { + "SummaryAgg": { + "child": 22, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" ] - } + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 4, + "id": 24, "output_schema": { "closed": true, "fields": [ @@ -181500,33 +270218,22 @@ }, "payload": { "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" + "SummaryMerge": { + "children": [ + 8, + 11, + 14, + 17, + 20, + 23 + ] } } } }, { "guarantee": null, - "id": 5, + "id": 25, "output_schema": { "closed": true, "fields": [ @@ -181578,14 +270285,14 @@ "payload": { "ASAP": { "FinalizeExactAccumulator": { - "child": 4 + "child": 24 } } } }, { "guarantee": null, - "id": 6, + "id": 26, "output_schema": { "closed": true, "fields": [ @@ -181633,7 +270340,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 5, + "child": 25, "family": { "Sketch": [ { @@ -181677,7 +270384,7 @@ }, { "guarantee": null, - "id": 7, + "id": 27, "output_schema": { "closed": true, "fields": [ @@ -181726,20 +270433,20 @@ "k": 10 } }, - "summary_input": 6 + "summary_input": 26 } } } } ], "roots": [ - 3, - 7 + 4, + 27 ] }, - "from_logical": "L52", - "id": "P52", - "label": "Q1 exact · Q2 CountSketch+heap (Sum acc) · shared input" + "from_logical": "L64", + "id": "P64-m1", + "label": "Q1 exact (Rate acc) · Q2 CountSketch+heap (Sum acc · tumbling 10s panes) · shared input · ingestion time: exact Sum ×6 panes" }, { "dag": { @@ -181857,7 +270564,7 @@ { "consumer": 3, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -181874,9 +270581,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -181960,7 +270670,7 @@ ] ] }, - "producer": 0, + "producer": 3, "role": "Input", "window": "NotApplicable" }, @@ -182015,36 +270725,20 @@ ] ] }, - "producer": 4, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { "consumer": 6, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -182055,17 +270749,29 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -182073,15 +270779,13 @@ "producer": 5, "role": "Input", "window": "NotApplicable" - }, + } + ], + "nodes": [ { - "consumer": 7, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 0, + "output_schema": { "closed": true, "fields": [ { @@ -182125,18 +270829,71 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 8, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { "closed": true, "fields": [ { @@ -182180,18 +270937,27 @@ ] ] }, - "producer": 7, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 9, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { "closed": true, "fields": [ { @@ -182204,9 +270970,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -182235,18 +271004,40 @@ ] ] }, - "producer": 8, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 10, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { "closed": true, "fields": [ { @@ -182290,36 +271081,82 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 11, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { "Plain": "float64" }, - "name": "value", + "name": "sum", "nullable": false, "table": null - }, + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ { "dtype": { "Plain": "utf8" @@ -182330,82 +271167,153 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 10, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 12, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { "Plain": "utf8" }, - "name": "job", - "nullable": true, + "name": "$promql_series_identity", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "value", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, - "producer": 11, - "role": "Input", - "window": "NotApplicable" - }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 5 + } + } + } + } + ], + "roots": [ + 4, + 6 + ] + }, + "from_logical": "L65", + "id": "P65", + "label": "Q1 exact (Rate acc) · Q2 whole-expression CMS+heap · shared input" + }, + { + "dag": { + "edges": [ { - "consumer": 13, + "consumer": 1, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -182460,7 +271368,7 @@ "window": "NotApplicable" }, { - "consumer": 14, + "consumer": 2, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -182510,14 +271418,14 @@ ] ] }, - "producer": 13, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 15, + "consumer": 3, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -182534,9 +271442,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -182565,12 +271476,12 @@ ] ] }, - "producer": 14, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 16, + "consumer": 4, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -182620,12 +271531,12 @@ ] ] }, - "producer": 0, + "producer": 3, "role": "Input", "window": "NotApplicable" }, { - "consumer": 17, + "consumer": 5, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -182675,36 +271586,20 @@ ] ] }, - "producer": 16, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 18, + "consumer": 6, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -182715,33 +271610,43 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 17, + "producer": 5, "role": "Input", "window": "NotApplicable" - }, + } + ], + "nodes": [ { - "consumer": 19, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 0, + "output_schema": { "closed": true, "fields": [ { @@ -182785,18 +271690,71 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 20, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { "closed": true, "fields": [ { @@ -182840,18 +271798,27 @@ ] ] }, - "producer": 19, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 21, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { "closed": true, "fields": [ { @@ -182864,9 +271831,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -182895,18 +271865,40 @@ ] ] }, - "producer": 20, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 22, - "data_state": { + "output_state": { "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { "closed": true, "fields": [ { @@ -182919,12 +271911,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -182953,39 +271942,174 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } }, { - "consumer": 22, - "data_state": { - "primitive": "SummaryState", + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Aggregate": { + "child": 3, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" ] }, "name": "state", "nullable": false, "table": null - }, + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ { "dtype": { "Plain": "utf8" @@ -183001,24 +272125,58 @@ "name": "$promql_series_identity", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, - "producer": 9, - "role": "Input", - "window": "NotApplicable" - }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 5 + } + } + } + } + ], + "roots": [ + 4, + 6 + ] + }, + "from_logical": "L66", + "id": "P66", + "label": "Q1 exact (Rate acc) · Q2 whole-expression CountSketch+heap · shared input" + }, + { + "dag": { + "edges": [ { - "consumer": 22, + "consumer": 1, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -183035,12 +272193,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -183069,14 +272224,14 @@ ] ] }, - "producer": 12, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 22, + "consumer": 2, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -183093,12 +272248,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -183127,14 +272279,14 @@ ] ] }, - "producer": 15, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 22, + "consumer": 3, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -183151,12 +272303,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -183185,12 +272334,12 @@ ] ] }, - "producer": 18, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 22, + "consumer": 4, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -183201,10 +272350,10 @@ "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { @@ -183217,40 +272366,23 @@ "name": "state", "nullable": false, "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 21, + "producer": 3, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 5, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -183267,12 +272399,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -183301,12 +272430,12 @@ ] ] }, - "producer": 22, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 6, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -183356,20 +272485,36 @@ ] ] }, - "producer": 23, + "producer": 5, "role": "Input", "window": "NotApplicable" }, { - "consumer": 25, + "consumer": 7, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -183380,34 +272525,22 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 24, + "producer": 6, "role": "Input", "window": "NotApplicable" } @@ -183671,9 +272804,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "sum", + "name": "state", "nullable": false, "table": null } @@ -183686,24 +272822,30 @@ ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { - "NonASAP": { - "Aggregate": { + "ASAP": { + "SummaryAgg": { "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } - ], - "output_names": [ - "" - ], + }, "reduction": { "Reduce": [ 2 @@ -183719,22 +272861,6 @@ "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -183745,17 +272871,16 @@ }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "sum", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -183765,13 +272890,9 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 0 - } + "ASAP": { + "FinalizeExactAccumulator": { + "child": 3 } } } @@ -183829,13 +272950,20 @@ }, "payload": { "NonASAP": { - "TimeRange": { - "child": 4, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" } } } @@ -183856,12 +272984,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -183891,31 +273016,25 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { + "NonASAP": { + "Sort": { "child": 5, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false } - }, - "reduction": "PerEntity" + ], + "partition_by": [ + 2 + ] } } } @@ -183973,20 +273092,38 @@ }, "payload": { "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 10000 - } + "Limit": { + "child": 6, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] } } } - }, + } + ], + "roots": [ + 4, + 7 + ] + }, + "from_logical": "L67", + "id": "P67", + "label": "Q1 exact (Sum acc) · Q2 exact · shared input" + }, + { + "dag": { + "edges": [ { - "guarantee": null, - "id": 8, - "output_schema": { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -184030,27 +273167,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 7, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 9, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -184063,12 +273191,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -184097,40 +273222,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 8, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 1, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 10, - "output_schema": { + "consumer": 3, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -184174,26 +273277,59 @@ ] ] }, - "output_state": { - "primitive": "Raw", + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 20000 - } + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null } - } - } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 11, - "output_schema": { + "consumer": 5, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -184237,27 +273373,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 10, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 1, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 12, - "output_schema": { + "consumer": 6, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -184304,40 +273431,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 11, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 5, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 13, - "output_schema": { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -184381,26 +273486,18 @@ ] ] }, - "output_state": { + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 30000 - } - } - } - } - }, - { - "guarantee": null, - "id": 14, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -184444,26 +273541,15 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 13, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ { "guarantee": null, - "id": 15, + "id": 0, "output_schema": { "closed": true, "fields": [ @@ -184477,12 +273563,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -184512,38 +273595,69 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { - "child": 14, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] ] }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - }, - "reduction": "PerEntity" + } } } } }, { "guarantee": null, - "id": 16, + "id": 1, "output_schema": { "closed": true, "fields": [ @@ -184594,11 +273708,12 @@ }, "payload": { "NonASAP": { - "TimeShift": { + "TimeRange": { "child": 0, - "shift": { - "at": null, - "offset_ms": 40000 + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 } } } @@ -184606,7 +273721,7 @@ }, { "guarantee": null, - "id": 17, + "id": 2, "output_schema": { "closed": true, "fields": [ @@ -184657,29 +273772,35 @@ }, "payload": { "NonASAP": { - "TimeRange": { - "child": 16, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 18, + "id": 3, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { @@ -184692,28 +273813,11 @@ "name": "state", "nullable": false, "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -184725,7 +273829,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 17, + "child": 2, "family": { "ExactAggregate": [ "Sum", @@ -184743,69 +273847,10 @@ "kind": "unknown_or_signed" } }, - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 19, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 50000 + "reduction": { + "Reduce": [ + 2 + ] } } } @@ -184813,26 +273858,10 @@ }, { "guarantee": null, - "id": 20, + "id": 4, "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -184843,17 +273872,16 @@ }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "sum", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -184863,21 +273891,16 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "TimeRange": { - "child": 19, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } + "ASAP": { + "FinalizeExactAccumulator": { + "child": 3 } } } }, { "guarantee": null, - "id": 21, + "id": 5, "output_schema": { "closed": true, "fields": [ @@ -184932,7 +273955,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 20, + "child": 1, "family": { "ExactAggregate": [ "Sum", @@ -184957,7 +273980,7 @@ }, { "guarantee": null, - "id": 22, + "id": 6, "output_schema": { "closed": true, "fields": [ @@ -184971,12 +273994,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -185006,27 +274026,20 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { "ASAP": { - "SummaryMerge": { - "children": [ - 6, - 9, - 12, - 15, - 18, - 21 - ] + "FinalizeExactAccumulator": { + "child": 5 } } } }, { "guarantee": null, - "id": 23, + "id": 7, "output_schema": { "closed": true, "fields": [ @@ -185076,111 +274089,47 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 22 + "NonASAP": { + "Sort": { + "child": 6, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], + "partition_by": [ + 2 + ] } } } }, { "guarantee": null, - "id": 24, + "id": 8, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 23, - "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 25, - "output_schema": { - "closed": true, - "fields": [ + }, { "dtype": { "Plain": "utf8" @@ -185196,21 +274145,13 @@ "name": "$promql_series_identity", "nullable": false, "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, @@ -185219,27 +274160,27 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 24 + "NonASAP": { + "Limit": { + "child": 7, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] } } } } ], "roots": [ - 3, - 25 + 4, + 8 ] }, - "from_logical": "L53", - "id": "P53", - "label": "Q1 exact · Q2 CountSketch+heap (Sum acc · tumbling 10s panes) · shared input" + "from_logical": "L68", + "id": "P68", + "label": "Q1 exact (Sum acc) · Q2 exact (Sum acc) · shared input" }, { "dag": { @@ -185411,6 +274352,47 @@ }, { "consumer": 4, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -185460,20 +274442,36 @@ ] ] }, - "producer": 1, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 6, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -185484,43 +274482,33 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 4, + "producer": 5, "role": "Input", "window": "NotApplicable" - } - ], - "nodes": [ + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -185564,71 +274552,18 @@ ] ] }, - "output_state": { + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } - }, - { - "guarantee": null, - "id": 1, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -185672,27 +274607,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } - }, - { - "guarantee": null, - "id": 2, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -185736,35 +274662,36 @@ ] ] }, - "output_state": { + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 3, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -185775,54 +274702,51 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 4, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -185833,88 +274757,51 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } + "producer": 0, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 5, - "output_schema": { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -185930,6 +274817,37 @@ "name": "$promql_series_identity", "nullable": false, "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 11, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null }, { "dtype": { @@ -185938,48 +274856,38 @@ "name": "value", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 4 - } - } - } - } - ], - "roots": [ - 3, - 5 - ] - }, - "from_logical": "L54", - "id": "P54", - "label": "Q1 exact · Q2 whole-expression CMS+heap · shared input" - }, - { - "dag": { - "edges": [ + "producer": 12, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 14, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -186034,7 +274942,7 @@ "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 15, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -186084,12 +274992,12 @@ ] ] }, - "producer": 1, + "producer": 14, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 16, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -186139,12 +275047,12 @@ ] ] }, - "producer": 2, + "producer": 15, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 17, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -186194,20 +275102,36 @@ ] ] }, - "producer": 1, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 18, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -186218,43 +275142,33 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 4, + "producer": 17, "role": "Input", "window": "NotApplicable" - } - ], - "nodes": [ + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -186298,71 +275212,18 @@ ] ] }, - "output_state": { + "producer": 18, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 20, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } - }, - { - "guarantee": null, - "id": 1, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -186406,27 +275267,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 21, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } - }, - { - "guarantee": null, - "id": 2, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -186470,35 +275322,36 @@ ] ] }, - "output_state": { + "producer": 20, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 3, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -186509,54 +275362,54 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 2, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } + "producer": 21, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 4, - "output_schema": { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -186567,155 +275420,87 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { "primitive": "SummaryState", "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 5, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 4 - } - } - } - } - ], - "roots": [ - 3, - 5 - ] - }, - "from_logical": "L55", - "id": "P55", - "label": "Q1 exact · Q2 whole-expression CountSketch+heap · shared input" - }, - { - "dag": { - "edges": [ + "producer": 10, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 23, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -186732,9 +275517,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -186763,14 +275551,14 @@ ] ] }, - "producer": 0, + "producer": 13, "role": "Input", "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 23, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -186787,9 +275575,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -186818,12 +275609,12 @@ ] ] }, - "producer": 1, + "producer": 16, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 23, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -186843,8 +275634,8 @@ { "dtype": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "name": "state", @@ -186876,14 +275667,14 @@ ] ] }, - "producer": 2, + "producer": 19, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 23, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -186900,9 +275691,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -186931,14 +275725,14 @@ ] ] }, - "producer": 3, + "producer": 22, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -186955,9 +275749,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -186986,12 +275783,12 @@ ] ] }, - "producer": 1, + "producer": 23, "role": "Input", "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 25, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -187041,12 +275838,12 @@ ] ] }, - "producer": 5, + "producer": 24, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 26, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -187096,7 +275893,7 @@ ] ] }, - "producer": 6, + "producer": 25, "role": "Input", "window": "NotApplicable" } @@ -187290,12 +276087,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -187325,30 +276119,23 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { + "NonASAP": { + "Aggregate": { "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" } - }, + ], + "output_names": [ + "" + ], "reduction": "PerEntity" } } @@ -187360,22 +276147,6 @@ "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -187386,29 +276157,53 @@ }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 + "SummaryAgg": { + "child": 2, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } } } } @@ -187448,25 +276243,9 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "Aggregate": { - "child": 3, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] - } + "ASAP": { + "FinalizeExactAccumulator": { + "child": 3 } } } @@ -187524,20 +276303,12 @@ }, "payload": { "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 0 + } } } } @@ -187595,20 +276366,13 @@ }, "payload": { "NonASAP": { - "Sort": { + "TimeRange": { "child": 5, - "keys": [ - { - "ascending": false, - "expr": { - "Column": 1 - }, - "nulls_first": false - } - ], - "partition_by": [ - 2 - ] + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } } } } @@ -187629,9 +276393,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -187661,43 +276428,39 @@ ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { - "NonASAP": { - "Limit": { + "ASAP": { + "SummaryAgg": { "child": 6, - "n": 10, - "offset": 0, - "partition_by": [ - 2 - ] + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" } } } - } - ], - "roots": [ - 4, - 7 - ] - }, - "from_logical": "L56", - "id": "P56", - "label": "Q1 exact (Rate acc) · Q2 exact · shared input" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 8, + "output_schema": { "closed": true, "fields": [ { @@ -187741,18 +276504,26 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 2, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { "closed": true, "fields": [ { @@ -187796,18 +276567,27 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 3, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 8, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { "closed": true, "fields": [ { @@ -187821,8 +276601,8 @@ { "dtype": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "name": "state", @@ -187854,18 +276634,40 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 9, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { "closed": true, "fields": [ { @@ -187909,18 +276711,26 @@ ] ] }, - "producer": 3, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 5, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { "closed": true, "fields": [ { @@ -187964,18 +276774,27 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 6, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 11, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { "closed": true, "fields": [ { @@ -188022,18 +276841,103 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 12, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 7, - "data_state": { + "guarantee": null, + "id": 14, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { "closed": true, "fields": [ { @@ -188077,18 +276981,27 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 8, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 14, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { "closed": true, "fields": [ { @@ -188101,9 +277014,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -188132,15 +277048,39 @@ ] ] }, - "producer": 7, - "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 15, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, { "guarantee": null, - "id": 0, + "id": 17, "output_schema": { "closed": true, "fields": [ @@ -188191,56 +277131,11 @@ }, "payload": { "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 40000 } } } @@ -188248,7 +277143,7 @@ }, { "guarantee": null, - "id": 1, + "id": 18, "output_schema": { "closed": true, "fields": [ @@ -188300,11 +277195,11 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 0, + "child": 17, "kind": "range", "range": { "nanos": 0, - "secs": 60 + "secs": 10 } } } @@ -188312,7 +277207,7 @@ }, { "guarantee": null, - "id": 2, + "id": 19, "output_schema": { "closed": true, "fields": [ @@ -188327,8 +277222,8 @@ { "dtype": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "name": "state", @@ -188367,11 +277262,11 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 1, + "child": 18, "family": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "filter": null, @@ -188392,7 +277287,7 @@ }, { "guarantee": null, - "id": 3, + "id": 20, "output_schema": { "closed": true, "fields": [ @@ -188442,19 +277337,39 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 50000 + } } } } }, { "guarantee": null, - "id": 4, + "id": 21, "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -188465,16 +277380,17 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] @@ -188485,23 +277401,12 @@ }, "payload": { "NonASAP": { - "Aggregate": { - "child": 3, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] + "TimeRange": { + "child": 20, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 } } } @@ -188509,7 +277414,7 @@ }, { "guarantee": null, - "id": 5, + "id": 22, "output_schema": { "closed": true, "fields": [ @@ -188564,7 +277469,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 1, + "child": 21, "family": { "ExactAggregate": [ "Sum", @@ -188589,7 +277494,7 @@ }, { "guarantee": null, - "id": 6, + "id": 23, "output_schema": { "closed": true, "fields": [ @@ -188603,9 +277508,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -188635,20 +277543,27 @@ ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { "ASAP": { - "FinalizeExactAccumulator": { - "child": 5 + "SummaryMerge": { + "children": [ + 7, + 10, + 13, + 16, + 19, + 22 + ] } } } }, { "guarantee": null, - "id": 7, + "id": 24, "output_schema": { "closed": true, "fields": [ @@ -188698,28 +277613,16 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "Sort": { - "child": 6, - "keys": [ - { - "ascending": false, - "expr": { - "Column": 1 - }, - "nulls_first": false - } - ], - "partition_by": [ - 2 - ] + "ASAP": { + "FinalizeExactAccumulator": { + "child": 23 } } } }, { "guarantee": null, - "id": 8, + "id": 25, "output_schema": { "closed": true, "fields": [ @@ -188770,38 +277673,28 @@ }, "payload": { "NonASAP": { - "Limit": { - "child": 7, - "n": 10, - "offset": 0, + "Sort": { + "child": 24, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], "partition_by": [ 2 ] } } } - } - ], - "roots": [ - 4, - 8 - ] - }, - "from_logical": "L57", - "id": "P57", - "label": "Q1 exact (Rate acc) · Q2 exact (Sum acc) · shared input" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 26, + "output_schema": { "closed": true, "fields": [ { @@ -188845,12 +277738,38 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Limit": { + "child": 25, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] + } + } + } + } + ], + "roots": [ + 4, + 26 + ] + }, + "from_logical": "L69", + "id": "P69", + "label": "Q1 exact (Sum acc) · Q2 exact (Sum acc · tumbling 10s panes) · shared input" + }, + { + "dag": { + "edges": [ { - "consumer": 2, + "consumer": 1, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -188900,14 +277819,14 @@ ] ] }, - "producer": 1, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 2, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -188924,12 +277843,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -188958,12 +277874,12 @@ ] ] }, - "producer": 2, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 3, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -189013,36 +277929,20 @@ ] ] }, - "producer": 3, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 4, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -189053,22 +277953,24 @@ }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 0, + "producer": 3, "role": "Input", "window": "NotApplicable" }, @@ -189076,7 +277978,7 @@ "consumer": 6, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -189125,13 +278027,13 @@ }, "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 7, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -189180,13 +278082,13 @@ }, "producer": 6, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 8, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -189233,15 +278135,15 @@ ] ] }, - "producer": 0, + "producer": 7, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 9, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -189288,15 +278190,15 @@ ] ] }, - "producer": 8, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 10, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -189345,13 +278247,13 @@ }, "producer": 9, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 11, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -189398,15 +278300,15 @@ ] ] }, - "producer": 0, + "producer": 10, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 12, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -189453,15 +278355,15 @@ ] ] }, - "producer": 11, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 13, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -189510,13 +278412,13 @@ }, "producer": 12, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 14, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -189563,15 +278465,15 @@ ] ] }, - "producer": 0, + "producer": 13, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 15, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -189618,15 +278520,15 @@ ] ] }, - "producer": 14, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 16, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -189675,13 +278577,13 @@ }, "producer": 15, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 17, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -189728,15 +278630,15 @@ ] ] }, - "producer": 0, + "producer": 16, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 18, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -189783,15 +278685,15 @@ ] ] }, - "producer": 17, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 19, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -189840,13 +278742,13 @@ }, "producer": 18, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 20, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -189893,15 +278795,15 @@ ] ] }, - "producer": 0, + "producer": 19, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 21, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -189948,15 +278850,15 @@ ] ] }, - "producer": 20, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 22, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -190005,13 +278907,68 @@ }, "producer": 21, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 23, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 24, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -190061,15 +279018,15 @@ ] ] }, - "producer": 7, + "producer": 8, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 24, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -190119,15 +279076,15 @@ ] ] }, - "producer": 10, + "producer": 11, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 24, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -190177,15 +279134,15 @@ ] ] }, - "producer": 13, + "producer": 14, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 24, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -190235,15 +279192,15 @@ ] ] }, - "producer": 16, + "producer": 17, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 24, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -190293,15 +279250,15 @@ ] ] }, - "producer": 19, + "producer": 20, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 24, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -190351,12 +279308,12 @@ ] ] }, - "producer": 22, + "producer": 23, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 25, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -190409,12 +279366,12 @@ ] ] }, - "producer": 23, + "producer": 24, "role": "Input", "window": "NotApplicable" }, { - "consumer": 25, + "consumer": 26, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -190464,12 +279421,12 @@ ] ] }, - "producer": 24, + "producer": 25, "role": "Input", "window": "NotApplicable" }, { - "consumer": 26, + "consumer": 27, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -190519,7 +279476,7 @@ ] ] }, - "producer": 25, + "producer": 26, "role": "Input", "window": "NotApplicable" } @@ -190713,12 +279670,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -190747,6 +279701,62 @@ ] ] }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, "output_state": { "primitive": "SummaryState", "timing": "query_time" @@ -190754,11 +279764,11 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 1, + "child": 2, "family": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "filter": null, @@ -190772,14 +279782,60 @@ "kind": "unknown_or_signed" } }, - "reduction": "PerEntity" + "reduction": { + "Reduce": [ + 2 + ] + } } } } }, { "guarantee": null, - "id": 3, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 3 + } + } + } + }, + { + "guarantee": null, + "id": 5, "output_schema": { "closed": true, "fields": [ @@ -190826,69 +279882,60 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - } - }, - { - "guarantee": null, - "id": 4, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { - "Aggregate": { - "child": 3, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } } } } @@ -190896,7 +279943,7 @@ }, { "guarantee": null, - "id": 5, + "id": 6, "output_schema": { "closed": true, "fields": [ @@ -190943,12 +279990,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 0, + "child": 5, "shift": { "at": null, "offset_ms": 0 @@ -190959,7 +280006,7 @@ }, { "guarantee": null, - "id": 6, + "id": 7, "output_schema": { "closed": true, "fields": [ @@ -191006,12 +280053,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 5, + "child": 6, "kind": "range", "range": { "nanos": 0, @@ -191023,7 +280070,7 @@ }, { "guarantee": null, - "id": 7, + "id": 8, "output_schema": { "closed": true, "fields": [ @@ -191073,12 +280120,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 6, + "child": 7, "family": { "ExactAggregate": [ "Sum", @@ -191103,7 +280150,7 @@ }, { "guarantee": null, - "id": 8, + "id": 9, "output_schema": { "closed": true, "fields": [ @@ -191150,12 +280197,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 0, + "child": 5, "shift": { "at": null, "offset_ms": 10000 @@ -191166,7 +280213,7 @@ }, { "guarantee": null, - "id": 9, + "id": 10, "output_schema": { "closed": true, "fields": [ @@ -191213,12 +280260,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 8, + "child": 9, "kind": "range", "range": { "nanos": 0, @@ -191230,7 +280277,7 @@ }, { "guarantee": null, - "id": 10, + "id": 11, "output_schema": { "closed": true, "fields": [ @@ -191280,12 +280327,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 9, + "child": 10, "family": { "ExactAggregate": [ "Sum", @@ -191310,7 +280357,7 @@ }, { "guarantee": null, - "id": 11, + "id": 12, "output_schema": { "closed": true, "fields": [ @@ -191357,12 +280404,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 0, + "child": 5, "shift": { "at": null, "offset_ms": 20000 @@ -191373,7 +280420,7 @@ }, { "guarantee": null, - "id": 12, + "id": 13, "output_schema": { "closed": true, "fields": [ @@ -191420,12 +280467,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 11, + "child": 12, "kind": "range", "range": { "nanos": 0, @@ -191437,7 +280484,7 @@ }, { "guarantee": null, - "id": 13, + "id": 14, "output_schema": { "closed": true, "fields": [ @@ -191487,12 +280534,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 12, + "child": 13, "family": { "ExactAggregate": [ "Sum", @@ -191517,7 +280564,7 @@ }, { "guarantee": null, - "id": 14, + "id": 15, "output_schema": { "closed": true, "fields": [ @@ -191564,12 +280611,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 0, + "child": 5, "shift": { "at": null, "offset_ms": 30000 @@ -191580,7 +280627,7 @@ }, { "guarantee": null, - "id": 15, + "id": 16, "output_schema": { "closed": true, "fields": [ @@ -191627,12 +280674,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 14, + "child": 15, "kind": "range", "range": { "nanos": 0, @@ -191644,7 +280691,7 @@ }, { "guarantee": null, - "id": 16, + "id": 17, "output_schema": { "closed": true, "fields": [ @@ -191694,12 +280741,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 15, + "child": 16, "family": { "ExactAggregate": [ "Sum", @@ -191724,7 +280771,7 @@ }, { "guarantee": null, - "id": 17, + "id": 18, "output_schema": { "closed": true, "fields": [ @@ -191771,12 +280818,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 0, + "child": 5, "shift": { "at": null, "offset_ms": 40000 @@ -191787,7 +280834,7 @@ }, { "guarantee": null, - "id": 18, + "id": 19, "output_schema": { "closed": true, "fields": [ @@ -191834,12 +280881,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 17, + "child": 18, "kind": "range", "range": { "nanos": 0, @@ -191851,7 +280898,7 @@ }, { "guarantee": null, - "id": 19, + "id": 20, "output_schema": { "closed": true, "fields": [ @@ -191901,12 +280948,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 18, + "child": 19, "family": { "ExactAggregate": [ "Sum", @@ -191931,7 +280978,7 @@ }, { "guarantee": null, - "id": 20, + "id": 21, "output_schema": { "closed": true, "fields": [ @@ -191978,12 +281025,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 0, + "child": 5, "shift": { "at": null, "offset_ms": 50000 @@ -191994,7 +281041,7 @@ }, { "guarantee": null, - "id": 21, + "id": 22, "output_schema": { "closed": true, "fields": [ @@ -192041,12 +281088,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 20, + "child": 21, "kind": "range", "range": { "nanos": 0, @@ -192058,7 +281105,7 @@ }, { "guarantee": null, - "id": 22, + "id": 23, "output_schema": { "closed": true, "fields": [ @@ -192108,12 +281155,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 21, + "child": 22, "family": { "ExactAggregate": [ "Sum", @@ -192138,7 +281185,7 @@ }, { "guarantee": null, - "id": 23, + "id": 24, "output_schema": { "closed": true, "fields": [ @@ -192194,12 +281241,12 @@ "ASAP": { "SummaryMerge": { "children": [ - 7, - 10, - 13, - 16, - 19, - 22 + 8, + 11, + 14, + 17, + 20, + 23 ] } } @@ -192207,7 +281254,7 @@ }, { "guarantee": null, - "id": 24, + "id": 25, "output_schema": { "closed": true, "fields": [ @@ -192259,14 +281306,14 @@ "payload": { "ASAP": { "FinalizeExactAccumulator": { - "child": 23 + "child": 24 } } } }, { "guarantee": null, - "id": 25, + "id": 26, "output_schema": { "closed": true, "fields": [ @@ -192318,7 +281365,7 @@ "payload": { "NonASAP": { "Sort": { - "child": 24, + "child": 25, "keys": [ { "ascending": false, @@ -192337,7 +281384,7 @@ }, { "guarantee": null, - "id": 26, + "id": 27, "output_schema": { "closed": true, "fields": [ @@ -192389,7 +281436,7 @@ "payload": { "NonASAP": { "Limit": { - "child": 25, + "child": 26, "n": 10, "offset": 0, "partition_by": [ @@ -192402,12 +281449,12 @@ ], "roots": [ 4, - 26 + 27 ] }, - "from_logical": "L58", - "id": "P58", - "label": "Q1 exact (Rate acc) · Q2 exact (Sum acc · tumbling 10s panes) · shared input" + "from_logical": "L69", + "id": "P69-m1", + "label": "Q1 exact (Sum acc) · Q2 exact (Sum acc · tumbling 10s panes) · shared input · ingestion time: exact Sum ×6 panes" }, { "dag": { @@ -192525,7 +281572,7 @@ { "consumer": 3, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -192542,12 +281589,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -192583,29 +281627,13 @@ { "consumer": 4, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -192616,17 +281644,19 @@ }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -192954,105 +281984,25 @@ ] }, "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } - }, - { - "guarantee": null, - "id": 2, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } } } } }, { "guarantee": null, - "id": 3, + "id": 2, "output_schema": { "closed": true, "fields": [ @@ -193102,16 +282052,27 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 4, + "id": 3, "output_schema": { "closed": true, "fields": [ @@ -193125,9 +282086,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "sum", + "name": "state", "nullable": false, "table": null } @@ -193140,24 +282104,30 @@ ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { - "NonASAP": { - "Aggregate": { - "child": 3, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" + "ASAP": { + "SummaryAgg": { + "child": 2, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } - ], - "output_names": [ - "" - ], + }, "reduction": { "Reduce": [ 2 @@ -193167,6 +282137,48 @@ } } }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 3 + } + } + } + }, { "guarantee": null, "id": 5, @@ -193392,9 +282404,9 @@ 7 ] }, - "from_logical": "L59", - "id": "P59", - "label": "Q1 exact (Rate acc) · Q2 CMS+heap · shared input" + "from_logical": "L70", + "id": "P70", + "label": "Q1 exact (Sum acc) · Q2 CMS+heap · shared input" }, { "dag": { @@ -193512,7 +282524,7 @@ { "consumer": 3, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -193529,12 +282541,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -193570,29 +282579,13 @@ { "consumer": 4, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -193603,17 +282596,19 @@ }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -194018,86 +283013,6 @@ { "guarantee": null, "id": 2, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 3, "output_schema": { "closed": true, "fields": [ @@ -194147,16 +283062,27 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 4, + "id": 3, "output_schema": { "closed": true, "fields": [ @@ -194170,9 +283096,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "sum", + "name": "state", "nullable": false, "table": null } @@ -194185,24 +283114,30 @@ ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { - "NonASAP": { - "Aggregate": { - "child": 3, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" + "ASAP": { + "SummaryAgg": { + "child": 2, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } - ], - "output_names": [ - "" - ], + }, "reduction": { "Reduce": [ 2 @@ -194212,6 +283147,48 @@ } } }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 3 + } + } + } + }, { "guarantee": null, "id": 5, @@ -194505,9 +283482,9 @@ 8 ] }, - "from_logical": "L60", - "id": "P60", - "label": "Q1 exact (Rate acc) · Q2 CMS+heap (Sum acc) · shared input" + "from_logical": "L71", + "id": "P71", + "label": "Q1 exact (Sum acc) · Q2 CMS+heap (Sum acc) · shared input" }, { "dag": { @@ -194625,7 +283602,7 @@ { "consumer": 3, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -194642,12 +283619,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -194683,29 +283657,13 @@ { "consumer": 4, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -194716,17 +283674,19 @@ }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -196427,12 +285387,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -196462,30 +285419,23 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { + "NonASAP": { + "Aggregate": { "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" } - }, + ], + "output_names": [ + "" + ], "reduction": "PerEntity" } } @@ -196497,22 +285447,6 @@ "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -196523,29 +285457,53 @@ }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 + "SummaryAgg": { + "child": 2, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } } } } @@ -196585,25 +285543,9 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "Aggregate": { - "child": 3, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] - } + "ASAP": { + "FinalizeExactAccumulator": { + "child": 3 } } } @@ -198071,11 +287013,416 @@ } }, { - "guarantee": null, - "id": 26, - "output_schema": { + "guarantee": null, + "id": 26, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 25 + } + } + } + } + ], + "roots": [ + 4, + 26 + ] + }, + "from_logical": "L72", + "id": "P72", + "label": "Q1 exact (Sum acc) · Q2 CMS+heap (Sum acc · tumbling 10s panes) · shared input" + }, + { + "dag": { + "edges": [ + { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -198091,6 +287438,37 @@ "name": "$promql_series_identity", "nullable": false, "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 7, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null }, { "dtype": { @@ -198099,51 +287477,41 @@ "name": "value", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 25 - } - } - } - } - ], - "roots": [ - 4, - 26 - ] - }, - "from_logical": "L61", - "id": "P61", - "label": "Q1 exact (Rate acc) · Q2 CMS+heap (Sum acc · tumbling 10s panes) · shared input" - }, - { - "dag": { - "edges": [ + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, { - "consumer": 1, + "consumer": 10, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -198190,15 +287558,15 @@ ] ] }, - "producer": 0, + "producer": 9, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 2, + "consumer": 11, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -198245,15 +287613,15 @@ ] ] }, - "producer": 1, + "producer": 10, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 3, + "consumer": 12, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -198269,12 +287637,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -198303,15 +287668,15 @@ ] ] }, - "producer": 2, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 4, + "consumer": 13, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -198358,15 +287723,15 @@ ] ] }, - "producer": 3, + "producer": 12, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 5, + "consumer": 14, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -198413,15 +287778,15 @@ ] ] }, - "producer": 1, + "producer": 13, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 6, + "consumer": 15, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -198470,18 +287835,34 @@ }, "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 7, + "consumer": 16, "data_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -198492,43 +287873,33 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 6, + "producer": 15, "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -198572,71 +287943,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } + "producer": 16, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 1, - "output_schema": { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -198680,27 +287998,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 2, - "output_schema": { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -198713,12 +288022,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -198747,40 +288053,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 18, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 3, - "output_schema": { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -198824,24 +288108,36 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - } + "producer": 19, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 4, - "output_schema": { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -198852,52 +288148,33 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 3, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 5, - "output_schema": { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -198941,36 +288218,36 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } + "producer": 21, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 6, - "output_schema": { + "consumer": 23, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -198981,156 +288258,88 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 5, - "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } + "producer": 22, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 7, - "output_schema": { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 6 - } - } - } - } - ], - "roots": [ - 4, - 7 - ] - }, - "from_logical": "L62", - "id": "P62", - "label": "Q1 exact (Rate acc) · Q2 CountSketch+heap · shared input" - }, - { - "dag": { - "edges": [ + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 24, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -199146,9 +288355,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -199177,15 +288389,15 @@ ] ] }, - "producer": 0, + "producer": 11, "role": "Input", "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 24, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -199201,9 +288413,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -199232,15 +288447,15 @@ ] ] }, - "producer": 1, + "producer": 14, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 24, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -199257,8 +288472,8 @@ { "dtype": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "name": "state", @@ -199290,15 +288505,15 @@ ] ] }, - "producer": 2, + "producer": 17, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 24, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -199314,9 +288529,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -199345,15 +288563,15 @@ ] ] }, - "producer": 3, + "producer": 20, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 24, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -199369,9 +288587,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -199400,12 +288621,12 @@ ] ] }, - "producer": 1, + "producer": 23, "role": "Input", "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 25, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -199458,12 +288679,12 @@ ] ] }, - "producer": 5, + "producer": 24, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 26, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -199513,12 +288734,12 @@ ] ] }, - "producer": 6, + "producer": 25, "role": "Input", "window": "NotApplicable" }, { - "consumer": 8, + "consumer": 27, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -199539,13 +288760,13 @@ "dtype": { "Sketch": [ { - "algorithm": "CountSketchWithHeap", + "algorithm": "CmsWithHeap", "category": "TopK", "params": { - "CountSketchWithHeap": { - "depth": 125, + "CmsWithHeap": { + "depth": 7, "heap_size": 100, - "width": 30000 + "width": 272 } } }, @@ -199564,7 +288785,7 @@ ] ] }, - "producer": 7, + "producer": 26, "role": "Input", "window": "NotApplicable" } @@ -199745,86 +288966,6 @@ { "guarantee": null, "id": 2, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 3, "output_schema": { "closed": true, "fields": [ @@ -199873,97 +289014,31 @@ "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - } - }, - { - "guarantee": null, - "id": 4, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, "payload": { "NonASAP": { "Aggregate": { - "child": 3, + "child": 1, "filters": [], "having": null, "measures": [ { - "col": null, - "kind": "sum" + "kind": "rate" } ], "output_names": [ "" ], - "reduction": { - "Reduce": [ - 2 - ] - } + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 5, + "id": 3, "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -199974,141 +289049,11 @@ }, { "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { "ExactAggregate": [ "Sum", "Sum" ] }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 6, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 5 - } - } - } - }, - { - "guarantee": null, - "id": 7, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] - }, "name": "state", "nullable": false, "table": null @@ -200128,37 +289073,22 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 6, + "child": 2, "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" + "ExactAggregate": [ + "Sum", + "Sum" ] }, "filter": null, "grouping": "PerSubpopulationInstance", "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, + "item": null, "weight": { "Column": "SampleValue" }, "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" + "kind": "unknown_or_signed" } }, "reduction": { @@ -200172,7 +289102,7 @@ }, { "guarantee": null, - "id": 8, + "id": 4, "output_schema": { "closed": true, "fields": [ @@ -200184,19 +289114,11 @@ "nullable": true, "table": null }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "float64" }, - "name": "value", + "name": "sum", "nullable": false, "table": null } @@ -200204,8 +289126,7 @@ "time_index": null, "unique_keys": [ [ - 0, - 1 + 0 ] ] }, @@ -200215,38 +289136,16 @@ }, "payload": { "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 7 + "FinalizeExactAccumulator": { + "child": 3 } } } - } - ], - "roots": [ - 4, - 8 - ] - }, - "from_logical": "L63", - "id": "P63", - "label": "Q1 exact (Rate acc) · Q2 CountSketch+heap (Sum acc) · shared input" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 5, + "output_schema": { "closed": true, "fields": [ { @@ -200290,18 +289189,71 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 2, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { "closed": true, "fields": [ { @@ -200345,18 +289297,26 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } }, { - "consumer": 3, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 7, + "output_schema": { "closed": true, "fields": [ { @@ -200369,12 +289329,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -200403,18 +289360,27 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 6, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { "closed": true, "fields": [ { @@ -200427,9 +289393,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -200458,18 +289427,40 @@ ] ] }, - "producer": 3, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 7, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 5, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 9, + "output_schema": { "closed": true, "fields": [ { @@ -200513,18 +289504,26 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 6, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { "closed": true, "fields": [ { @@ -200568,18 +289567,27 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 7, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 9, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { "closed": true, "fields": [ { @@ -200592,9 +289600,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -200623,18 +289634,40 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 10, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 8, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 12, + "output_schema": { "closed": true, "fields": [ { @@ -200678,18 +289711,26 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 9, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { "closed": true, "fields": [ { @@ -200733,18 +289774,27 @@ ] ] }, - "producer": 8, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 10, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 12, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { "closed": true, "fields": [ { @@ -200757,9 +289807,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -200788,18 +289841,40 @@ ] ] }, - "producer": 9, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 13, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 11, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 15, + "output_schema": { "closed": true, "fields": [ { @@ -200843,18 +289918,26 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 12, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { "closed": true, "fields": [ { @@ -200898,18 +289981,27 @@ ] ] }, - "producer": 11, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 13, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 15, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { "closed": true, "fields": [ { @@ -200922,9 +290014,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -200953,18 +290048,40 @@ ] ] }, - "producer": 12, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 16, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 14, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 18, + "output_schema": { "closed": true, "fields": [ { @@ -201008,18 +290125,26 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 15, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { "closed": true, "fields": [ { @@ -201063,18 +290188,27 @@ ] ] }, - "producer": 14, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 16, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 18, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { "closed": true, "fields": [ { @@ -201087,9 +290221,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -201118,18 +290255,40 @@ ] ] }, - "producer": 15, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 19, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 17, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 21, + "output_schema": { "closed": true, "fields": [ { @@ -201173,18 +290332,26 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 18, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { "closed": true, "fields": [ { @@ -201228,18 +290395,27 @@ ] ] }, - "producer": 17, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 19, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 21, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { "closed": true, "fields": [ { @@ -201252,9 +290428,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -201283,18 +290462,40 @@ ] ] }, - "producer": 18, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 22, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 20, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 24, + "output_schema": { "closed": true, "fields": [ { @@ -201307,9 +290508,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -201338,18 +290542,29 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 21, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 8, + 11, + 14, + 17, + 20, + 23 + ] + } + } + } + }, + { + "guarantee": null, + "id": 25, + "output_schema": { "closed": true, "fields": [ { @@ -201393,36 +290608,24 @@ ] ] }, - "producer": 20, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 22, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 24 + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -201433,145 +290636,155 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 21, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 23, - "data_state": { + "output_state": { "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 25, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" ] }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "reduction": { + "Reduce": [ + 2 + ] + } } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 7, - "role": "Input", - "window": "NotApplicable" + } + } }, { - "consumer": 23, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 27, + "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { "Plain": "utf8" }, - "name": "job", - "nullable": true, + "name": "$promql_series_identity", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "value", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, - "producer": 10, - "role": "Input", - "window": "NotApplicable" - }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 26 + } + } + } + } + ], + "roots": [ + 4, + 27 + ] + }, + "from_logical": "L72", + "id": "P72-m1", + "label": "Q1 exact (Sum acc) · Q2 CMS+heap (Sum acc · tumbling 10s panes) · shared input · ingestion time: exact Sum ×6 panes" + }, + { + "dag": { + "edges": [ { - "consumer": 23, + "consumer": 1, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -201588,12 +290801,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -201622,14 +290832,14 @@ ] ] }, - "producer": 13, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 2, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -201646,12 +290856,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -201680,14 +290887,14 @@ ] ] }, - "producer": 16, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 3, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -201704,12 +290911,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -201738,12 +290942,12 @@ ] ] }, - "producer": 19, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 4, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -201754,10 +290958,10 @@ "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { @@ -201770,40 +290974,23 @@ "name": "state", "nullable": false, "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 22, + "producer": 3, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 5, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -201820,12 +291007,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -201854,12 +291038,12 @@ ] ] }, - "producer": 23, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 25, + "consumer": 6, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -201909,12 +291093,12 @@ ] ] }, - "producer": 24, + "producer": 5, "role": "Input", "window": "NotApplicable" }, { - "consumer": 26, + "consumer": 7, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -201960,7 +291144,7 @@ ] ] }, - "producer": 25, + "producer": 6, "role": "Input", "window": "NotApplicable" } @@ -202154,12 +291338,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -202189,30 +291370,23 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { + "NonASAP": { + "Aggregate": { "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" } - }, + ], + "output_names": [ + "" + ], "reduction": "PerEntity" } } @@ -202224,22 +291398,6 @@ "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -202250,29 +291408,53 @@ }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 + "SummaryAgg": { + "child": 2, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } } } } @@ -202312,25 +291494,9 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "Aggregate": { - "child": 3, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] - } + "ASAP": { + "FinalizeExactAccumulator": { + "child": 3 } } } @@ -202388,12 +291554,20 @@ }, "payload": { "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 0 - } + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" } } } @@ -202404,22 +291578,6 @@ "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -202430,84 +291588,29 @@ }, { "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 5, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 7, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" ] }, "name": "state", "nullable": false, "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -202519,51 +291622,54 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 6, + "child": 5, "family": { - "ExactAggregate": [ - "Sum", - "Sum" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" ] }, "filter": null, "grouping": "PerSubpopulationInstance", "input": { - "item": null, + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, "weight": { "Column": "SampleValue" }, "weight_domain": { - "kind": "unknown_or_signed" + "kind": "non_negative", + "proof": "counter_samples" } }, - "reduction": "PerEntity" + "reduction": { + "Reduce": [ + 2 + ] + } } } } }, { "guarantee": null, - "id": 8, + "id": 7, "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -202579,45 +291685,6 @@ "name": "$promql_series_identity", "nullable": false, "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 10000 - } - } - } - } - }, - { - "guarantee": null, - "id": 9, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null }, { "dtype": { @@ -202626,29 +291693,13 @@ "name": "value", "nullable": false, "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, @@ -202656,103 +291707,40 @@ "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 8, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 10, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, "payload": { "ASAP": { - "SummaryAgg": { - "child": 9, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 } }, - "reduction": "PerEntity" + "summary_input": 6 } } } - }, + } + ], + "roots": [ + 4, + 7 + ] + }, + "from_logical": "L73", + "id": "P73", + "label": "Q1 exact (Sum acc) · Q2 CountSketch+heap · shared input" + }, + { + "dag": { + "edges": [ { - "guarantee": null, - "id": 11, - "output_schema": { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -202796,26 +291784,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 20000 - } - } - } - } - }, - { - "guarantee": null, - "id": 12, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -202859,27 +291839,18 @@ ] ] }, - "output_state": { + "producer": 1, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 3, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 11, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 13, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -202892,12 +291863,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -202926,58 +291894,20 @@ ] ] }, - "output_state": { + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { "primitive": "SummaryState", "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 12, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 14, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -202988,41 +291918,35 @@ }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "output_state": { + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 30000 - } - } - } - } - }, - { - "guarantee": null, - "id": 15, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -203066,27 +291990,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 14, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 1, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 16, - "output_schema": { + "consumer": 6, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -203133,40 +292048,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 15, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 5, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 17, - "output_schema": { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -203210,44 +292103,20 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 40000 - } - } - } - } + "producer": 6, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 18, - "output_schema": { + "consumer": 8, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -203258,41 +292127,42 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 17, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, + "producer": 7, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ { "guarantee": null, - "id": 19, + "id": 0, "output_schema": { "closed": true, "fields": [ @@ -203306,12 +292176,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -203341,38 +292208,69 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { - "child": 18, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] ] }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - }, - "reduction": "PerEntity" + } } } } }, { "guarantee": null, - "id": 20, + "id": 1, "output_schema": { "closed": true, "fields": [ @@ -203423,11 +292321,12 @@ }, "payload": { "NonASAP": { - "TimeShift": { + "TimeRange": { "child": 0, - "shift": { - "at": null, - "offset_ms": 50000 + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 } } } @@ -203435,7 +292334,7 @@ }, { "guarantee": null, - "id": 21, + "id": 2, "output_schema": { "closed": true, "fields": [ @@ -203486,29 +292385,35 @@ }, "payload": { "NonASAP": { - "TimeRange": { - "child": 20, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "kind": "rate" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 22, + "id": 3, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { @@ -203521,28 +292426,11 @@ "name": "state", "nullable": false, "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -203554,7 +292442,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 21, + "child": 2, "family": { "ExactAggregate": [ "Sum", @@ -203572,14 +292460,60 @@ "kind": "unknown_or_signed" } }, - "reduction": "PerEntity" + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 3 } } } }, { "guarantee": null, - "id": 23, + "id": 5, "output_schema": { "closed": true, "fields": [ @@ -203633,22 +292567,33 @@ }, "payload": { "ASAP": { - "SummaryMerge": { - "children": [ - 7, - 10, - 13, - 16, - 19, - 22 - ] + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 24, + "id": 6, "output_schema": { "closed": true, "fields": [ @@ -203700,14 +292645,14 @@ "payload": { "ASAP": { "FinalizeExactAccumulator": { - "child": 23 + "child": 5 } } } }, { "guarantee": null, - "id": 25, + "id": 7, "output_schema": { "closed": true, "fields": [ @@ -203755,7 +292700,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 24, + "child": 6, "family": { "Sketch": [ { @@ -203799,7 +292744,7 @@ }, { "guarantee": null, - "id": 26, + "id": 8, "output_schema": { "closed": true, "fields": [ @@ -203848,7 +292793,7 @@ "k": 10 } }, - "summary_input": 25 + "summary_input": 7 } } } @@ -203856,12 +292801,12 @@ ], "roots": [ 4, - 26 + 8 ] }, - "from_logical": "L64", - "id": "P64", - "label": "Q1 exact (Rate acc) · Q2 CountSketch+heap (Sum acc · tumbling 10s panes) · shared input" + "from_logical": "L74", + "id": "P74", + "label": "Q1 exact (Sum acc) · Q2 CountSketch+heap (Sum acc) · shared input" }, { "dag": { @@ -203979,7 +292924,7 @@ { "consumer": 3, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -203996,12 +292941,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -204037,29 +292979,13 @@ { "consumer": 4, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -204070,17 +292996,19 @@ }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -204140,20 +293068,36 @@ ] ] }, - "producer": 1, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { "consumer": 6, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -204164,29 +293108,17 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] @@ -204194,13 +293126,15 @@ "producer": 5, "role": "Input", "window": "NotApplicable" - } - ], - "nodes": [ + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -204244,71 +293178,18 @@ ] ] }, - "output_state": { + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } - }, - { - "guarantee": null, - "id": 1, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -204352,27 +293233,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } - }, - { - "guarantee": null, - "id": 2, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -204385,12 +293257,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -204419,40 +293288,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 8, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 3, - "output_schema": { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -204496,82 +293343,36 @@ ] ] }, - "output_state": { + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - } - }, - { - "guarantee": null, - "id": 4, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { "Plain": "float64" }, - "name": "sum", + "name": "value", "nullable": false, "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 3, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 5, - "output_schema": { - "closed": true, - "fields": [ + }, { "dtype": { "Plain": "utf8" @@ -204582,153 +293383,82 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } + "producer": 0, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 6, - "output_schema": { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "value", "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 5 - } - } - } - } - ], - "roots": [ - 4, - 6 - ] - }, - "from_logical": "L65", - "id": "P65", - "label": "Q1 exact (Rate acc) · Q2 whole-expression CMS+heap · shared input" - }, - { - "dag": { - "edges": [ + "producer": 11, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 13, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -204778,12 +293508,12 @@ ] ] }, - "producer": 0, + "producer": 12, "role": "Input", "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 14, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -204833,14 +293563,14 @@ ] ] }, - "producer": 1, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 15, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -204857,12 +293587,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -204891,12 +293618,12 @@ ] ] }, - "producer": 2, + "producer": 14, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 16, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -204946,12 +293673,12 @@ ] ] }, - "producer": 3, + "producer": 15, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 17, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -205001,20 +293728,36 @@ ] ] }, - "producer": 1, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 18, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -205025,43 +293768,33 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 5, + "producer": 17, "role": "Input", "window": "NotApplicable" - } - ], - "nodes": [ + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -205105,71 +293838,18 @@ ] ] }, - "output_state": { + "producer": 18, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 20, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } - }, - { - "guarantee": null, - "id": 1, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -205213,27 +293893,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 21, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } - }, - { - "guarantee": null, - "id": 2, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -205246,12 +293917,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -205280,40 +293948,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 20, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 3, - "output_schema": { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -205357,82 +294003,39 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - } + "producer": 21, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 4, - "output_schema": { + "consumer": 23, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "sum", + "name": "state", "nullable": false, "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 3, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 5, - "output_schema": { - "closed": true, - "fields": [ + }, { "dtype": { "Plain": "utf8" @@ -205443,155 +294046,87 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { "primitive": "SummaryState", "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 6, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 5 - } - } - } - } - ], - "roots": [ - 4, - 6 - ] - }, - "from_logical": "L66", - "id": "P66", - "label": "Q1 exact (Rate acc) · Q2 whole-expression CountSketch+heap · shared input" - }, - { - "dag": { - "edges": [ + "producer": 10, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 23, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -205608,9 +294143,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -205639,14 +294177,14 @@ ] ] }, - "producer": 0, + "producer": 13, "role": "Input", "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 23, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -205663,9 +294201,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -205694,14 +294235,14 @@ ] ] }, - "producer": 1, + "producer": 16, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 23, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -205718,9 +294259,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -205749,12 +294293,12 @@ ] ] }, - "producer": 2, + "producer": 19, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 23, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -205765,10 +294309,10 @@ "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { @@ -205781,23 +294325,40 @@ "name": "state", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 3, + "producer": 22, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -205814,9 +294375,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -205845,12 +294409,12 @@ ] ] }, - "producer": 1, + "producer": 23, "role": "Input", "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 25, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -205900,36 +294464,20 @@ ] ] }, - "producer": 5, + "producer": 24, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 26, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -205940,22 +294488,34 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 6, + "producer": 25, "role": "Input", "window": "NotApplicable" } @@ -206365,20 +294925,12 @@ }, "payload": { "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 0 + } } } } @@ -206436,20 +294988,13 @@ }, "payload": { "NonASAP": { - "Sort": { + "TimeRange": { "child": 5, - "keys": [ - { - "ascending": false, - "expr": { - "Column": 1 - }, - "nulls_first": false - } - ], - "partition_by": [ - 2 - ] + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } } } } @@ -206470,9 +295015,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -206502,43 +295050,39 @@ ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { - "NonASAP": { - "Limit": { + "ASAP": { + "SummaryAgg": { "child": 6, - "n": 10, - "offset": 0, - "partition_by": [ - 2 - ] + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" } } } - } - ], - "roots": [ - 4, - 7 - ] - }, - "from_logical": "L67", - "id": "P67", - "label": "Q1 exact (Sum acc) · Q2 exact · shared input" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 8, + "output_schema": { "closed": true, "fields": [ { @@ -206582,18 +295126,26 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 2, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { "closed": true, "fields": [ { @@ -206637,18 +295189,27 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 3, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 8, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { "closed": true, "fields": [ { @@ -206661,9 +295222,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -206692,20 +295256,58 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, - "data_state": { + "output_state": { "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 9, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -206716,35 +295318,41 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 3, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 5, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { "closed": true, "fields": [ { @@ -206788,18 +295396,27 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 6, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 11, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { "closed": true, "fields": [ { @@ -206846,18 +295463,40 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 7, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 12, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { "closed": true, "fields": [ { @@ -206901,18 +295540,26 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 8, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { "closed": true, "fields": [ { @@ -206956,15 +295603,26 @@ ] ] }, - "producer": 7, - "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 14, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, { "guarantee": null, - "id": 0, + "id": 16, "output_schema": { "closed": true, "fields": [ @@ -206978,9 +295636,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -207010,69 +295671,38 @@ ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] + "ASAP": { + "SummaryAgg": { + "child": 15, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" ] }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } - } + }, + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 1, + "id": 17, "output_schema": { "closed": true, "fields": [ @@ -207123,12 +295753,11 @@ }, "payload": { "NonASAP": { - "TimeRange": { + "TimeShift": { "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 + "shift": { + "at": null, + "offset_ms": 40000 } } } @@ -207136,7 +295765,7 @@ }, { "guarantee": null, - "id": 2, + "id": 18, "output_schema": { "closed": true, "fields": [ @@ -207187,35 +295816,29 @@ }, "payload": { "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + "TimeRange": { + "child": 17, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } } } } }, { "guarantee": null, - "id": 3, + "id": 19, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { @@ -207228,11 +295851,28 @@ "name": "state", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] @@ -207244,7 +295884,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 2, + "child": 18, "family": { "ExactAggregate": [ "Sum", @@ -207262,21 +295902,33 @@ "kind": "unknown_or_signed" } }, - "reduction": { - "Reduce": [ - 2 - ] - } + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 4, + "id": 20, "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -207285,18 +295937,82 @@ "nullable": true, "table": null }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 21, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "float64" }, - "name": "sum", + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] @@ -207306,16 +296022,21 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 3 + "NonASAP": { + "TimeRange": { + "child": 20, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } } } } }, { "guarantee": null, - "id": 5, + "id": 22, "output_schema": { "closed": true, "fields": [ @@ -207370,7 +296091,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 1, + "child": 21, "family": { "ExactAggregate": [ "Sum", @@ -207395,7 +296116,7 @@ }, { "guarantee": null, - "id": 6, + "id": 23, "output_schema": { "closed": true, "fields": [ @@ -207409,9 +296130,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -207441,20 +296165,27 @@ ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { "ASAP": { - "FinalizeExactAccumulator": { - "child": 5 + "SummaryMerge": { + "children": [ + 7, + 10, + 13, + 16, + 19, + 22 + ] } } } }, { "guarantee": null, - "id": 7, + "id": 24, "output_schema": { "closed": true, "fields": [ @@ -207504,47 +296235,111 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "Sort": { - "child": 6, - "keys": [ - { - "ascending": false, - "expr": { - "Column": 1 - }, - "nulls_first": false - } - ], - "partition_by": [ - 2 - ] + "ASAP": { + "FinalizeExactAccumulator": { + "child": 23 } } } }, { "guarantee": null, - "id": 8, + "id": 25, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { - "Plain": "float64" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null - }, + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 24, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 26, + "output_schema": { + "closed": true, + "fields": [ { "dtype": { "Plain": "utf8" @@ -207560,13 +296355,21 @@ "name": "$promql_series_identity", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, @@ -207575,14 +296378,14 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "Limit": { - "child": 7, - "n": 10, - "offset": 0, - "partition_by": [ - 2 - ] + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 25 } } } @@ -207590,12 +296393,12 @@ ], "roots": [ 4, - 8 + 26 ] }, - "from_logical": "L68", - "id": "P68", - "label": "Q1 exact (Sum acc) · Q2 exact (Sum acc) · shared input" + "from_logical": "L75", + "id": "P75", + "label": "Q1 exact (Sum acc) · Q2 CountSketch+heap (Sum acc · tumbling 10s panes) · shared input" }, { "dag": { @@ -207761,56 +296564,166 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "producer": 3, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 5, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 5, + "consumer": 8, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -207857,15 +296770,15 @@ ] ] }, - "producer": 0, + "producer": 7, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 6, + "consumer": 9, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -207914,123 +296827,13 @@ }, "producer": 5, "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 7, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 8, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 9, + "consumer": 10, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -208077,15 +296880,15 @@ ] ] }, - "producer": 8, + "producer": 9, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 10, + "consumer": 11, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -208132,15 +296935,15 @@ ] ] }, - "producer": 9, + "producer": 10, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 11, + "consumer": 12, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -208187,15 +296990,15 @@ ] ] }, - "producer": 0, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 12, + "consumer": 13, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -208242,15 +297045,15 @@ ] ] }, - "producer": 11, + "producer": 12, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 13, + "consumer": 14, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -208297,15 +297100,15 @@ ] ] }, - "producer": 12, + "producer": 13, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 14, + "consumer": 15, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -208352,15 +297155,15 @@ ] ] }, - "producer": 0, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 15, + "consumer": 16, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -208407,15 +297210,15 @@ ] ] }, - "producer": 14, + "producer": 15, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 16, + "consumer": 17, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -208462,15 +297265,15 @@ ] ] }, - "producer": 15, + "producer": 16, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 17, + "consumer": 18, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -208517,15 +297320,15 @@ ] ] }, - "producer": 0, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 18, + "consumer": 19, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -208572,15 +297375,15 @@ ] ] }, - "producer": 17, + "producer": 18, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 19, + "consumer": 20, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -208627,15 +297430,15 @@ ] ] }, - "producer": 18, + "producer": 19, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 20, + "consumer": 21, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -208682,15 +297485,15 @@ ] ] }, - "producer": 0, + "producer": 5, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 21, + "consumer": 22, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -208737,15 +297540,15 @@ ] ] }, - "producer": 20, + "producer": 21, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 22, + "consumer": 23, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -208792,15 +297595,15 @@ ] ] }, - "producer": 21, + "producer": 22, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 23, + "consumer": 24, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -208850,15 +297653,15 @@ ] ] }, - "producer": 7, + "producer": 8, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 24, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -208908,15 +297711,15 @@ ] ] }, - "producer": 10, + "producer": 11, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 24, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -208966,15 +297769,15 @@ ] ] }, - "producer": 13, + "producer": 14, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 24, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -209024,15 +297827,15 @@ ] ] }, - "producer": 16, + "producer": 17, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 24, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -209082,15 +297885,15 @@ ] ] }, - "producer": 19, + "producer": 20, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 24, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -209140,12 +297943,12 @@ ] ] }, - "producer": 22, + "producer": 23, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 25, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -209198,12 +298001,12 @@ ] ] }, - "producer": 23, + "producer": 24, "role": "Input", "window": "NotApplicable" }, { - "consumer": 25, + "consumer": 26, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -209253,36 +298056,20 @@ ] ] }, - "producer": 24, + "producer": 25, "role": "Input", "window": "NotApplicable" }, { - "consumer": 26, + "consumer": 27, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -209293,22 +298080,34 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 25, + "producer": 26, "role": "Input", "window": "NotApplicable" } @@ -209714,167 +298513,68 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 0 - } - } - } - } - }, - { - "guarantee": null, - "id": 6, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 5, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 7, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 6, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] ] }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - }, - "reduction": "PerEntity" + } } } } }, { "guarantee": null, - "id": 8, + "id": 6, "output_schema": { "closed": true, "fields": [ @@ -209921,15 +298621,15 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 0, + "child": 5, "shift": { "at": null, - "offset_ms": 10000 + "offset_ms": 0 } } } @@ -209937,7 +298637,7 @@ }, { "guarantee": null, - "id": 9, + "id": 7, "output_schema": { "closed": true, "fields": [ @@ -209984,12 +298684,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 8, + "child": 6, "kind": "range", "range": { "nanos": 0, @@ -210001,7 +298701,7 @@ }, { "guarantee": null, - "id": 10, + "id": 8, "output_schema": { "closed": true, "fields": [ @@ -210051,12 +298751,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 9, + "child": 7, "family": { "ExactAggregate": [ "Sum", @@ -210079,9 +298779,216 @@ } } }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 5, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 9, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, { "guarantee": null, "id": 11, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 10, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 12, "output_schema": { "closed": true, "fields": [ @@ -210128,12 +299035,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 0, + "child": 5, "shift": { "at": null, "offset_ms": 20000 @@ -210144,7 +299051,7 @@ }, { "guarantee": null, - "id": 12, + "id": 13, "output_schema": { "closed": true, "fields": [ @@ -210191,12 +299098,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 11, + "child": 12, "kind": "range", "range": { "nanos": 0, @@ -210208,7 +299115,7 @@ }, { "guarantee": null, - "id": 13, + "id": 14, "output_schema": { "closed": true, "fields": [ @@ -210258,12 +299165,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 12, + "child": 13, "family": { "ExactAggregate": [ "Sum", @@ -210288,7 +299195,7 @@ }, { "guarantee": null, - "id": 14, + "id": 15, "output_schema": { "closed": true, "fields": [ @@ -210335,12 +299242,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 0, + "child": 5, "shift": { "at": null, "offset_ms": 30000 @@ -210351,7 +299258,7 @@ }, { "guarantee": null, - "id": 15, + "id": 16, "output_schema": { "closed": true, "fields": [ @@ -210398,12 +299305,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 14, + "child": 15, "kind": "range", "range": { "nanos": 0, @@ -210415,7 +299322,7 @@ }, { "guarantee": null, - "id": 16, + "id": 17, "output_schema": { "closed": true, "fields": [ @@ -210465,12 +299372,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 15, + "child": 16, "family": { "ExactAggregate": [ "Sum", @@ -210495,7 +299402,7 @@ }, { "guarantee": null, - "id": 17, + "id": 18, "output_schema": { "closed": true, "fields": [ @@ -210542,12 +299449,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 0, + "child": 5, "shift": { "at": null, "offset_ms": 40000 @@ -210558,7 +299465,7 @@ }, { "guarantee": null, - "id": 18, + "id": 19, "output_schema": { "closed": true, "fields": [ @@ -210605,12 +299512,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 17, + "child": 18, "kind": "range", "range": { "nanos": 0, @@ -210622,7 +299529,7 @@ }, { "guarantee": null, - "id": 19, + "id": 20, "output_schema": { "closed": true, "fields": [ @@ -210672,12 +299579,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 18, + "child": 19, "family": { "ExactAggregate": [ "Sum", @@ -210702,7 +299609,7 @@ }, { "guarantee": null, - "id": 20, + "id": 21, "output_schema": { "closed": true, "fields": [ @@ -210749,12 +299656,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 0, + "child": 5, "shift": { "at": null, "offset_ms": 50000 @@ -210765,7 +299672,7 @@ }, { "guarantee": null, - "id": 21, + "id": 22, "output_schema": { "closed": true, "fields": [ @@ -210812,12 +299719,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 20, + "child": 21, "kind": "range", "range": { "nanos": 0, @@ -210829,7 +299736,7 @@ }, { "guarantee": null, - "id": 22, + "id": 23, "output_schema": { "closed": true, "fields": [ @@ -210879,12 +299786,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 21, + "child": 22, "family": { "ExactAggregate": [ "Sum", @@ -210909,7 +299816,7 @@ }, { "guarantee": null, - "id": 23, + "id": 24, "output_schema": { "closed": true, "fields": [ @@ -210965,12 +299872,12 @@ "ASAP": { "SummaryMerge": { "children": [ - 7, - 10, - 13, - 16, - 19, - 22 + 8, + 11, + 14, + 17, + 20, + 23 ] } } @@ -210978,7 +299885,7 @@ }, { "guarantee": null, - "id": 24, + "id": 25, "output_schema": { "closed": true, "fields": [ @@ -211030,33 +299937,17 @@ "payload": { "ASAP": { "FinalizeExactAccumulator": { - "child": 23 + "child": 24 } } } }, { "guarantee": null, - "id": 25, + "id": 26, "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -211067,89 +299958,118 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { - "NonASAP": { - "Sort": { - "child": 24, - "keys": [ - { - "ascending": false, - "expr": { - "Column": 1 + "ASAP": { + "SummaryAgg": { + "child": 25, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } }, - "nulls_first": false + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" } - ], - "partition_by": [ - 2 - ] + }, + "reduction": { + "Reduce": [ + 2 + ] + } } } } }, { "guarantee": null, - "id": 26, + "id": 27, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { "Plain": "utf8" }, - "name": "job", - "nullable": true, + "name": "$promql_series_identity", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "value", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, @@ -211158,14 +300078,14 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "Limit": { - "child": 25, - "n": 10, - "offset": 0, - "partition_by": [ - 2 - ] + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 26 } } } @@ -211173,12 +300093,12 @@ ], "roots": [ 4, - 26 + 27 ] }, - "from_logical": "L69", - "id": "P69", - "label": "Q1 exact (Sum acc) · Q2 exact (Sum acc · tumbling 10s panes) · shared input" + "from_logical": "L75", + "id": "P75-m1", + "label": "Q1 exact (Sum acc) · Q2 CountSketch+heap (Sum acc · tumbling 10s panes) · shared input · ingestion time: exact Sum ×6 panes" }, { "dag": { @@ -211344,108 +300264,53 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "producer": 3, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 5, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 1, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 4, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -211495,12 +300360,12 @@ ] ] }, - "producer": 5, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 6, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -211546,7 +300411,7 @@ ] ] }, - "producer": 6, + "producer": 5, "role": "Input", "window": "NotApplicable" } @@ -211906,77 +300771,6 @@ { "guarantee": null, "id": 5, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 6, "output_schema": { "closed": true, "fields": [ @@ -212024,7 +300818,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 5, + "child": 1, "family": { "Sketch": [ { @@ -212068,7 +300862,7 @@ }, { "guarantee": null, - "id": 7, + "id": 6, "output_schema": { "closed": true, "fields": [ @@ -212117,7 +300911,7 @@ "k": 10 } }, - "summary_input": 6 + "summary_input": 5 } } } @@ -212125,12 +300919,12 @@ ], "roots": [ 4, - 7 + 6 ] }, - "from_logical": "L70", - "id": "P70", - "label": "Q1 exact (Sum acc) · Q2 CMS+heap · shared input" + "from_logical": "L76", + "id": "P76", + "label": "Q1 exact (Sum acc) · Q2 whole-expression CMS+heap · shared input" }, { "dag": { @@ -212403,119 +301197,6 @@ "timing": "query_time" }, "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 7, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 8, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ @@ -212531,13 +301212,13 @@ "dtype": { "Sketch": [ { - "algorithm": "CmsWithHeap", + "algorithm": "CountSketchWithHeap", "category": "TopK", "params": { - "CmsWithHeap": { - "depth": 7, + "CountSketchWithHeap": { + "depth": 125, "heap_size": 100, - "width": 272 + "width": 30000 } } }, @@ -212556,7 +301237,7 @@ ] ] }, - "producer": 7, + "producer": 5, "role": "Input", "window": "NotApplicable" } @@ -212916,145 +301597,6 @@ { "guarantee": null, "id": 5, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 6, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 5 - } - } - } - }, - { - "guarantee": null, - "id": 7, "output_schema": { "closed": true, "fields": [ @@ -213070,13 +301612,13 @@ "dtype": { "Sketch": [ { - "algorithm": "CmsWithHeap", + "algorithm": "CountSketchWithHeap", "category": "TopK", "params": { - "CmsWithHeap": { - "depth": 7, + "CountSketchWithHeap": { + "depth": 125, "heap_size": 100, - "width": 272 + "width": 30000 } } }, @@ -213102,17 +301644,17 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 6, + "child": 1, "family": { "Sketch": [ { - "algorithm": "CmsWithHeap", + "algorithm": "CountSketchWithHeap", "category": "TopK", "params": { - "CmsWithHeap": { - "depth": 7, + "CountSketchWithHeap": { + "depth": 125, "heap_size": 100, - "width": 272 + "width": 30000 } } }, @@ -213146,7 +301688,7 @@ }, { "guarantee": null, - "id": 8, + "id": 6, "output_schema": { "closed": true, "fields": [ @@ -213195,7 +301737,7 @@ "k": 10 } }, - "summary_input": 7 + "summary_input": 5 } } } @@ -213203,12 +301745,12 @@ ], "roots": [ 4, - 8 + 6 ] }, - "from_logical": "L71", - "id": "P71", - "label": "Q1 exact (Sum acc) · Q2 CMS+heap (Sum acc) · shared input" + "from_logical": "L77", + "id": "P77", + "label": "Q1 exact (Sum acc) · Q2 whole-expression CountSketch+heap · shared input" }, { "dag": { @@ -213325,6 +301867,64 @@ }, { "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -213374,12 +301974,12 @@ ] ] }, - "producer": 2, + "producer": 3, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 5, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -213415,12 +302015,12 @@ ] ] }, - "producer": 3, + "producer": 4, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 6, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -213470,12 +302070,12 @@ ] ] }, - "producer": 0, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 7, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -213525,12 +302125,12 @@ ] ] }, - "producer": 5, + "producer": 6, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 8, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -213580,18 +302180,16 @@ ] ] }, - "producer": 6, + "producer": 7, "role": "Input", "window": "NotApplicable" - }, + } + ], + "nodes": [ { - "consumer": 8, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 0, + "output_schema": { "closed": true, "fields": [ { @@ -213635,18 +302233,71 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 9, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { "closed": true, "fields": [ { @@ -213690,18 +302341,107 @@ ] ] }, - "producer": 8, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } }, { - "consumer": 10, - "data_state": { - "primitive": "Raw", + "guarantee": null, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { "closed": true, "fields": [ { @@ -213745,18 +302485,131 @@ ] ] }, - "producer": 9, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } }, { - "consumer": 11, - "data_state": { + "guarantee": null, + "id": 4, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { "closed": true, "fields": [ { @@ -213800,18 +302653,34 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 12, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { "closed": true, "fields": [ { @@ -213855,18 +302724,34 @@ ] ] }, - "producer": 11, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 13, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Sort": { + "child": 6, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], + "partition_by": [ + 2 + ] + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { "closed": true, "fields": [ { @@ -213910,12 +302795,38 @@ ] ] }, - "producer": 12, - "role": "Input", - "window": "NotApplicable" - }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Limit": { + "child": 7, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] + } + } + } + } + ], + "roots": [ + 5, + 8 + ] + }, + "from_logical": "L78", + "id": "P78", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 exact · shared input" + }, + { + "dag": { + "edges": [ { - "consumer": 14, + "consumer": 1, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -213970,7 +302881,7 @@ "window": "NotApplicable" }, { - "consumer": 15, + "consumer": 2, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -214020,14 +302931,14 @@ ] ] }, - "producer": 14, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 16, + "consumer": 3, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -214044,9 +302955,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -214075,12 +302989,12 @@ ] ] }, - "producer": 15, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 17, + "consumer": 4, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -214130,36 +303044,20 @@ ] ] }, - "producer": 0, + "producer": 3, "role": "Input", "window": "NotApplicable" }, { - "consumer": 18, + "consumer": 5, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -214170,27 +303068,29 @@ }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 17, + "producer": 4, "role": "Input", "window": "NotApplicable" }, { - "consumer": 19, + "consumer": 6, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -214240,14 +303140,14 @@ ] ] }, - "producer": 18, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 20, + "consumer": 7, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -214264,9 +303164,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -214295,12 +303198,12 @@ ] ] }, - "producer": 0, + "producer": 6, "role": "Input", "window": "NotApplicable" }, { - "consumer": 21, + "consumer": 8, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -214350,12 +303253,12 @@ ] ] }, - "producer": 20, + "producer": 7, "role": "Input", "window": "NotApplicable" }, { - "consumer": 22, + "consumer": 9, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -214405,18 +303308,16 @@ ] ] }, - "producer": 21, + "producer": 8, "role": "Input", "window": "NotApplicable" - }, + } + ], + "nodes": [ { - "consumer": 23, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 0, + "output_schema": { "closed": true, "fields": [ { @@ -214429,12 +303330,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -214463,18 +303361,71 @@ ] ] }, - "producer": 7, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 23, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { "closed": true, "fields": [ { @@ -214487,12 +303438,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -214521,18 +303469,27 @@ ] ] }, - "producer": 10, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 23, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { "closed": true, "fields": [ { @@ -214546,8 +303503,8 @@ { "dtype": { "ExactAggregate": [ - "Sum", - "Sum" + "Rate", + "Rate" ] }, "name": "state", @@ -214579,18 +303536,40 @@ ] ] }, - "producer": 13, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 23, - "data_state": { + "output_state": { "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { "closed": true, "fields": [ { @@ -214603,12 +303582,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -214637,26 +303613,30 @@ ] ] }, - "producer": 16, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 23, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { @@ -214669,7 +303649,55 @@ "name": "state", "nullable": false, "table": null - }, + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ { "dtype": { "Plain": "utf8" @@ -214680,33 +303708,36 @@ }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "sum", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 19, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 23, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { "closed": true, "fields": [ { @@ -214753,18 +303784,40 @@ ] ] }, - "producer": 22, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 24, - "data_state": { + "output_state": { "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { "closed": true, "fields": [ { @@ -214777,12 +303830,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -214811,18 +303861,22 @@ ] ] }, - "producer": 23, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 25, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 6 + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { "closed": true, "fields": [ { @@ -214866,66 +303920,33 @@ ] ] }, - "producer": 24, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 26, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } + "payload": { + "NonASAP": { + "Sort": { + "child": 7, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 }, - "PerSubpopulationInstance" - ] - }, - "name": "state", - "nullable": false, - "table": null + "nulls_first": false + } + ], + "partition_by": [ + 2 + ] } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "producer": 25, - "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + } + } + }, { "guarantee": null, - "id": 0, + "id": 9, "output_schema": { "closed": true, "fields": [ @@ -214976,65 +303997,38 @@ }, "payload": { "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } + "Limit": { + "child": 8, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] } } } - }, + } + ], + "roots": [ + 5, + 9 + ] + }, + "from_logical": "L79", + "id": "P79", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 exact (Sum acc) · shared input" + }, + { + "dag": { + "edges": [ { - "guarantee": null, - "id": 1, - "output_schema": { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -215078,27 +304072,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } - }, - { - "guarantee": null, - "id": 2, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -215142,102 +304127,39 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } + "producer": 1, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 3, - "output_schema": { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { "ExactAggregate": [ - "Sum", - "Sum" + "Rate", + "Rate" ] }, "name": "state", "nullable": false, "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 2, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 4, - "output_schema": { - "closed": true, - "fields": [ + }, { "dtype": { "Plain": "utf8" @@ -215248,36 +304170,33 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 3 - } - } - } - }, - { - "guarantee": null, - "id": 5, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -215321,26 +304240,59 @@ ] ] }, - "output_state": { - "primitive": "Raw", + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 0 - } + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null } - } - } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 6, - "output_schema": { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -215384,27 +304336,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 5, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 7, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -215417,12 +304360,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -215451,40 +304391,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 6, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 6, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 8, - "output_schema": { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -215528,26 +304446,18 @@ ] ] }, - "output_state": { + "producer": 7, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 10000 - } - } - } - } - }, - { - "guarantee": null, - "id": 9, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -215591,27 +304501,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 8, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 10, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -215624,12 +304525,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -215658,40 +304556,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 9, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 9, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 11, - "output_schema": { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -215735,26 +304611,18 @@ ] ] }, - "output_state": { + "producer": 10, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 12, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 20000 - } - } - } - } - }, - { - "guarantee": null, - "id": 12, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -215798,27 +304666,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 13, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 11, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 13, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -215831,12 +304690,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -215865,40 +304721,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 12, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 12, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 14, - "output_schema": { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -215942,26 +304776,18 @@ ] ] }, - "output_state": { + "producer": 13, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 15, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 30000 - } - } - } - } - }, - { - "guarantee": null, - "id": 15, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -216005,27 +304831,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 16, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 14, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 16, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -216038,12 +304855,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -216072,40 +304886,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 15, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 15, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 17, - "output_schema": { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -216149,26 +304941,18 @@ ] ] }, - "output_state": { + "producer": 16, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 18, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 40000 - } - } - } - } - }, - { - "guarantee": null, - "id": 18, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -216212,27 +304996,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 19, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 17, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 19, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -216245,12 +305020,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -216279,40 +305051,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 18, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 18, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 20, - "output_schema": { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -216356,26 +305106,18 @@ ] ] }, - "output_state": { + "producer": 19, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 21, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 50000 - } - } - } - } - }, - { - "guarantee": null, - "id": 21, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -216419,27 +305161,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 22, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 20, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 22, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -216452,12 +305185,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -216486,40 +305216,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 21, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 21, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 23, - "output_schema": { + "consumer": 23, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -216532,12 +305240,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -216566,29 +305271,18 @@ ] ] }, - "output_state": { + "producer": 22, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { "primitive": "SummaryState", "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryMerge": { - "children": [ - 7, - 10, - 13, - 16, - 19, - 22 - ] - } - } - } - }, - { - "guarantee": null, - "id": 24, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -216601,9 +305295,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -216632,116 +305329,39 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 23 - } - } - } + "producer": 8, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 25, - "output_schema": { + "consumer": 24, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" + "ExactAggregate": [ + "Sum", + "Sum" ] }, "name": "state", "nullable": false, "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 24, - "family": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 26, - "output_schema": { - "closed": true, - "fields": [ + }, { "dtype": { "Plain": "utf8" @@ -216757,58 +305377,24 @@ "name": "$promql_series_identity", "nullable": false, "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 25 - } - } - } - } - ], - "roots": [ - 4, - 26 - ] - }, - "from_logical": "L72", - "id": "P72", - "label": "Q1 exact (Sum acc) · Q2 CMS+heap (Sum acc · tumbling 10s panes) · shared input" - }, - { - "dag": { - "edges": [ + "producer": 11, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -216825,9 +305411,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -216856,14 +305445,14 @@ ] ] }, - "producer": 0, + "producer": 14, "role": "Input", "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -216880,9 +305469,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -216911,14 +305503,14 @@ ] ] }, - "producer": 1, + "producer": 17, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -216935,9 +305527,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -216966,12 +305561,12 @@ ] ] }, - "producer": 2, + "producer": 20, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 24, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -216982,10 +305577,10 @@ "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { @@ -216998,23 +305593,40 @@ "name": "state", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 3, + "producer": 23, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 25, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -217031,9 +305643,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -217062,12 +305677,12 @@ ] ] }, - "producer": 1, + "producer": 24, "role": "Input", "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 26, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -217117,20 +305732,36 @@ ] ] }, - "producer": 5, + "producer": 25, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 27, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -217141,34 +305772,22 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 6, + "producer": 26, "role": "Input", "window": "NotApplicable" } @@ -217348,7 +305967,87 @@ }, { "guarantee": null, - "id": 2, + "id": 2, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, "output_schema": { "closed": true, "fields": [ @@ -217398,27 +306097,16 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 } } } }, { "guarantee": null, - "id": 3, + "id": 4, "output_schema": { "closed": true, "fields": [ @@ -217456,7 +306144,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 2, + "child": 3, "family": { "ExactAggregate": [ "Sum", @@ -217485,7 +306173,7 @@ }, { "guarantee": null, - "id": 4, + "id": 5, "output_schema": { "closed": true, "fields": [ @@ -217520,14 +306208,14 @@ "payload": { "ASAP": { "FinalizeExactAccumulator": { - "child": 3 + "child": 4 } } } }, { "guarantee": null, - "id": 5, + "id": 6, "output_schema": { "closed": true, "fields": [ @@ -217578,30 +306266,38 @@ }, "payload": { "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 0 + } } } } }, { "guarantee": null, - "id": 6, + "id": 7, "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -217612,77 +306308,33 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { - "child": 5, - "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] + "NonASAP": { + "TimeRange": { + "child": 6, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 } } } @@ -217690,81 +306342,88 @@ }, { "guarantee": null, - "id": 7, + "id": 8, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 + "SummaryAgg": { + "child": 7, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } }, - "summary_input": 6 + "reduction": "PerEntity" } } } - } - ], - "roots": [ - 4, - 7 - ] - }, - "from_logical": "L73", - "id": "P73", - "label": "Q1 exact (Sum acc) · Q2 CountSketch+heap · shared input" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 9, + "output_schema": { "closed": true, "fields": [ { @@ -217808,18 +306467,26 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 2, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { "closed": true, "fields": [ { @@ -217863,18 +306530,27 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 3, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 9, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { "closed": true, "fields": [ { @@ -217887,9 +306563,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -217918,20 +306597,58 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, - "data_state": { + "output_state": { "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 10, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -217942,35 +306659,41 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 3, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 5, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { "closed": true, "fields": [ { @@ -218014,18 +306737,27 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 6, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 12, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { "closed": true, "fields": [ { @@ -218072,18 +306804,40 @@ ] ] }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 7, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 13, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { "closed": true, "fields": [ { @@ -218127,20 +306881,44 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 8, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -218151,42 +306929,41 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 7, - "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 15, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, { "guarantee": null, - "id": 0, + "id": 17, "output_schema": { "closed": true, "fields": [ @@ -218200,9 +306977,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -218232,69 +307012,38 @@ ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] + "ASAP": { + "SummaryAgg": { + "child": 16, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" ] }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } - } + }, + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 1, + "id": 18, "output_schema": { "closed": true, "fields": [ @@ -218345,12 +307094,11 @@ }, "payload": { "NonASAP": { - "TimeRange": { + "TimeShift": { "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 + "shift": { + "at": null, + "offset_ms": 40000 } } } @@ -218358,7 +307106,7 @@ }, { "guarantee": null, - "id": 2, + "id": 19, "output_schema": { "closed": true, "fields": [ @@ -218409,35 +307157,29 @@ }, "payload": { "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + "TimeRange": { + "child": 18, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } } } } }, { "guarantee": null, - "id": 3, + "id": 20, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { @@ -218450,11 +307192,28 @@ "name": "state", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] @@ -218466,7 +307225,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 2, + "child": 19, "family": { "ExactAggregate": [ "Sum", @@ -218484,21 +307243,33 @@ "kind": "unknown_or_signed" } }, - "reduction": { - "Reduce": [ - 2 - ] - } + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 4, + "id": 21, "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -218509,16 +307280,17 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] @@ -218528,16 +307300,20 @@ "timing": "query_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 3 + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 50000 + } } } } }, { "guarantee": null, - "id": 5, + "id": 22, "output_schema": { "closed": true, "fields": [ @@ -218551,12 +307327,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -218586,38 +307359,25 @@ ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" + "NonASAP": { + "TimeRange": { + "child": 21, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } } } } }, { "guarantee": null, - "id": 6, + "id": 23, "output_schema": { "closed": true, "fields": [ @@ -218631,9 +307391,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -218663,23 +307426,60 @@ ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { "ASAP": { - "FinalizeExactAccumulator": { - "child": 5 + "SummaryAgg": { + "child": 22, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 7, + "id": 24, "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -218690,29 +307490,17 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] @@ -218723,85 +307511,63 @@ }, "payload": { "ASAP": { - "SummaryAgg": { - "child": 6, - "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } + "SummaryMerge": { + "children": [ + 8, + 11, + 14, + 17, + 20, + 23 + ] } } } }, { "guarantee": null, - "id": 8, + "id": 25, "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "value", "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, @@ -218811,38 +307577,16 @@ }, "payload": { "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 7 + "FinalizeExactAccumulator": { + "child": 24 } } } - } - ], - "roots": [ - 4, - 8 - ] - }, - "from_logical": "L74", - "id": "P74", - "label": "Q1 exact (Sum acc) · Q2 CountSketch+heap (Sum acc) · shared input" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 26, + "output_schema": { "closed": true, "fields": [ { @@ -218886,18 +307630,34 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 2, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Sort": { + "child": 25, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], + "partition_by": [ + 2 + ] + } + } + } + }, + { + "guarantee": null, + "id": 27, + "output_schema": { "closed": true, "fields": [ { @@ -218941,12 +307701,38 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Limit": { + "child": 26, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] + } + } + } + } + ], + "roots": [ + 5, + 27 + ] + }, + "from_logical": "L80", + "id": "P80", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 exact (Sum acc · tumbling 10s panes) · shared input" + }, + { + "dag": { + "edges": [ { - "consumer": 3, + "consumer": 1, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -218996,20 +307782,36 @@ ] ] }, - "producer": 2, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 2, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -219020,31 +307822,29 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 3, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 3, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -219061,9 +307861,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -219092,12 +307895,12 @@ ] ] }, - "producer": 0, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 4, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -219147,7 +307950,48 @@ ] ] }, - "producer": 5, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 4, "role": "Input", "window": "NotApplicable" }, @@ -219155,7 +307999,7 @@ "consumer": 7, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -219204,13 +308048,13 @@ }, "producer": 6, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 8, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -219257,15 +308101,15 @@ ] ] }, - "producer": 0, + "producer": 7, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 9, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -219314,13 +308158,13 @@ }, "producer": 8, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 10, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -219367,15 +308211,15 @@ ] ] }, - "producer": 9, + "producer": 6, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 11, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -219422,15 +308266,15 @@ ] ] }, - "producer": 0, + "producer": 10, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 12, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -219479,13 +308323,13 @@ }, "producer": 11, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 13, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -219532,15 +308376,15 @@ ] ] }, - "producer": 12, + "producer": 6, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 14, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -219587,15 +308431,15 @@ ] ] }, - "producer": 0, + "producer": 13, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 15, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -219644,13 +308488,13 @@ }, "producer": 14, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 16, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -219697,15 +308541,15 @@ ] ] }, - "producer": 15, + "producer": 6, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 17, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -219752,15 +308596,15 @@ ] ] }, - "producer": 0, + "producer": 16, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 18, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -219809,13 +308653,13 @@ }, "producer": 17, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 19, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -219862,15 +308706,15 @@ ] ] }, - "producer": 18, + "producer": 6, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 20, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -219917,15 +308761,15 @@ ] ] }, - "producer": 0, + "producer": 19, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 21, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -219974,13 +308818,13 @@ }, "producer": 20, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 22, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -220027,15 +308871,125 @@ ] ] }, - "producer": 21, + "producer": 6, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { "consumer": 23, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 22, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 24, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 23, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" + }, + { + "consumer": 25, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -220085,15 +309039,15 @@ ] ] }, - "producer": 7, + "producer": 9, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 25, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -220143,15 +309097,15 @@ ] ] }, - "producer": 10, + "producer": 12, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 25, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -220201,15 +309155,15 @@ ] ] }, - "producer": 13, + "producer": 15, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 25, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -220259,15 +309213,15 @@ ] ] }, - "producer": 16, + "producer": 18, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 25, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -220317,15 +309271,15 @@ ] ] }, - "producer": 19, + "producer": 21, "role": "Input", "window": "NotApplicable" }, { - "consumer": 23, + "consumer": 25, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -220375,12 +309329,12 @@ ] ] }, - "producer": 22, + "producer": 24, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 26, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -220433,12 +309387,12 @@ ] ] }, - "producer": 23, + "producer": 25, "role": "Input", "window": "NotApplicable" }, { - "consumer": 25, + "consumer": 27, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -220488,20 +309442,36 @@ ] ] }, - "producer": 24, + "producer": 26, "role": "Input", "window": "NotApplicable" }, { - "consumer": 26, + "consumer": 28, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -220512,34 +309482,22 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 25, + "producer": 27, "role": "Input", "window": "NotApplicable" } @@ -220733,9 +309691,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -220764,62 +309725,6 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" - } - } - } - }, - { - "guarantee": null, - "id": 3, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, "output_state": { "primitive": "SummaryState", "timing": "query_time" @@ -220827,11 +309732,11 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 2, + "child": 1, "family": { "ExactAggregate": [ - "Sum", - "Sum" + "Rate", + "Rate" ] }, "filter": null, @@ -220845,60 +309750,14 @@ "kind": "unknown_or_signed" } }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 4, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 3 + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 5, + "id": 3, "output_schema": { "closed": true, "fields": [ @@ -220948,39 +309807,19 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 0 - } + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 } } } }, { "guarantee": null, - "id": 6, + "id": 4, "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -220989,54 +309828,6 @@ "nullable": true, "table": null }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 5, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 7, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, { "dtype": { "ExactAggregate": [ @@ -221047,28 +309838,11 @@ "name": "state", "nullable": false, "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -221080,7 +309854,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 6, + "child": 3, "family": { "ExactAggregate": [ "Sum", @@ -221098,33 +309872,21 @@ "kind": "unknown_or_signed" } }, - "reduction": "PerEntity" + "reduction": { + "Reduce": [ + 2 + ] + } } } } }, { "guarantee": null, - "id": 8, + "id": 5, "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -221135,17 +309897,16 @@ }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "sum", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -221155,20 +309916,16 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 10000 - } + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 } } } }, { "guarantee": null, - "id": 9, + "id": 6, "output_schema": { "closed": true, "fields": [ @@ -221215,104 +309972,68 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { - "TimeRange": { - "child": 8, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 10, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 9, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] ] }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - }, - "reduction": "PerEntity" + } } } } }, { "guarantee": null, - "id": 11, + "id": 7, "output_schema": { "closed": true, "fields": [ @@ -221359,15 +310080,15 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 0, + "child": 6, "shift": { "at": null, - "offset_ms": 20000 + "offset_ms": 0 } } } @@ -221375,7 +310096,7 @@ }, { "guarantee": null, - "id": 12, + "id": 8, "output_schema": { "closed": true, "fields": [ @@ -221422,12 +310143,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 11, + "child": 7, "kind": "range", "range": { "nanos": 0, @@ -221439,7 +310160,7 @@ }, { "guarantee": null, - "id": 13, + "id": 9, "output_schema": { "closed": true, "fields": [ @@ -221489,12 +310210,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 12, + "child": 8, "family": { "ExactAggregate": [ "Sum", @@ -221519,7 +310240,7 @@ }, { "guarantee": null, - "id": 14, + "id": 10, "output_schema": { "closed": true, "fields": [ @@ -221566,15 +310287,15 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 0, + "child": 6, "shift": { "at": null, - "offset_ms": 30000 + "offset_ms": 10000 } } } @@ -221582,7 +310303,7 @@ }, { "guarantee": null, - "id": 15, + "id": 11, "output_schema": { "closed": true, "fields": [ @@ -221629,12 +310350,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 14, + "child": 10, "kind": "range", "range": { "nanos": 0, @@ -221646,7 +310367,7 @@ }, { "guarantee": null, - "id": 16, + "id": 12, "output_schema": { "closed": true, "fields": [ @@ -221696,12 +310417,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 15, + "child": 11, "family": { "ExactAggregate": [ "Sum", @@ -221726,7 +310447,7 @@ }, { "guarantee": null, - "id": 17, + "id": 13, "output_schema": { "closed": true, "fields": [ @@ -221773,15 +310494,15 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 0, + "child": 6, "shift": { "at": null, - "offset_ms": 40000 + "offset_ms": 20000 } } } @@ -221789,7 +310510,7 @@ }, { "guarantee": null, - "id": 18, + "id": 14, "output_schema": { "closed": true, "fields": [ @@ -221836,12 +310557,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 17, + "child": 13, "kind": "range", "range": { "nanos": 0, @@ -221853,7 +310574,7 @@ }, { "guarantee": null, - "id": 19, + "id": 15, "output_schema": { "closed": true, "fields": [ @@ -221903,12 +310624,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 18, + "child": 14, "family": { "ExactAggregate": [ "Sum", @@ -221933,7 +310654,7 @@ }, { "guarantee": null, - "id": 20, + "id": 16, "output_schema": { "closed": true, "fields": [ @@ -221980,15 +310701,15 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 0, + "child": 6, "shift": { "at": null, - "offset_ms": 50000 + "offset_ms": 30000 } } } @@ -221996,7 +310717,7 @@ }, { "guarantee": null, - "id": 21, + "id": 17, "output_schema": { "closed": true, "fields": [ @@ -222043,12 +310764,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 20, + "child": 16, "kind": "range", "range": { "nanos": 0, @@ -222060,7 +310781,7 @@ }, { "guarantee": null, - "id": 22, + "id": 18, "output_schema": { "closed": true, "fields": [ @@ -222110,12 +310831,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 21, + "child": 17, "family": { "ExactAggregate": [ "Sum", @@ -222140,7 +310861,7 @@ }, { "guarantee": null, - "id": 23, + "id": 19, "output_schema": { "closed": true, "fields": [ @@ -222154,12 +310875,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -222189,27 +310907,24 @@ ] }, "output_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "payload": { - "ASAP": { - "SummaryMerge": { - "children": [ - 7, - 10, - 13, - 16, - 19, - 22 - ] + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 40000 + } } } } }, { "guarantee": null, - "id": 24, + "id": 20, "output_schema": { "closed": true, "fields": [ @@ -222256,22 +310971,46 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 23 + "NonASAP": { + "TimeRange": { + "child": 19, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } } } } }, { "guarantee": null, - "id": 25, + "id": 21, "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -222282,159 +311021,55 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 24, + "child": 20, "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" + "ExactAggregate": [ + "Sum", + "Sum" ] }, "filter": null, "grouping": "PerSubpopulationInstance", "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, + "item": null, "weight": { "Column": "SampleValue" }, "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" + "kind": "unknown_or_signed" } }, - "reduction": { - "Reduce": [ - 2 - ] - } + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 26, + "id": 22, "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0, - 1 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 25 - } - } - } - } - ], - "roots": [ - 4, - 26 - ] - }, - "from_logical": "L75", - "id": "P75", - "label": "Q1 exact (Sum acc) · Q2 CountSketch+heap (Sum acc · tumbling 10s panes) · shared input" - }, - { - "dag": { - "edges": [ - { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { "closed": true, "fields": [ { @@ -222478,18 +311113,26 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 2, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { "closed": true, "fields": [ { @@ -222533,18 +311176,27 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 3, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 22, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 24, + "output_schema": { "closed": true, "fields": [ { @@ -222557,9 +311209,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -222588,59 +311243,40 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, - "data_state": { + "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 23, + "family": { "ExactAggregate": [ "Sum", "Sum" ] }, - "name": "state", - "nullable": false, - "table": null + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "producer": 3, - "role": "Input", - "window": "NotApplicable" + } + } }, { - "consumer": 5, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 25, + "output_schema": { "closed": true, "fields": [ { @@ -222653,9 +311289,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -222684,66 +311323,28 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 6, - "data_state": { + "output_state": { "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "name": "state", - "nullable": false, - "table": null + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 9, + 12, + 15, + 18, + 21, + 24 + ] } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "producer": 5, - "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + } + } + }, { "guarantee": null, - "id": 0, + "id": 26, "output_schema": { "closed": true, "fields": [ @@ -222793,65 +311394,16 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } + "ASAP": { + "FinalizeExactAccumulator": { + "child": 25 } } } }, { "guarantee": null, - "id": 1, + "id": 27, "output_schema": { "closed": true, "fields": [ @@ -222902,20 +311454,27 @@ }, "payload": { "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } + "Sort": { + "child": 26, + "keys": [ + { + "ascending": false, + "expr": { + "Column": 1 + }, + "nulls_first": false + } + ], + "partition_by": [ + 2 + ] } } } }, { "guarantee": null, - "id": 2, + "id": 28, "output_schema": { "closed": true, "fields": [ @@ -222966,230 +311525,56 @@ }, "payload": { "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + "Limit": { + "child": 27, + "n": 10, + "offset": 0, + "partition_by": [ + 2 + ] } } } - }, + } + ], + "roots": [ + 5, + 28 + ] + }, + "from_logical": "L80", + "id": "P80-m1", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 exact (Sum acc · tumbling 10s panes) · shared input · ingestion time: exact Sum ×6 panes" + }, + { + "dag": { + "edges": [ { - "guarantee": null, - "id": 3, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", + "consumer": 1, + "data_state": { + "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 2, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 4, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { "Plain": "float64" }, - "name": "sum", + "name": "value", "nullable": false, "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 3 - } - } - } - }, - { - "guarantee": null, - "id": 5, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null }, - { - "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 6, - "output_schema": { - "closed": true, - "fields": [ { "dtype": { "Plain": "utf8" @@ -223205,56 +311590,22 @@ "name": "$promql_series_identity", "nullable": false, "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 5 - } - } - } - } - ], - "roots": [ - 4, - 6 - ] - }, - "from_logical": "L76", - "id": "P76", - "label": "Q1 exact (Sum acc) · Q2 whole-expression CMS+heap · shared input" - }, - { - "dag": { - "edges": [ + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 2, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -223304,14 +311655,14 @@ ] ] }, - "producer": 0, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 3, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -223328,9 +311679,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -223359,12 +311713,12 @@ ] ] }, - "producer": 1, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 4, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -223414,12 +311768,12 @@ ] ] }, - "producer": 2, + "producer": 3, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 5, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -223455,12 +311809,12 @@ ] ] }, - "producer": 3, + "producer": 4, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 6, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -223515,7 +311869,62 @@ "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -223536,13 +311945,13 @@ "dtype": { "Sketch": [ { - "algorithm": "CountSketchWithHeap", + "algorithm": "CmsWithHeap", "category": "TopK", "params": { - "CountSketchWithHeap": { - "depth": 125, + "CmsWithHeap": { + "depth": 7, "heap_size": 100, - "width": 30000 + "width": 272 } } }, @@ -223561,7 +311970,7 @@ ] ] }, - "producer": 5, + "producer": 7, "role": "Input", "window": "NotApplicable" } @@ -223755,9 +312164,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -223787,23 +312199,30 @@ ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { - "NonASAP": { - "Aggregate": { + "ASAP": { + "SummaryAgg": { "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "kind": "rate" + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } - ], - "output_names": [ - "" - ], + }, "reduction": "PerEntity" } } @@ -223812,6 +312231,65 @@ { "guarantee": null, "id": 3, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, "output_schema": { "closed": true, "fields": [ @@ -223849,7 +312327,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 2, + "child": 3, "family": { "ExactAggregate": [ "Sum", @@ -223878,7 +312356,7 @@ }, { "guarantee": null, - "id": 4, + "id": 5, "output_schema": { "closed": true, "fields": [ @@ -223913,14 +312391,85 @@ "payload": { "ASAP": { "FinalizeExactAccumulator": { - "child": 3 + "child": 4 } } } }, { "guarantee": null, - "id": 5, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 7, "output_schema": { "closed": true, "fields": [ @@ -223936,13 +312485,13 @@ "dtype": { "Sketch": [ { - "algorithm": "CountSketchWithHeap", + "algorithm": "CmsWithHeap", "category": "TopK", "params": { - "CountSketchWithHeap": { - "depth": 125, + "CmsWithHeap": { + "depth": 7, "heap_size": 100, - "width": 30000 + "width": 272 } } }, @@ -223968,17 +312517,17 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 1, + "child": 6, "family": { "Sketch": [ { - "algorithm": "CountSketchWithHeap", + "algorithm": "CmsWithHeap", "category": "TopK", "params": { - "CountSketchWithHeap": { - "depth": 125, + "CmsWithHeap": { + "depth": 7, "heap_size": 100, - "width": 30000 + "width": 272 } } }, @@ -224012,7 +312561,7 @@ }, { "guarantee": null, - "id": 6, + "id": 8, "output_schema": { "closed": true, "fields": [ @@ -224061,20 +312610,20 @@ "k": 10 } }, - "summary_input": 5 + "summary_input": 7 } } } } ], "roots": [ - 4, - 6 + 5, + 8 ] }, - "from_logical": "L77", - "id": "P77", - "label": "Q1 exact (Sum acc) · Q2 whole-expression CountSketch+heap · shared input" + "from_logical": "L81", + "id": "P81", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 CMS+heap · shared input" }, { "dag": { @@ -224401,7 +312950,7 @@ { "consumer": 7, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -224418,9 +312967,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -224507,6 +313059,57 @@ "producer": 7, "role": "Input", "window": "NotApplicable" + }, + { + "consumer": 9, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 8, + "role": "Input", + "window": "NotApplicable" } ], "nodes": [ @@ -224946,9 +313549,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -224978,24 +313584,30 @@ ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { - "NonASAP": { - "Aggregate": { + "ASAP": { + "SummaryAgg": { "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } - ], - "output_names": [ - "" - ], + }, "reduction": "PerEntity" } } @@ -225053,21 +313665,9 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "Sort": { - "child": 6, - "keys": [ - { - "ascending": false, - "expr": { - "Column": 1 - }, - "nulls_first": false - } - ], - "partition_by": [ - 2 - ] + "ASAP": { + "FinalizeExactAccumulator": { + "child": 6 } } } @@ -225080,20 +313680,96 @@ "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { - "Plain": "float64" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null - }, + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 7, + "family": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ { "dtype": { "Plain": "utf8" @@ -225109,13 +313785,21 @@ "name": "$promql_series_identity", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, @@ -225124,14 +313808,14 @@ "timing": "query_time" }, "payload": { - "NonASAP": { - "Limit": { - "child": 7, - "n": 10, - "offset": 0, - "partition_by": [ - 2 - ] + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 8 } } } @@ -225139,12 +313823,12 @@ ], "roots": [ 5, - 8 + 9 ] }, - "from_logical": "L78", - "id": "P78", - "label": "Q1 exact (Sum acc, Rate acc) · Q2 exact · shared input" + "from_logical": "L82", + "id": "P82", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 CMS+heap (Sum acc) · shared input" }, { "dag": { @@ -225464,14 +314148,14 @@ ] ] }, - "producer": 1, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { "consumer": 7, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -225488,12 +314172,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -225632,16 +314313,18 @@ ] ] }, - "producer": 8, + "producer": 0, "role": "Input", "window": "NotApplicable" - } - ], - "nodes": [ + }, { - "guarantee": null, - "id": 0, - "output_schema": { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -225685,71 +314368,18 @@ ] ] }, - "output_state": { + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } - } - } - } - } - }, - { - "guarantee": null, - "id": 1, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -225793,27 +314423,18 @@ ] ] }, - "output_state": { + "producer": 10, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 12, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 0, - "kind": "range", - "range": { - "nanos": 0, - "secs": 60 - } - } - } - } - }, - { - "guarantee": null, - "id": 2, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -225826,12 +314447,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -225860,40 +314478,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "ExactAggregate": [ - "Rate", - "Rate" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 0, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 3, - "output_schema": { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -225937,24 +314533,36 @@ ] ] }, - "output_state": { + "producer": 12, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 14, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - } - }, - { - "guarantee": null, - "id": 4, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -225965,63 +314573,51 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 3, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } + "producer": 13, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 5, - "output_schema": { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -226032,36 +314628,33 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 16, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 - } - } - } - }, - { - "guarantee": null, - "id": 6, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -226074,12 +314667,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -226108,40 +314698,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 15, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 7, - "output_schema": { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -226185,22 +314753,18 @@ ] ] }, - "output_state": { + "producer": 16, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 18, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 6 - } - } - } - }, - { - "guarantee": null, - "id": 8, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -226244,34 +314808,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 19, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "Sort": { - "child": 7, - "keys": [ - { - "ascending": false, - "expr": { - "Column": 1 - }, - "nulls_first": false - } - ], - "partition_by": [ - 2 - ] - } - } - } - }, - { - "guarantee": null, - "id": 9, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -226315,38 +314863,12 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Limit": { - "child": 8, - "n": 10, - "offset": 0, - "partition_by": [ - 2 - ] - } - } - } - } - ], - "roots": [ - 5, - 9 - ] - }, - "from_logical": "L79", - "id": "P79", - "label": "Q1 exact (Sum acc, Rate acc) · Q2 exact (Sum acc) · shared input" - }, - { - "dag": { - "edges": [ + "producer": 18, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 20, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -226396,12 +314918,12 @@ ] ] }, - "producer": 0, + "producer": 19, "role": "Input", "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 21, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -226451,14 +314973,14 @@ ] ] }, - "producer": 1, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 22, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -226475,12 +314997,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -226509,12 +315028,12 @@ ] ] }, - "producer": 2, + "producer": 21, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 23, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -226564,12 +315083,12 @@ ] ] }, - "producer": 3, + "producer": 22, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 24, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -226580,10 +315099,10 @@ "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { @@ -226596,23 +315115,40 @@ "name": "state", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 4, + "producer": 8, "role": "Input", "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -226629,9 +315165,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -226660,14 +315199,14 @@ ] ] }, - "producer": 0, + "producer": 11, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -226684,9 +315223,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -226715,14 +315257,14 @@ ] ] }, - "producer": 6, + "producer": 14, "role": "Input", "window": "NotApplicable" }, { - "consumer": 8, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -226739,9 +315281,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -226770,14 +315315,14 @@ ] ] }, - "producer": 7, + "producer": 17, "role": "Input", "window": "NotApplicable" }, { - "consumer": 9, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -226794,9 +315339,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -226825,14 +315373,14 @@ ] ] }, - "producer": 0, + "producer": 20, "role": "Input", "window": "NotApplicable" }, { - "consumer": 10, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -226849,9 +315397,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -226880,14 +315431,14 @@ ] ] }, - "producer": 9, + "producer": 23, "role": "Input", "window": "NotApplicable" }, { - "consumer": 11, + "consumer": 25, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -226904,9 +315455,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -226935,12 +315489,12 @@ ] ] }, - "producer": 10, + "producer": 24, "role": "Input", "window": "NotApplicable" }, { - "consumer": 12, + "consumer": 26, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -226990,18 +315544,67 @@ ] ] }, - "producer": 0, + "producer": 25, "role": "Input", "window": "NotApplicable" }, { - "consumer": 13, + "consumer": 27, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 26, + "role": "Input", + "window": "NotApplicable" + } + ], + "nodes": [ + { + "guarantee": null, + "id": 0, + "output_schema": { "closed": true, "fields": [ { @@ -227045,18 +315648,71 @@ ] ] }, - "producer": 12, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 14, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } + } + } + } + }, + { + "guarantee": null, + "id": 1, + "output_schema": { "closed": true, "fields": [ { @@ -227100,18 +315756,27 @@ ] ] }, - "producer": 13, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 15, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { "closed": true, "fields": [ { @@ -227124,9 +315789,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -227155,18 +315823,40 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 16, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 3, + "output_schema": { "closed": true, "fields": [ { @@ -227210,36 +315900,91 @@ ] ] }, - "producer": 15, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 17, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null - }, + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ { "dtype": { "Plain": "utf8" @@ -227250,33 +315995,36 @@ }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "sum", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 16, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 18, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { "closed": true, "fields": [ { @@ -227320,18 +316068,26 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 19, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 0 + } + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { "closed": true, "fields": [ { @@ -227375,18 +316131,27 @@ ] ] }, - "producer": 18, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 20, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 6, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { "closed": true, "fields": [ { @@ -227399,9 +316164,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -227430,18 +316198,40 @@ ] ] }, - "producer": 19, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 21, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 7, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { "closed": true, "fields": [ { @@ -227485,18 +316275,26 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 22, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { "closed": true, "fields": [ { @@ -227540,18 +316338,27 @@ ] ] }, - "producer": 21, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 23, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 9, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { "closed": true, "fields": [ { @@ -227564,9 +316371,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -227595,18 +316405,40 @@ ] ] }, - "producer": 22, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 24, - "data_state": { + "output_state": { "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 10, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { "closed": true, "fields": [ { @@ -227619,12 +316451,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -227653,18 +316482,26 @@ ] ] }, - "producer": 8, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 24, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { "closed": true, "fields": [ { @@ -227677,12 +316514,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -227711,18 +316545,27 @@ ] ] }, - "producer": 11, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 24, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 12, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { "closed": true, "fields": [ { @@ -227769,18 +316612,40 @@ ] ] }, - "producer": 14, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 24, - "data_state": { + "output_state": { "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 13, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { "closed": true, "fields": [ { @@ -227793,12 +316658,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -227827,18 +316689,26 @@ ] ] }, - "producer": 17, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 24, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { "closed": true, "fields": [ { @@ -227851,12 +316721,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -227885,18 +316752,27 @@ ] ] }, - "producer": 20, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 24, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 15, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { "closed": true, "fields": [ { @@ -227943,18 +316819,40 @@ ] ] }, - "producer": 23, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 25, - "data_state": { + "output_state": { "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 16, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 18, + "output_schema": { "closed": true, "fields": [ { @@ -227967,12 +316865,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -228001,18 +316896,26 @@ ] ] }, - "producer": 24, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 26, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 40000 + } + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { "closed": true, "fields": [ { @@ -228056,18 +316959,27 @@ ] ] }, - "producer": 25, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 27, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 18, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 20, + "output_schema": { "closed": true, "fields": [ { @@ -228080,9 +316992,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -228111,15 +317026,39 @@ ] ] }, - "producer": 26, - "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 19, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, { "guarantee": null, - "id": 0, + "id": 21, "output_schema": { "closed": true, "fields": [ @@ -228170,56 +317109,11 @@ }, "payload": { "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 50000 } } } @@ -228227,7 +317121,7 @@ }, { "guarantee": null, - "id": 1, + "id": 22, "output_schema": { "closed": true, "fields": [ @@ -228279,11 +317173,11 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 0, + "child": 21, "kind": "range", "range": { "nanos": 0, - "secs": 60 + "secs": 10 } } } @@ -228291,7 +317185,7 @@ }, { "guarantee": null, - "id": 2, + "id": 23, "output_schema": { "closed": true, "fields": [ @@ -228306,8 +317200,8 @@ { "dtype": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "name": "state", @@ -228346,11 +317240,11 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 1, + "child": 22, "family": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "filter": null, @@ -228371,7 +317265,76 @@ }, { "guarantee": null, - "id": 3, + "id": 24, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryMerge": { + "children": [ + 8, + 11, + 14, + 17, + 20, + 23 + ] + } + } + } + }, + { + "guarantee": null, + "id": 25, "output_schema": { "closed": true, "fields": [ @@ -228423,14 +317386,14 @@ "payload": { "ASAP": { "FinalizeExactAccumulator": { - "child": 2 + "child": 24 } } } }, { "guarantee": null, - "id": 4, + "id": 26, "output_schema": { "closed": true, "fields": [ @@ -228444,9 +317407,19 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" ] }, "name": "state", @@ -228468,22 +317441,37 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 3, + "child": 25, "family": { - "ExactAggregate": [ - "Sum", - "Sum" + "Sketch": [ + { + "algorithm": "CmsWithHeap", + "category": "TopK", + "params": { + "CmsWithHeap": { + "depth": 7, + "heap_size": 100, + "width": 272 + } + } + }, + "PerSubpopulationInstance" ] }, "filter": null, "grouping": "PerSubpopulationInstance", "input": { - "item": null, + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, "weight": { "Column": "SampleValue" }, "weight_domain": { - "kind": "unknown_or_signed" + "kind": "non_negative", + "proof": "counter_samples" } }, "reduction": { @@ -228497,7 +317485,7 @@ }, { "guarantee": null, - "id": 5, + "id": 27, "output_schema": { "closed": true, "fields": [ @@ -228509,11 +317497,19 @@ "nullable": true, "table": null }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "float64" }, - "name": "sum", + "name": "value", "nullable": false, "table": null } @@ -228521,7 +317517,8 @@ "time_index": null, "unique_keys": [ [ - 0 + 0, + 1 ] ] }, @@ -228531,16 +317528,38 @@ }, "payload": { "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 26 } } } - }, + } + ], + "roots": [ + 5, + 27 + ] + }, + "from_logical": "L83", + "id": "P83", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 CMS+heap (Sum acc · tumbling 10s panes) · shared input" + }, + { + "dag": { + "edges": [ { - "guarantee": null, - "id": 6, - "output_schema": { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -228584,26 +317603,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 0 - } - } - } - } - }, - { - "guarantee": null, - "id": 7, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -228647,27 +317658,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 6, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 1, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 8, - "output_schema": { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -228681,8 +317683,8 @@ { "dtype": { "ExactAggregate": [ - "Sum", - "Sum" + "Rate", + "Rate" ] }, "name": "state", @@ -228714,40 +317716,114 @@ ] ] }, - "output_state": { + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { "primitive": "SummaryState", "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 7, - "family": { + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { "ExactAggregate": [ "Sum", "Sum" ] }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" + "name": "state", + "nullable": false, + "table": null } - } - } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 9, - "output_schema": { + "consumer": 7, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -228791,26 +317867,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 10000 - } - } - } - } + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 10, - "output_schema": { + "consumer": 8, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -228854,27 +317922,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 9, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 7, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 11, - "output_schema": { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -228887,12 +317946,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -228921,40 +317977,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 10, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 8, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 12, - "output_schema": { + "consumer": 10, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -228998,26 +318032,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 20000 - } - } - } - } + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 13, - "output_schema": { + "consumer": 11, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -229061,27 +318087,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 12, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 10, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 14, - "output_schema": { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -229094,12 +318111,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -229128,40 +318142,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 13, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 11, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 15, - "output_schema": { + "consumer": 13, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -229205,26 +318197,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 30000 - } - } - } - } + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 16, - "output_schema": { + "consumer": 14, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -229268,27 +318252,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 15, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 13, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 17, - "output_schema": { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -229301,12 +318276,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -229335,40 +318307,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 16, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 14, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 18, - "output_schema": { + "consumer": 16, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -229412,26 +318362,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 40000 - } - } - } - } + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 19, - "output_schema": { + "consumer": 17, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -229475,27 +318417,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 18, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 16, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 20, - "output_schema": { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -229508,12 +318441,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -229542,40 +318472,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 19, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 17, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 21, - "output_schema": { + "consumer": 19, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -229619,26 +318527,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 50000 - } - } - } - } + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 22, - "output_schema": { + "consumer": 20, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -229682,27 +318582,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 21, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } + "producer": 19, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 23, - "output_schema": { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -229715,12 +318606,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -229749,40 +318637,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 22, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 20, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 24, - "output_schema": { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -229795,12 +318661,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -229829,29 +318692,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryMerge": { - "children": [ - 8, - 11, - 14, - 17, - 20, - 23 - ] - } - } - } + "producer": 6, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 25, - "output_schema": { + "consumer": 23, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -229895,22 +318747,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 24 - } - } - } + "producer": 22, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 26, - "output_schema": { + "consumer": 24, + "data_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -229954,34 +318802,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Sort": { - "child": 25, - "keys": [ - { - "ascending": false, - "expr": { - "Column": 1 - }, - "nulls_first": false - } - ], - "partition_by": [ - 2 - ] - } - } - } + "producer": 23, + "role": "Input", + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "guarantee": null, - "id": 27, - "output_schema": { + "consumer": 25, + "data_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -229994,9 +318826,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -230025,41 +318860,15 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "Limit": { - "child": 26, - "n": 10, - "offset": 0, - "partition_by": [ - 2 - ] - } - } - } - } - ], - "roots": [ - 5, - 27 - ] - }, - "from_logical": "L80", - "id": "P80", - "label": "Q1 exact (Sum acc, Rate acc) · Q2 exact (Sum acc · tumbling 10s panes) · shared input" - }, - { - "dag": { - "edges": [ + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 25, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -230075,9 +318884,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -230106,15 +318918,15 @@ ] ] }, - "producer": 0, + "producer": 12, "role": "Input", "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 25, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -230130,9 +318942,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -230161,15 +318976,15 @@ ] ] }, - "producer": 1, + "producer": 15, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 25, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -230186,8 +319001,8 @@ { "dtype": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "name": "state", @@ -230219,15 +319034,15 @@ ] ] }, - "producer": 2, + "producer": 18, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 25, "data_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -230243,9 +319058,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -230274,15 +319092,15 @@ ] ] }, - "producer": 3, + "producer": 21, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 25, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -230290,10 +319108,10 @@ "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { @@ -230306,23 +319124,40 @@ "name": "state", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 4, + "producer": 24, "role": "Input", "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 26, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -230339,9 +319174,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -230370,12 +319208,12 @@ ] ] }, - "producer": 1, + "producer": 25, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 27, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -230425,12 +319263,12 @@ ] ] }, - "producer": 6, + "producer": 26, "role": "Input", "window": "NotApplicable" }, { - "consumer": 8, + "consumer": 28, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -230476,7 +319314,7 @@ ] ] }, - "producer": 7, + "producer": 27, "role": "Input", "window": "NotApplicable" } @@ -230951,24 +319789,61 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + } } } } @@ -230979,6 +319854,22 @@ "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -230989,77 +319880,32 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "payload": { - "ASAP": { - "SummaryAgg": { + "NonASAP": { + "TimeShift": { "child": 6, - "family": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] + "shift": { + "at": null, + "offset_ms": 0 } } } @@ -231073,75 +319919,66 @@ "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "value", "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 7 + "NonASAP": { + "TimeRange": { + "child": 7, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } } } } - } - ], - "roots": [ - 5, - 8 - ] - }, - "from_logical": "L81", - "id": "P81", - "label": "Q1 exact (Sum acc, Rate acc) · Q2 CMS+heap · shared input" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 9, + "output_schema": { "closed": true, "fields": [ { @@ -231154,9 +319991,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -231185,18 +320025,40 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 8, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 2, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 10, + "output_schema": { "closed": true, "fields": [ { @@ -231240,18 +320102,26 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } }, { - "consumer": 3, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 11, + "output_schema": { "closed": true, "fields": [ { @@ -231264,12 +320134,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Rate", - "Rate" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -231298,18 +320165,27 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 10, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { "closed": true, "fields": [ { @@ -231322,9 +320198,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -231353,20 +320232,58 @@ ] ] }, - "producer": 3, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 5, - "data_state": { + "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 11, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -231377,35 +320294,41 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 6, - "data_state": { + "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { "closed": true, "fields": [ { @@ -231449,18 +320372,27 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 13, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } }, { - "consumer": 7, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 15, + "output_schema": { "closed": true, "fields": [ { @@ -231507,18 +320439,40 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 14, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } }, { - "consumer": 8, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 16, + "output_schema": { "closed": true, "fields": [ { @@ -231562,20 +320516,44 @@ ] ] }, - "producer": 7, - "role": "Input", - "window": "NotApplicable" + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } }, { - "consumer": 9, - "data_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 17, + "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -231586,42 +320564,41 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 8, - "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 16, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, { "guarantee": null, - "id": 0, + "id": 18, "output_schema": { "closed": true, "fields": [ @@ -231635,9 +320612,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -231667,61 +320647,93 @@ ] }, "output_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "payload": { - "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] + "ASAP": { + "SummaryAgg": { + "child": 17, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" ] }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 19, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 40000 } } } @@ -231729,7 +320741,7 @@ }, { "guarantee": null, - "id": 1, + "id": 20, "output_schema": { "closed": true, "fields": [ @@ -231776,16 +320788,16 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 0, + "child": 19, "kind": "range", "range": { "nanos": 0, - "secs": 60 + "secs": 10 } } } @@ -231793,7 +320805,7 @@ }, { "guarantee": null, - "id": 2, + "id": 21, "output_schema": { "closed": true, "fields": [ @@ -231808,8 +320820,8 @@ { "dtype": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "name": "state", @@ -231843,16 +320855,16 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 1, + "child": 20, "family": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "filter": null, @@ -231873,7 +320885,7 @@ }, { "guarantee": null, - "id": 3, + "id": 22, "output_schema": { "closed": true, "fields": [ @@ -231920,22 +320932,42 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 50000 + } } } } }, { "guarantee": null, - "id": 4, + "id": 23, "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -231946,52 +320978,33 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { - "primitive": "SummaryState", - "timing": "query_time" + "primitive": "Raw", + "timing": "ingestion_time" }, "payload": { - "ASAP": { - "SummaryAgg": { - "child": 3, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": { - "Reduce": [ - 2 - ] + "NonASAP": { + "TimeRange": { + "child": 22, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 } } } @@ -231999,10 +321012,29 @@ }, { "guarantee": null, - "id": 5, + "id": 24, "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -232013,35 +321045,54 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { - "primitive": "Raw", - "timing": "query_time" + "primitive": "SummaryState", + "timing": "ingestion_time" }, "payload": { "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 + "SummaryAgg": { + "child": 23, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 6, + "id": 25, "output_schema": { "closed": true, "fields": [ @@ -232095,33 +321146,22 @@ }, "payload": { "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" + "SummaryMerge": { + "children": [ + 9, + 12, + 15, + 18, + 21, + 24 + ] } } } }, { "guarantee": null, - "id": 7, + "id": 26, "output_schema": { "closed": true, "fields": [ @@ -232173,14 +321213,14 @@ "payload": { "ASAP": { "FinalizeExactAccumulator": { - "child": 6 + "child": 25 } } } }, { "guarantee": null, - "id": 8, + "id": 27, "output_schema": { "closed": true, "fields": [ @@ -232228,7 +321268,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 7, + "child": 26, "family": { "Sketch": [ { @@ -232272,7 +321312,7 @@ }, { "guarantee": null, - "id": 9, + "id": 28, "output_schema": { "closed": true, "fields": [ @@ -232321,7 +321361,7 @@ "k": 10 } }, - "summary_input": 8 + "summary_input": 27 } } } @@ -232329,12 +321369,12 @@ ], "roots": [ 5, - 9 + 28 ] }, - "from_logical": "L82", - "id": "P82", - "label": "Q1 exact (Sum acc, Rate acc) · Q2 CMS+heap (Sum acc) · shared input" + "from_logical": "L83", + "id": "P83-m1", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 CMS+heap (Sum acc · tumbling 10s panes) · shared input · ingestion time: exact Sum ×6 panes" }, { "dag": { @@ -232654,7 +321694,7 @@ ] ] }, - "producer": 0, + "producer": 1, "role": "Input", "window": "NotApplicable" }, @@ -232716,29 +321756,13 @@ { "consumer": 8, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", "intermediate_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -232749,17 +321773,29 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] @@ -232767,15 +321803,13 @@ "producer": 7, "role": "Input", "window": "NotApplicable" - }, + } + ], + "nodes": [ { - "consumer": 9, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 0, + "output_schema": { "closed": true, "fields": [ { @@ -232819,73 +321853,71 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 10, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" + "payload": { + "NonASAP": { + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "source": { + "TimeSeries": { + "metric": "http_requests_total" + } + } } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 9, - "role": "Input", - "window": "NotApplicable" + } + } }, { - "consumer": 11, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 1, + "output_schema": { "closed": true, "fields": [ { @@ -232929,18 +321961,27 @@ ] ] }, - "producer": 10, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 12, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 0, + "kind": "range", + "range": { + "nanos": 0, + "secs": 60 + } + } + } + } + }, + { + "guarantee": null, + "id": 2, + "output_schema": { "closed": true, "fields": [ { @@ -232953,9 +321994,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -232984,73 +322028,40 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 13, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "reduction": "PerEntity" } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 12, - "role": "Input", - "window": "NotApplicable" + } + } }, { - "consumer": 14, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 3, + "output_schema": { "closed": true, "fields": [ { @@ -233094,36 +322105,24 @@ ] ] }, - "producer": 13, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 15, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 2 + } + } + } + }, + { + "guarantee": null, + "id": 4, + "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -233134,106 +322133,63 @@ }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 16, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 3, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "reduction": { + "Reduce": [ + 2 + ] + } } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 15, - "role": "Input", - "window": "NotApplicable" + } + } }, { - "consumer": 17, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 5, + "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -233244,33 +322200,36 @@ }, { "dtype": { - "Plain": "utf8" + "Plain": "float64" }, - "name": "$promql_series_identity", + "name": "sum", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 16, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 18, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { "closed": true, "fields": [ { @@ -233314,36 +322273,36 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 19, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "Aggregate": { + "child": 1, + "filters": [], + "having": null, + "measures": [ + { + "col": null, + "kind": "sum" + } + ], + "output_names": [ + "" + ], + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -233354,106 +322313,88 @@ }, { "dtype": { - "Plain": "utf8" + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 18, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 20, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 6, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "reduction": { + "Reduce": [ + 2 + ] + } } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 19, - "role": "Input", - "window": "NotApplicable" + } + } }, { - "consumer": 21, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 8, + "output_schema": { "closed": true, "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, { "dtype": { "Plain": "utf8" @@ -233469,37 +322410,6 @@ "name": "$promql_series_identity", "nullable": false, "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 22, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null }, { "dtype": { @@ -233508,95 +322418,50 @@ "name": "value", "nullable": false, "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, - 0 + 0, + 1 ] ] }, - "producer": 21, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 23, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } }, - "name": "$promql_series_identity", - "nullable": false, - "table": null + "summary_input": 7 } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "producer": 22, - "role": "Input", - "window": "NotApplicable" - }, + } + } + } + ], + "roots": [ + 5, + 8 + ] + }, + "from_logical": "L84", + "id": "P84", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 CountSketch+heap · shared input" + }, + { + "dag": { + "edges": [ { - "consumer": 24, + "consumer": 1, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -233613,12 +322478,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -233647,14 +322509,14 @@ ] ] }, - "producer": 8, + "producer": 0, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 2, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -233671,12 +322533,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -233705,12 +322564,12 @@ ] ] }, - "producer": 11, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 3, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -233730,8 +322589,8 @@ { "dtype": { "ExactAggregate": [ - "Sum", - "Sum" + "Rate", + "Rate" ] }, "name": "state", @@ -233763,14 +322622,14 @@ ] ] }, - "producer": 14, + "producer": 2, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 4, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -233787,12 +322646,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -233821,12 +322677,12 @@ ] ] }, - "producer": 17, + "producer": 3, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 5, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -233837,10 +322693,10 @@ "fields": [ { "dtype": { - "Plain": "timestamp" + "Plain": "utf8" }, - "name": "ts", - "nullable": false, + "name": "job", + "nullable": true, "table": null }, { @@ -233853,40 +322709,23 @@ "name": "state", "nullable": false, "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null } ], - "time_index": 0, + "time_index": null, "unique_keys": [ [ - 3, 0 ] ] }, - "producer": 20, + "producer": 4, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 6, "data_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "grouping": "NotApplicable", @@ -233903,12 +322742,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -233937,12 +322773,12 @@ ] ] }, - "producer": 23, + "producer": 1, "role": "Input", "window": "NotApplicable" }, { - "consumer": 25, + "consumer": 7, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -233995,12 +322831,12 @@ ] ] }, - "producer": 24, + "producer": 6, "role": "Input", "window": "NotApplicable" }, { - "consumer": 26, + "consumer": 8, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -234050,12 +322886,12 @@ ] ] }, - "producer": 25, + "producer": 7, "role": "Input", "window": "NotApplicable" }, { - "consumer": 27, + "consumer": 9, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -234076,13 +322912,13 @@ "dtype": { "Sketch": [ { - "algorithm": "CmsWithHeap", + "algorithm": "CountSketchWithHeap", "category": "TopK", "params": { - "CmsWithHeap": { - "depth": 7, + "CountSketchWithHeap": { + "depth": 125, "heap_size": 100, - "width": 272 + "width": 30000 } } }, @@ -234101,7 +322937,7 @@ ] ] }, - "producer": 26, + "producer": 8, "role": "Input", "window": "NotApplicable" } @@ -234484,13 +323320,375 @@ } } } - }, + }, + { + "guarantee": null, + "id": 5, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "sum", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 4 + } + } + } + }, + { + "guarantee": null, + "id": 6, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 1, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 7, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "FinalizeExactAccumulator": { + "child": 6 + } + } + } + }, + { + "guarantee": null, + "id": 8, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "name": "state", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 7, + "family": { + "Sketch": [ + { + "algorithm": "CountSketchWithHeap", + "category": "TopK", + "params": { + "CountSketchWithHeap": { + "depth": 125, + "heap_size": 100, + "width": 30000 + } + } + }, + "PerSubpopulationInstance" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": { + "Column": { + "Named": "$promql_series_identity" + } + }, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "non_negative", + "proof": "counter_samples" + } + }, + "reduction": { + "Reduce": [ + 2 + ] + } + } + } + } + }, + { + "guarantee": null, + "id": 9, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + } + ], + "time_index": null, + "unique_keys": [ + [ + 0, + 1 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryEstimate": { + "query": { + "TopK": { + "k": 10 + } + }, + "summary_input": 8 + } + } + } + } + ], + "roots": [ + 5, + 9 + ] + }, + "from_logical": "L85", + "id": "P85", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 CountSketch+heap (Sum acc) · shared input" + }, + { + "dag": { + "edges": [ { - "guarantee": null, - "id": 5, - "output_schema": { + "consumer": 1, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -234501,36 +323699,33 @@ }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "sum", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 2, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 - } - } - } - }, - { - "guarantee": null, - "id": 6, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -234574,26 +323769,18 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 0 - } - } - } - } + "producer": 1, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 7, - "output_schema": { + "consumer": 3, + "data_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -234606,9 +323793,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Rate", + "Rate" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -234637,27 +323827,18 @@ ] ] }, - "output_state": { + "producer": 2, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 4, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 6, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 8, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -234670,12 +323851,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -234704,40 +323882,59 @@ ] ] }, - "output_state": { + "producer": 3, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 5, + "data_state": { "primitive": "SummaryState", "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 7, - "family": { + "grouping": "NotApplicable", + "intermediate_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { "ExactAggregate": [ "Sum", "Sum" ] }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" + "name": "state", + "nullable": false, + "table": null } - } - } + ], + "time_index": null, + "unique_keys": [ + [ + 0 + ] + ] + }, + "producer": 4, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 9, - "output_schema": { + "consumer": 6, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -234781,26 +323978,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 7, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 10000 - } - } - } - } - }, - { - "guarantee": null, - "id": 10, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -234844,27 +324033,18 @@ ] ] }, - "output_state": { + "producer": 6, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 8, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 9, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 11, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -234877,12 +324057,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -234911,40 +324088,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 10, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 7, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 12, - "output_schema": { + "consumer": 9, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -234988,26 +324143,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 10, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 20000 - } - } - } - } - }, - { - "guarantee": null, - "id": 13, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -235051,27 +324198,18 @@ ] ] }, - "output_state": { + "producer": 9, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 11, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 12, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 14, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -235084,12 +324222,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -235118,40 +324253,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 13, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 10, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 15, - "output_schema": { + "consumer": 12, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -235195,26 +324308,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 13, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 30000 - } - } - } - } - }, - { - "guarantee": null, - "id": 16, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -235258,27 +324363,18 @@ ] ] }, - "output_state": { + "producer": 12, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 14, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 15, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 17, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -235291,12 +324387,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -235325,40 +324418,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 16, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 13, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 18, - "output_schema": { + "consumer": 15, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -235402,26 +324473,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 16, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 40000 - } - } - } - } - }, - { - "guarantee": null, - "id": 19, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -235465,27 +324528,18 @@ ] ] }, - "output_state": { + "producer": 15, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 17, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 18, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 20, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -235498,12 +324552,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -235532,40 +324583,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 19, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 16, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 21, - "output_schema": { + "consumer": 18, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -235609,26 +324638,18 @@ ] ] }, - "output_state": { + "producer": 0, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 19, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 50000 - } - } - } - } - }, - { - "guarantee": null, - "id": 22, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -235672,27 +324693,18 @@ ] ] }, - "output_state": { + "producer": 18, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 20, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 21, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 23, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -235705,12 +324717,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -235739,40 +324748,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 22, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" - } - } - } + "producer": 19, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 24, - "output_schema": { + "consumer": 21, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -235785,12 +324772,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -235819,29 +324803,18 @@ ] ] }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryMerge": { - "children": [ - 8, - 11, - 14, - 17, - 20, - 23 - ] - } - } - } + "producer": 0, + "role": "Input", + "window": "NotApplicable" }, { - "guarantee": null, - "id": 25, - "output_schema": { + "consumer": 22, + "data_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { @@ -235885,24 +324858,36 @@ ] ] }, - "output_state": { + "producer": 21, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 23, + "data_state": { "primitive": "Raw", "timing": "query_time" }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 24 - } - } - } - }, - { - "guarantee": null, - "id": 26, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -235913,155 +324898,87 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "output_state": { + "producer": 22, + "role": "Input", + "window": "NotApplicable" + }, + { + "consumer": 24, + "data_state": { "primitive": "SummaryState", "timing": "query_time" }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 25, - "family": { - "Sketch": [ - { - "algorithm": "CmsWithHeap", - "category": "TopK", - "params": { - "CmsWithHeap": { - "depth": 7, - "heap_size": 100, - "width": 272 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 27, - "output_schema": { + "grouping": "NotApplicable", + "intermediate_schema": { "closed": true, "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 - } - }, - "summary_input": 26 - } - } - } - } - ], - "roots": [ - 5, - 27 - ] - }, - "from_logical": "L83", - "id": "P83", - "label": "Q1 exact (Sum acc, Rate acc) · Q2 CMS+heap (Sum acc · tumbling 10s panes) · shared input" - }, - { - "dag": { - "edges": [ + "producer": 8, + "role": "Input", + "window": "NotApplicable" + }, { - "consumer": 1, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -236078,9 +324995,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -236109,14 +325029,14 @@ ] ] }, - "producer": 0, + "producer": 11, "role": "Input", "window": "NotApplicable" }, { - "consumer": 2, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -236133,9 +325053,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -236164,12 +325087,12 @@ ] ] }, - "producer": 1, + "producer": 14, "role": "Input", "window": "NotApplicable" }, { - "consumer": 3, + "consumer": 24, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -236189,8 +325112,8 @@ { "dtype": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "name": "state", @@ -236222,14 +325145,14 @@ ] ] }, - "producer": 2, + "producer": 17, "role": "Input", "window": "NotApplicable" }, { - "consumer": 4, + "consumer": 24, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -236246,9 +325169,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -236277,12 +325203,12 @@ ] ] }, - "producer": 3, + "producer": 20, "role": "Input", "window": "NotApplicable" }, { - "consumer": 5, + "consumer": 24, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -236293,10 +325219,10 @@ "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { @@ -236309,23 +325235,40 @@ "name": "state", "nullable": false, "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 4, + "producer": 23, "role": "Input", "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 25, "data_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "grouping": "NotApplicable", @@ -236342,9 +325285,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -236373,12 +325319,12 @@ ] ] }, - "producer": 1, + "producer": 24, "role": "Input", "window": "NotApplicable" }, { - "consumer": 7, + "consumer": 26, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -236428,12 +325374,12 @@ ] ] }, - "producer": 6, + "producer": 25, "role": "Input", "window": "NotApplicable" }, { - "consumer": 8, + "consumer": 27, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -236479,7 +325425,7 @@ ] ] }, - "producer": 7, + "producer": 26, "role": "Input", "window": "NotApplicable" } @@ -236958,20 +325904,12 @@ }, "payload": { "NonASAP": { - "Aggregate": { - "child": 1, - "filters": [], - "having": null, - "measures": [ - { - "col": null, - "kind": "sum" - } - ], - "output_names": [ - "" - ], - "reduction": "PerEntity" + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 0 + } } } } @@ -236982,6 +325920,22 @@ "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -236992,77 +325946,33 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, "output_state": { - "primitive": "SummaryState", + "primitive": "Raw", "timing": "query_time" }, "payload": { - "ASAP": { - "SummaryAgg": { + "NonASAP": { + "TimeRange": { "child": 6, - "family": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": { - "Column": { - "Named": "$promql_series_identity" - } - }, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "non_negative", - "proof": "counter_samples" - } - }, - "reduction": { - "Reduce": [ - 2 - ] + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 } } } @@ -237076,75 +325986,82 @@ "fields": [ { "dtype": { - "Plain": "utf8" + "Plain": "timestamp" }, - "name": "job", - "nullable": true, + "name": "ts", + "nullable": false, "table": null }, { "dtype": { - "Plain": "utf8" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "$promql_series_identity", + "name": "state", "nullable": false, "table": null }, { "dtype": { - "Plain": "float64" + "Plain": "utf8" }, - "name": "value", + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ - 0, - 1 + 3, + 0 ] ] }, "output_state": { - "primitive": "Raw", + "primitive": "SummaryState", "timing": "query_time" }, "payload": { "ASAP": { - "SummaryEstimate": { - "query": { - "TopK": { - "k": 10 + "SummaryAgg": { + "child": 7, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" } }, - "summary_input": 7 + "reduction": "PerEntity" } } } - } - ], - "roots": [ - 5, - 8 - ] - }, - "from_logical": "L84", - "id": "P84", - "label": "Q1 exact (Sum acc, Rate acc) · Q2 CountSketch+heap · shared input" - }, - { - "dag": { - "edges": [ + }, { - "consumer": 1, - "data_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "grouping": "NotApplicable", - "intermediate_schema": { + "guarantee": null, + "id": 9, + "output_schema": { "closed": true, "fields": [ { @@ -237188,18 +326105,26 @@ ] ] }, - "producer": 0, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 2, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 10000 + } + } + } + } + }, + { + "guarantee": null, + "id": 10, + "output_schema": { "closed": true, "fields": [ { @@ -237243,18 +326168,27 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 3, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 9, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 11, + "output_schema": { "closed": true, "fields": [ { @@ -237268,8 +326202,8 @@ { "dtype": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "name": "state", @@ -237301,18 +326235,40 @@ ] ] }, - "producer": 2, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 4, - "data_state": { - "primitive": "Raw", + "output_state": { + "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 10, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 12, + "output_schema": { "closed": true, "fields": [ { @@ -237356,20 +326312,44 @@ ] ] }, - "producer": 3, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 5, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 13, + "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -237380,35 +326360,42 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 4, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 6, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 12, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { "closed": true, "fields": [ { @@ -237421,9 +326408,12 @@ }, { "dtype": { - "Plain": "float64" + "ExactAggregate": [ + "Sum", + "Sum" + ] }, - "name": "value", + "name": "state", "nullable": false, "table": null }, @@ -237452,18 +326442,40 @@ ] ] }, - "producer": 1, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 7, - "data_state": { + "output_state": { "primitive": "SummaryState", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 13, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 15, + "output_schema": { "closed": true, "fields": [ { @@ -237476,12 +326488,9 @@ }, { "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] + "Plain": "float64" }, - "name": "state", + "name": "value", "nullable": false, "table": null }, @@ -237510,18 +326519,26 @@ ] ] }, - "producer": 6, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 8, - "data_state": { + "output_state": { "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 30000 + } + } + } + } + }, + { + "guarantee": null, + "id": 16, + "output_schema": { "closed": true, "fields": [ { @@ -237565,20 +326582,48 @@ ] ] }, - "producer": 7, - "role": "Input", - "window": "NotApplicable" - }, - { - "consumer": 9, - "data_state": { - "primitive": "SummaryState", + "output_state": { + "primitive": "Raw", "timing": "query_time" }, - "grouping": "NotApplicable", - "intermediate_schema": { + "payload": { + "NonASAP": { + "TimeRange": { + "child": 15, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 17, + "output_schema": { "closed": true, "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, { "dtype": { "Plain": "utf8" @@ -237589,42 +326634,54 @@ }, { "dtype": { - "Sketch": [ - { - "algorithm": "CountSketchWithHeap", - "category": "TopK", - "params": { - "CountSketchWithHeap": { - "depth": 125, - "heap_size": 100, - "width": 30000 - } - } - }, - "PerSubpopulationInstance" - ] + "Plain": "utf8" }, - "name": "state", + "name": "$promql_series_identity", "nullable": false, "table": null } ], - "time_index": null, + "time_index": 0, "unique_keys": [ [ + 3, 0 ] ] }, - "producer": 8, - "role": "Input", - "window": "NotApplicable" - } - ], - "nodes": [ + "output_state": { + "primitive": "SummaryState", + "timing": "query_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 16, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, { "guarantee": null, - "id": 0, + "id": 18, "output_schema": { "closed": true, "fields": [ @@ -237675,56 +326732,11 @@ }, "payload": { "NonASAP": { - "Scan": { - "predicates": [], - "schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "source": { - "TimeSeries": { - "metric": "http_requests_total" - } + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 40000 } } } @@ -237732,7 +326744,7 @@ }, { "guarantee": null, - "id": 1, + "id": 19, "output_schema": { "closed": true, "fields": [ @@ -237784,11 +326796,11 @@ "payload": { "NonASAP": { "TimeRange": { - "child": 0, + "child": 18, "kind": "range", "range": { "nanos": 0, - "secs": 60 + "secs": 10 } } } @@ -237796,7 +326808,7 @@ }, { "guarantee": null, - "id": 2, + "id": 20, "output_schema": { "closed": true, "fields": [ @@ -237811,8 +326823,8 @@ { "dtype": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "name": "state", @@ -237851,11 +326863,11 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 1, + "child": 19, "family": { "ExactAggregate": [ - "Rate", - "Rate" + "Sum", + "Sum" ] }, "filter": null, @@ -237876,7 +326888,7 @@ }, { "guarantee": null, - "id": 3, + "id": 21, "output_schema": { "closed": true, "fields": [ @@ -237921,51 +326933,136 @@ ] ] }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 2 - } - } - } - }, - { - "guarantee": null, - "id": 4, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 0, + "shift": { + "at": null, + "offset_ms": 50000 + } + } + } + } + }, + { + "guarantee": null, + "id": 22, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "query_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 21, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, + { + "guarantee": null, + "id": 23, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, "output_state": { "primitive": "SummaryState", "timing": "query_time" @@ -237973,7 +327070,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 3, + "child": 22, "family": { "ExactAggregate": [ "Sum", @@ -237991,60 +327088,14 @@ "kind": "unknown_or_signed" } }, - "reduction": { - "Reduce": [ - 2 - ] - } - } - } - } - }, - { - "guarantee": null, - "id": 5, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "sum", - "nullable": false, - "table": null - } - ], - "time_index": null, - "unique_keys": [ - [ - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "FinalizeExactAccumulator": { - "child": 4 + "reduction": "PerEntity" } } } }, { "guarantee": null, - "id": 6, + "id": 24, "output_schema": { "closed": true, "fields": [ @@ -238098,33 +327149,22 @@ }, "payload": { "ASAP": { - "SummaryAgg": { - "child": 1, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" - } - }, - "reduction": "PerEntity" + "SummaryMerge": { + "children": [ + 8, + 11, + 14, + 17, + 20, + 23 + ] } } } }, { "guarantee": null, - "id": 7, + "id": 25, "output_schema": { "closed": true, "fields": [ @@ -238176,14 +327216,14 @@ "payload": { "ASAP": { "FinalizeExactAccumulator": { - "child": 6 + "child": 24 } } } }, { "guarantee": null, - "id": 8, + "id": 26, "output_schema": { "closed": true, "fields": [ @@ -238231,7 +327271,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 7, + "child": 25, "family": { "Sketch": [ { @@ -238275,7 +327315,7 @@ }, { "guarantee": null, - "id": 9, + "id": 27, "output_schema": { "closed": true, "fields": [ @@ -238324,7 +327364,7 @@ "k": 10 } }, - "summary_input": 8 + "summary_input": 26 } } } @@ -238332,12 +327372,12 @@ ], "roots": [ 5, - 9 + 27 ] }, - "from_logical": "L85", - "id": "P85", - "label": "Q1 exact (Sum acc, Rate acc) · Q2 CountSketch+heap (Sum acc) · shared input" + "from_logical": "L86", + "id": "P86", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 CountSketch+heap (Sum acc · tumbling 10s panes) · shared input" }, { "dag": { @@ -238607,10 +327647,10 @@ "window": "NotApplicable" }, { - "consumer": 6, + "consumer": 7, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -238657,15 +327697,15 @@ ] ] }, - "producer": 0, + "producer": 6, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 7, + "consumer": 8, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -238712,15 +327752,15 @@ ] ] }, - "producer": 6, + "producer": 7, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 8, + "consumer": 9, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -238767,15 +327807,15 @@ ] ] }, - "producer": 7, + "producer": 8, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 9, + "consumer": 10, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -238822,15 +327862,15 @@ ] ] }, - "producer": 0, + "producer": 6, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 10, + "consumer": 11, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -238877,15 +327917,15 @@ ] ] }, - "producer": 9, + "producer": 10, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 11, + "consumer": 12, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -238932,15 +327972,15 @@ ] ] }, - "producer": 10, + "producer": 11, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 12, + "consumer": 13, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -238987,15 +328027,15 @@ ] ] }, - "producer": 0, + "producer": 6, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 13, + "consumer": 14, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -239042,15 +328082,15 @@ ] ] }, - "producer": 12, + "producer": 13, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 14, + "consumer": 15, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -239097,15 +328137,15 @@ ] ] }, - "producer": 13, + "producer": 14, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 15, + "consumer": 16, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -239152,15 +328192,15 @@ ] ] }, - "producer": 0, + "producer": 6, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 16, + "consumer": 17, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -239207,15 +328247,15 @@ ] ] }, - "producer": 15, + "producer": 16, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 17, + "consumer": 18, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -239262,15 +328302,15 @@ ] ] }, - "producer": 16, + "producer": 17, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 18, + "consumer": 19, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -239317,15 +328357,15 @@ ] ] }, - "producer": 0, + "producer": 6, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 19, + "consumer": 20, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -239372,15 +328412,15 @@ ] ] }, - "producer": 18, + "producer": 19, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 20, + "consumer": 21, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -239427,15 +328467,15 @@ ] ] }, - "producer": 19, + "producer": 20, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 21, + "consumer": 22, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -239482,15 +328522,15 @@ ] ] }, - "producer": 0, + "producer": 6, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 22, + "consumer": 23, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -239537,15 +328577,15 @@ ] ] }, - "producer": 21, + "producer": 22, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 23, + "consumer": 24, "data_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -239592,15 +328632,15 @@ ] ] }, - "producer": 22, + "producer": 23, "role": "Input", - "window": "NotApplicable" + "window": "RequiresAlignedPanePhaseOrExactBoundaryResidual" }, { - "consumer": 24, + "consumer": 25, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -239650,15 +328690,15 @@ ] ] }, - "producer": 8, + "producer": 9, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 25, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -239708,15 +328748,15 @@ ] ] }, - "producer": 11, + "producer": 12, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 25, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -239766,15 +328806,15 @@ ] ] }, - "producer": 14, + "producer": 15, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 25, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -239824,15 +328864,15 @@ ] ] }, - "producer": 17, + "producer": 18, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 25, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -239882,15 +328922,15 @@ ] ] }, - "producer": 20, + "producer": 21, "role": "Input", "window": "NotApplicable" }, { - "consumer": 24, + "consumer": 25, "data_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "grouping": "NotApplicable", "intermediate_schema": { @@ -239940,12 +328980,12 @@ ] ] }, - "producer": 23, + "producer": 24, "role": "Input", "window": "NotApplicable" }, { - "consumer": 25, + "consumer": 26, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -239998,12 +329038,12 @@ ] ] }, - "producer": 24, + "producer": 25, "role": "Input", "window": "NotApplicable" }, { - "consumer": 26, + "consumer": 27, "data_state": { "primitive": "Raw", "timing": "query_time" @@ -240053,12 +329093,12 @@ ] ] }, - "producer": 25, + "producer": 26, "role": "Input", "window": "NotApplicable" }, { - "consumer": 27, + "consumer": 28, "data_state": { "primitive": "SummaryState", "timing": "query_time" @@ -240104,7 +329144,7 @@ ] ] }, - "producer": 26, + "producer": 27, "role": "Input", "window": "NotApplicable" } @@ -240579,167 +329619,68 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { - "TimeShift": { - "child": 0, - "shift": { - "at": null, - "offset_ms": 0 - } - } - } - } - }, - { - "guarantee": null, - "id": 7, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "float64" - }, - "name": "value", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "Raw", - "timing": "query_time" - }, - "payload": { - "NonASAP": { - "TimeRange": { - "child": 6, - "kind": "range", - "range": { - "nanos": 0, - "secs": 10 - } - } - } - } - }, - { - "guarantee": null, - "id": 8, - "output_schema": { - "closed": true, - "fields": [ - { - "dtype": { - "Plain": "timestamp" - }, - "name": "ts", - "nullable": false, - "table": null - }, - { - "dtype": { - "ExactAggregate": [ - "Sum", - "Sum" - ] - }, - "name": "state", - "nullable": false, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "job", - "nullable": true, - "table": null - }, - { - "dtype": { - "Plain": "utf8" - }, - "name": "$promql_series_identity", - "nullable": false, - "table": null - } - ], - "time_index": 0, - "unique_keys": [ - [ - 3, - 0 - ] - ] - }, - "output_state": { - "primitive": "SummaryState", - "timing": "query_time" - }, - "payload": { - "ASAP": { - "SummaryAgg": { - "child": 7, - "family": { - "ExactAggregate": [ - "Sum", - "Sum" + "Scan": { + "predicates": [], + "schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] ] }, - "filter": null, - "grouping": "PerSubpopulationInstance", - "input": { - "item": null, - "weight": { - "Column": "SampleValue" - }, - "weight_domain": { - "kind": "unknown_or_signed" + "source": { + "TimeSeries": { + "metric": "http_requests_total" } - }, - "reduction": "PerEntity" + } } } } }, { "guarantee": null, - "id": 9, + "id": 7, "output_schema": { "closed": true, "fields": [ @@ -240786,15 +329727,15 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 0, + "child": 6, "shift": { "at": null, - "offset_ms": 10000 + "offset_ms": 0 } } } @@ -240802,7 +329743,7 @@ }, { "guarantee": null, - "id": 10, + "id": 8, "output_schema": { "closed": true, "fields": [ @@ -240849,12 +329790,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 9, + "child": 7, "kind": "range", "range": { "nanos": 0, @@ -240866,7 +329807,7 @@ }, { "guarantee": null, - "id": 11, + "id": 9, "output_schema": { "closed": true, "fields": [ @@ -240916,12 +329857,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 10, + "child": 8, "family": { "ExactAggregate": [ "Sum", @@ -240946,7 +329887,7 @@ }, { "guarantee": null, - "id": 12, + "id": 10, "output_schema": { "closed": true, "fields": [ @@ -240993,15 +329934,15 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 0, + "child": 6, "shift": { "at": null, - "offset_ms": 20000 + "offset_ms": 10000 } } } @@ -241009,7 +329950,7 @@ }, { "guarantee": null, - "id": 13, + "id": 11, "output_schema": { "closed": true, "fields": [ @@ -241056,12 +329997,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 12, + "child": 10, "kind": "range", "range": { "nanos": 0, @@ -241073,7 +330014,7 @@ }, { "guarantee": null, - "id": 14, + "id": 12, "output_schema": { "closed": true, "fields": [ @@ -241123,12 +330064,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 13, + "child": 11, "family": { "ExactAggregate": [ "Sum", @@ -241151,9 +330092,216 @@ } } }, + { + "guarantee": null, + "id": 13, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeShift": { + "child": 6, + "shift": { + "at": null, + "offset_ms": 20000 + } + } + } + } + }, + { + "guarantee": null, + "id": 14, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "float64" + }, + "name": "value", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "Raw", + "timing": "ingestion_time" + }, + "payload": { + "NonASAP": { + "TimeRange": { + "child": 13, + "kind": "range", + "range": { + "nanos": 0, + "secs": 10 + } + } + } + } + }, { "guarantee": null, "id": 15, + "output_schema": { + "closed": true, + "fields": [ + { + "dtype": { + "Plain": "timestamp" + }, + "name": "ts", + "nullable": false, + "table": null + }, + { + "dtype": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "name": "state", + "nullable": false, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "job", + "nullable": true, + "table": null + }, + { + "dtype": { + "Plain": "utf8" + }, + "name": "$promql_series_identity", + "nullable": false, + "table": null + } + ], + "time_index": 0, + "unique_keys": [ + [ + 3, + 0 + ] + ] + }, + "output_state": { + "primitive": "SummaryState", + "timing": "ingestion_time" + }, + "payload": { + "ASAP": { + "SummaryAgg": { + "child": 14, + "family": { + "ExactAggregate": [ + "Sum", + "Sum" + ] + }, + "filter": null, + "grouping": "PerSubpopulationInstance", + "input": { + "item": null, + "weight": { + "Column": "SampleValue" + }, + "weight_domain": { + "kind": "unknown_or_signed" + } + }, + "reduction": "PerEntity" + } + } + } + }, + { + "guarantee": null, + "id": 16, "output_schema": { "closed": true, "fields": [ @@ -241200,12 +330348,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 0, + "child": 6, "shift": { "at": null, "offset_ms": 30000 @@ -241216,7 +330364,7 @@ }, { "guarantee": null, - "id": 16, + "id": 17, "output_schema": { "closed": true, "fields": [ @@ -241263,12 +330411,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 15, + "child": 16, "kind": "range", "range": { "nanos": 0, @@ -241280,7 +330428,7 @@ }, { "guarantee": null, - "id": 17, + "id": 18, "output_schema": { "closed": true, "fields": [ @@ -241330,12 +330478,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 16, + "child": 17, "family": { "ExactAggregate": [ "Sum", @@ -241360,7 +330508,7 @@ }, { "guarantee": null, - "id": 18, + "id": 19, "output_schema": { "closed": true, "fields": [ @@ -241407,12 +330555,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 0, + "child": 6, "shift": { "at": null, "offset_ms": 40000 @@ -241423,7 +330571,7 @@ }, { "guarantee": null, - "id": 19, + "id": 20, "output_schema": { "closed": true, "fields": [ @@ -241470,12 +330618,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 18, + "child": 19, "kind": "range", "range": { "nanos": 0, @@ -241487,7 +330635,7 @@ }, { "guarantee": null, - "id": 20, + "id": 21, "output_schema": { "closed": true, "fields": [ @@ -241537,12 +330685,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 19, + "child": 20, "family": { "ExactAggregate": [ "Sum", @@ -241567,7 +330715,7 @@ }, { "guarantee": null, - "id": 21, + "id": 22, "output_schema": { "closed": true, "fields": [ @@ -241614,12 +330762,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeShift": { - "child": 0, + "child": 6, "shift": { "at": null, "offset_ms": 50000 @@ -241630,7 +330778,7 @@ }, { "guarantee": null, - "id": 22, + "id": 23, "output_schema": { "closed": true, "fields": [ @@ -241677,12 +330825,12 @@ }, "output_state": { "primitive": "Raw", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "NonASAP": { "TimeRange": { - "child": 21, + "child": 22, "kind": "range", "range": { "nanos": 0, @@ -241694,7 +330842,7 @@ }, { "guarantee": null, - "id": 23, + "id": 24, "output_schema": { "closed": true, "fields": [ @@ -241744,12 +330892,12 @@ }, "output_state": { "primitive": "SummaryState", - "timing": "query_time" + "timing": "ingestion_time" }, "payload": { "ASAP": { "SummaryAgg": { - "child": 22, + "child": 23, "family": { "ExactAggregate": [ "Sum", @@ -241774,7 +330922,7 @@ }, { "guarantee": null, - "id": 24, + "id": 25, "output_schema": { "closed": true, "fields": [ @@ -241830,12 +330978,12 @@ "ASAP": { "SummaryMerge": { "children": [ - 8, - 11, - 14, - 17, - 20, - 23 + 9, + 12, + 15, + 18, + 21, + 24 ] } } @@ -241843,7 +330991,7 @@ }, { "guarantee": null, - "id": 25, + "id": 26, "output_schema": { "closed": true, "fields": [ @@ -241895,14 +331043,14 @@ "payload": { "ASAP": { "FinalizeExactAccumulator": { - "child": 24 + "child": 25 } } } }, { "guarantee": null, - "id": 26, + "id": 27, "output_schema": { "closed": true, "fields": [ @@ -241950,7 +331098,7 @@ "payload": { "ASAP": { "SummaryAgg": { - "child": 25, + "child": 26, "family": { "Sketch": [ { @@ -241994,7 +331142,7 @@ }, { "guarantee": null, - "id": 27, + "id": 28, "output_schema": { "closed": true, "fields": [ @@ -242043,7 +331191,7 @@ "k": 10 } }, - "summary_input": 26 + "summary_input": 27 } } } @@ -242051,12 +331199,12 @@ ], "roots": [ 5, - 27 + 28 ] }, "from_logical": "L86", - "id": "P86", - "label": "Q1 exact (Sum acc, Rate acc) · Q2 CountSketch+heap (Sum acc · tumbling 10s panes) · shared input" + "id": "P86-m1", + "label": "Q1 exact (Sum acc, Rate acc) · Q2 CountSketch+heap (Sum acc · tumbling 10s panes) · shared input · ingestion time: exact Sum ×6 panes" }, { "dag": { @@ -244050,45 +333198,6 @@ "total": 9.6401, "unit": "cost_per_second" }, - "P11": { - "per_node": { - "0": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "1": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "2": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" - }, - "3": { - "cost": 0.2, - "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" - }, - "4": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "5": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "6": { - "cost": 50.400000000000006, - "detail": "build CountSketchWithHeap into 100 states: 4000000 rows x depth 126; x 0.1000 evaluations/s" - }, - "7": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" - } - }, - "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 56.84010000000001, - "unit": "cost_per_second" - }, "P12": { "per_node": { "0": { @@ -244306,54 +333415,7 @@ "total": 12.840100400000006, "unit": "cost_per_second" }, - "P15": { - "per_node": { - "0": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "1": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "2": { - "cost": 0.4, - "detail": "build exact Rate accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "3": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" - }, - "4": { - "cost": 0.2, - "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" - }, - "5": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "6": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "7": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" - }, - "8": { - "cost": 0.8, - "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" - }, - "9": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" - } - }, - "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 7.7401, - "unit": "cost_per_second" - }, - "P16": { + "P14-m1": { "per_node": { "0": { "cost": 2.32, @@ -244364,131 +333426,80 @@ "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" }, "10": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" - }, - "2": { - "cost": 0.4, - "detail": "build exact Rate accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "3": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" - }, - "4": { - "cost": 0.2, - "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" - }, - "5": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "6": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "7": { - "cost": 0.4, - "detail": "build exact Sum accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "8": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" - }, - "9": { - "cost": 0.8, - "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" - } - }, - "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 7.4401, - "unit": "cost_per_second" - }, - "P17": { - "per_node": { - "0": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "1": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "10": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "11": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "12": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "13": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "14": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "15": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "16": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "17": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "18": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "19": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "2": { "cost": 0.4, "detail": "build exact Rate accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" }, "20": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "21": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "22": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "23": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "24": { - "cost": 0.4000002, - "detail": "merge 4000002 states from 6 inputs into 1000000; x 0.1000 evaluations/s" + "cost": 0.6000000000000001, + "detail": "merge 6000000 states from 6 inputs into 1000000; x 0.1000 evaluations/s" }, "25": { "cost": 0.1, "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" }, "26": { - "cost": 0.8, - "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" + "cost": 1.4000000000000001, + "detail": "sort 1000000 rows in 100 partitions; x 0.1000 evaluations/s" }, "27": { "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" + "detail": "limit to 1000 rows; x 0.1000 evaluations/s" }, "3": { "cost": 0.1, @@ -244499,31 +333510,31 @@ "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" }, "5": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" + "cost": 0.3866686, + "detail": "scan 66667 samples; ingestion time" }, "6": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.06666699999999999, + "detail": "operator: pass 66667 rows; ingestion time" }, "7": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.06666699999999999, + "detail": "time range 10s: pass 66667 rows; ingestion time" }, "8": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 42.066667, + "detail": "build exact Sum accumulator into 1000000 states: 66667 rows x depth 1; ingestion time, newest of 6 panes, keeps 6 completed, retains 336000000 bytes" }, "9": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 12.240100400000006, + "total": 48.10676960000001, "unit": "cost_per_second" }, - "P18": { + "P15": { "per_node": { "0": { "cost": 2.32, @@ -244558,8 +333569,8 @@ "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" }, "8": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" }, "9": { "cost": 0.0001, @@ -244567,10 +333578,10 @@ } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 19.540100000000002, + "total": 7.7401, "unit": "cost_per_second" }, - "P19": { + "P16": { "per_node": { "0": { "cost": 2.32, @@ -244613,62 +333624,15 @@ "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" }, "9": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" - } - }, - "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 19.2401, - "unit": "cost_per_second" - }, - "P2": { - "per_node": { - "0": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "1": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "2": { "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" - }, - "3": { - "cost": 0.2, - "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" - }, - "4": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "5": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "6": { - "cost": 0.4, - "detail": "build exact Sum accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "7": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" - }, - "8": { - "cost": 1.4000000000000001, - "detail": "sort 1000000 rows in 100 partitions; x 0.1000 evaluations/s" - }, - "9": { - "cost": 0.0001, - "detail": "limit to 1000 rows; x 0.1000 evaluations/s" + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 8.3401, + "total": 7.4401, "unit": "cost_per_second" }, - "P20": { + "P17": { "per_node": { "0": { "cost": 2.32, @@ -244747,8 +333711,8 @@ "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" }, "26": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" }, "27": { "cost": 0.0001, @@ -244784,10 +333748,10 @@ } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 24.040100400000007, + "total": 12.240100400000006, "unit": "cost_per_second" }, - "P21": { + "P17-m1": { "per_node": { "0": { "cost": 2.32, @@ -244797,10 +333761,82 @@ "cost": 0.4, "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" }, + "10": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "11": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "12": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "13": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "14": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "15": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "16": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "17": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "18": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "19": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, "2": { "cost": 0.4, "detail": "build exact Rate accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" }, + "20": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "21": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "22": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "23": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "24": { + "cost": 0.6000000000000001, + "detail": "merge 6000000 states from 6 inputs into 1000000; x 0.1000 evaluations/s" + }, + "25": { + "cost": 0.1, + "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" + }, + "26": { + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" + }, + "27": { + "cost": 0.0001, + "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" + }, "3": { "cost": 0.1, "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" @@ -244810,27 +333846,78 @@ "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" }, "5": { + "cost": 0.3866686, + "detail": "scan 66667 samples; ingestion time" + }, + "6": { + "cost": 0.06666699999999999, + "detail": "operator: pass 66667 rows; ingestion time" + }, + "7": { + "cost": 0.06666699999999999, + "detail": "time range 10s: pass 66667 rows; ingestion time" + }, + "8": { + "cost": 42.066667, + "detail": "build exact Sum accumulator into 1000000 states: 66667 rows x depth 1; ingestion time, newest of 6 panes, keeps 6 completed, retains 336000000 bytes" + }, + "9": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + } + }, + "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", + "total": 47.506769600000005, + "unit": "cost_per_second" + }, + "P2": { + "per_node": { + "0": { "cost": 2.32, "detail": "scan 4000000 samples; x 0.1000 evaluations/s" }, - "6": { + "1": { + "cost": 0.4, + "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" + }, + "2": { + "cost": 0.8, + "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" + }, + "3": { + "cost": 0.2, + "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" + }, + "4": { + "cost": 2.32, + "detail": "scan 4000000 samples; x 0.1000 evaluations/s" + }, + "5": { "cost": 0.4, "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" }, + "6": { + "cost": 0.4, + "detail": "build exact Sum accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" + }, "7": { - "cost": 3.2, - "detail": "build CmsWithHeap into 100 states: 4000000 rows x depth 8; x 0.1000 evaluations/s" + "cost": 0.1, + "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" }, "8": { + "cost": 1.4000000000000001, + "detail": "sort 1000000 rows in 100 partitions; x 0.1000 evaluations/s" + }, + "9": { "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" + "detail": "limit to 1000 rows; x 0.1000 evaluations/s" } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 9.3401, + "total": 8.3401, "unit": "cost_per_second" }, - "P22": { + "P21": { "per_node": { "0": { "cost": 2.32, @@ -244861,8 +333948,8 @@ "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" }, "7": { - "cost": 50.400000000000006, - "detail": "build CountSketchWithHeap into 100 states: 4000000 rows x depth 126; x 0.1000 evaluations/s" + "cost": 3.2, + "detail": "build CmsWithHeap into 100 states: 4000000 rows x depth 8; x 0.1000 evaluations/s" }, "8": { "cost": 0.0001, @@ -244870,7 +333957,7 @@ } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 56.54010000000001, + "total": 9.3401, "unit": "cost_per_second" }, "P23": { @@ -245090,6 +334177,125 @@ "total": 13.040110400000005, "unit": "cost_per_second" }, + "P25-m1": { + "per_node": { + "0": { + "cost": 2.32, + "detail": "scan 4000000 samples; x 0.1000 evaluations/s" + }, + "1": { + "cost": 0.4, + "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" + }, + "10": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "11": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "12": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "13": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "14": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "15": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "16": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "17": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "18": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "19": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "2": { + "cost": 0.8, + "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" + }, + "20": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "21": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "22": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "23": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "24": { + "cost": 0.6000000000000001, + "detail": "merge 6000000 states from 6 inputs into 1000000; x 0.1000 evaluations/s" + }, + "25": { + "cost": 0.1, + "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" + }, + "26": { + "cost": 1.4000000000000001, + "detail": "sort 1000000 rows in 100 partitions; x 0.1000 evaluations/s" + }, + "27": { + "cost": 0.0001, + "detail": "limit to 1000 rows; x 0.1000 evaluations/s" + }, + "3": { + "cost": 0.1, + "detail": "build exact Sum accumulator into 100 states: 1000000 rows x depth 1; x 0.1000 evaluations/s" + }, + "4": { + "cost": 9.999999999999999e-6, + "detail": "finalize 100 accumulators; x 0.1000 evaluations/s" + }, + "5": { + "cost": 0.3866686, + "detail": "scan 66667 samples; ingestion time" + }, + "6": { + "cost": 0.06666699999999999, + "detail": "operator: pass 66667 rows; ingestion time" + }, + "7": { + "cost": 0.06666699999999999, + "detail": "time range 10s: pass 66667 rows; ingestion time" + }, + "8": { + "cost": 42.066667, + "detail": "build exact Sum accumulator into 1000000 states: 66667 rows x depth 1; ingestion time, newest of 6 panes, keeps 6 completed, retains 336000000 bytes" + }, + "9": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + } + }, + "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", + "total": 48.306779600000006, + "unit": "cost_per_second" + }, "P26": { "per_node": { "0": { @@ -245307,7 +334513,7 @@ "total": 12.440110400000005, "unit": "cost_per_second" }, - "P29": { + "P28-m1": { "per_node": { "0": { "cost": 2.32, @@ -245317,10 +334523,82 @@ "cost": 0.4, "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" }, + "10": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "11": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "12": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "13": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "14": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "15": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "16": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "17": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "18": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "19": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, "2": { "cost": 0.8, "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" }, + "20": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "21": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "22": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "23": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "24": { + "cost": 0.6000000000000001, + "detail": "merge 6000000 states from 6 inputs into 1000000; x 0.1000 evaluations/s" + }, + "25": { + "cost": 0.1, + "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" + }, + "26": { + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" + }, + "27": { + "cost": 0.0001, + "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" + }, "3": { "cost": 0.1, "detail": "build exact Sum accumulator into 100 states: 1000000 rows x depth 1; x 0.1000 evaluations/s" @@ -245330,28 +334608,28 @@ "detail": "finalize 100 accumulators; x 0.1000 evaluations/s" }, "5": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" + "cost": 0.3866686, + "detail": "scan 66667 samples; ingestion time" }, "6": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.06666699999999999, + "detail": "operator: pass 66667 rows; ingestion time" }, "7": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" + "cost": 0.06666699999999999, + "detail": "time range 10s: pass 66667 rows; ingestion time" }, "8": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" + "cost": 42.066667, + "detail": "build exact Sum accumulator into 1000000 states: 66667 rows x depth 1; ingestion time, newest of 6 panes, keeps 6 completed, retains 336000000 bytes" }, "9": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 19.74011, + "total": 47.706779600000004, "unit": "cost_per_second" }, "P3": { @@ -245469,58 +334747,7 @@ "total": 13.140100400000005, "unit": "cost_per_second" }, - "P30": { - "per_node": { - "0": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "1": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "10": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" - }, - "2": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" - }, - "3": { - "cost": 0.1, - "detail": "build exact Sum accumulator into 100 states: 1000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "4": { - "cost": 9.999999999999999e-6, - "detail": "finalize 100 accumulators; x 0.1000 evaluations/s" - }, - "5": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "6": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "7": { - "cost": 0.4, - "detail": "build exact Sum accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "8": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" - }, - "9": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" - } - }, - "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 19.44011, - "unit": "cost_per_second" - }, - "P31": { + "P3-m1": { "per_node": { "0": { "cost": 2.32, @@ -245531,112 +334758,108 @@ "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" }, "10": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "11": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "12": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "13": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "14": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "15": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "16": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "17": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "18": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "19": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "2": { "cost": 0.8, "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" }, "20": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "21": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "22": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "23": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.6000000000000001, + "detail": "merge 6000000 states from 6 inputs into 1000000; x 0.1000 evaluations/s" }, "24": { - "cost": 0.4000002, - "detail": "merge 4000002 states from 6 inputs into 1000000; x 0.1000 evaluations/s" - }, - "25": { "cost": 0.1, "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" }, - "26": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" + "25": { + "cost": 1.4000000000000001, + "detail": "sort 1000000 rows in 100 partitions; x 0.1000 evaluations/s" }, - "27": { + "26": { "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" + "detail": "limit to 1000 rows; x 0.1000 evaluations/s" }, "3": { - "cost": 0.1, - "detail": "build exact Sum accumulator into 100 states: 1000000 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.2, + "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" }, "4": { - "cost": 9.999999999999999e-6, - "detail": "finalize 100 accumulators; x 0.1000 evaluations/s" + "cost": 0.3866686, + "detail": "scan 66667 samples; ingestion time" }, "5": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" + "cost": 0.06666699999999999, + "detail": "operator: pass 66667 rows; ingestion time" }, "6": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.06666699999999999, + "detail": "time range 10s: pass 66667 rows; ingestion time" }, "7": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 42.066667, + "detail": "build exact Sum accumulator into 1000000 states: 66667 rows x depth 1; ingestion time, newest of 6 panes, keeps 6 completed, retains 336000000 bytes" }, "8": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "9": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 24.240110400000006, + "total": 48.406769600000004, "unit": "cost_per_second" }, "P32": { @@ -245682,49 +334905,6 @@ "total": 9.540109999999999, "unit": "cost_per_second" }, - "P33": { - "per_node": { - "0": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "1": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "2": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" - }, - "3": { - "cost": 0.1, - "detail": "build exact Sum accumulator into 100 states: 1000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "4": { - "cost": 9.999999999999999e-6, - "detail": "finalize 100 accumulators; x 0.1000 evaluations/s" - }, - "5": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "6": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "7": { - "cost": 50.400000000000006, - "detail": "build CountSketchWithHeap into 100 states: 4000000 rows x depth 126; x 0.1000 evaluations/s" - }, - "8": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" - } - }, - "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 56.74011000000001, - "unit": "cost_per_second" - }, "P34": { "per_node": { "0": { @@ -245914,241 +335094,12 @@ "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" }, "27": { - "cost": 1.4000000000000001, - "detail": "sort 1000000 rows in 100 partitions; x 0.1000 evaluations/s" - }, - "28": { - "cost": 0.0001, - "detail": "limit to 1000 rows; x 0.1000 evaluations/s" - }, - "3": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" - }, - "4": { - "cost": 0.1, - "detail": "build exact Sum accumulator into 100 states: 1000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "5": { - "cost": 9.999999999999999e-6, - "detail": "finalize 100 accumulators; x 0.1000 evaluations/s" - }, - "6": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "7": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "8": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" - }, - "9": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" - } - }, - "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 12.740110400000006, - "unit": "cost_per_second" - }, - "P37": { - "per_node": { - "0": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "1": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "10": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" - }, - "2": { - "cost": 0.4, - "detail": "build exact Rate accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "3": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" - }, - "4": { - "cost": 0.1, - "detail": "build exact Sum accumulator into 100 states: 1000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "5": { - "cost": 9.999999999999999e-6, - "detail": "finalize 100 accumulators; x 0.1000 evaluations/s" - }, - "6": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "7": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "8": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" - }, - "9": { - "cost": 0.8, - "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" - } - }, - "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 7.64011, - "unit": "cost_per_second" - }, - "P38": { - "per_node": { - "0": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "1": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "10": { - "cost": 0.8, - "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" - }, - "11": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" - }, - "2": { - "cost": 0.4, - "detail": "build exact Rate accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "3": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" - }, - "4": { - "cost": 0.1, - "detail": "build exact Sum accumulator into 100 states: 1000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "5": { - "cost": 9.999999999999999e-6, - "detail": "finalize 100 accumulators; x 0.1000 evaluations/s" - }, - "6": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "7": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "8": { - "cost": 0.4, - "detail": "build exact Sum accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "9": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" - } - }, - "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 7.34011, - "unit": "cost_per_second" - }, - "P39": { - "per_node": { - "0": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "1": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "10": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "11": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" - }, - "12": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" - }, - "13": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "14": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" - }, - "15": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" - }, - "16": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "17": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" - }, - "18": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" - }, - "19": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "2": { - "cost": 0.4, - "detail": "build exact Rate accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "20": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" - }, - "21": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" - }, - "22": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "23": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" - }, - "24": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" - }, - "25": { - "cost": 0.4000002, - "detail": "merge 4000002 states from 6 inputs into 1000000; x 0.1000 evaluations/s" - }, - "26": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" - }, - "27": { - "cost": 0.8, - "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" + "cost": 1.4000000000000001, + "detail": "sort 1000000 rows in 100 partitions; x 0.1000 evaluations/s" }, "28": { "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" + "detail": "limit to 1000 rows; x 0.1000 evaluations/s" }, "3": { "cost": 0.1, @@ -246180,10 +335131,10 @@ } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 12.140110400000006, + "total": 12.740110400000006, "unit": "cost_per_second" }, - "P4": { + "P36-m1": { "per_node": { "0": { "cost": 2.32, @@ -246193,40 +335144,120 @@ "cost": 0.4, "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" }, + "10": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "11": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "12": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "13": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "14": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "15": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "16": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "17": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "18": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "19": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, "2": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" + "cost": 0.4, + "detail": "build exact Rate accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" + }, + "20": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "21": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "22": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "23": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "24": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "25": { + "cost": 0.6000000000000001, + "detail": "merge 6000000 states from 6 inputs into 1000000; x 0.1000 evaluations/s" + }, + "26": { + "cost": 0.1, + "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" + }, + "27": { + "cost": 1.4000000000000001, + "detail": "sort 1000000 rows in 100 partitions; x 0.1000 evaluations/s" + }, + "28": { + "cost": 0.0001, + "detail": "limit to 1000 rows; x 0.1000 evaluations/s" }, "3": { - "cost": 0.2, - "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" + "cost": 0.1, + "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" }, "4": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" + "cost": 0.1, + "detail": "build exact Sum accumulator into 100 states: 1000000 rows x depth 1; x 0.1000 evaluations/s" }, "5": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 9.999999999999999e-6, + "detail": "finalize 100 accumulators; x 0.1000 evaluations/s" }, "6": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" + "cost": 0.3866686, + "detail": "scan 66667 samples; ingestion time" }, "7": { - "cost": 0.8, - "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" + "cost": 0.06666699999999999, + "detail": "operator: pass 66667 rows; ingestion time" }, "8": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" + "cost": 0.06666699999999999, + "detail": "time range 10s: pass 66667 rows; ingestion time" + }, + "9": { + "cost": 42.066667, + "detail": "build exact Sum accumulator into 1000000 states: 66667 rows x depth 1; ingestion time, newest of 6 panes, keeps 6 completed, retains 336000000 bytes" } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 8.040099999999999, + "total": 48.00677960000001, "unit": "cost_per_second" }, - "P40": { + "P37": { "per_node": { "0": { "cost": 2.32, @@ -246269,15 +335300,15 @@ "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" }, "9": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 19.44011, + "total": 7.64011, "unit": "cost_per_second" }, - "P41": { + "P38": { "per_node": { "0": { "cost": 2.32, @@ -246288,8 +335319,8 @@ "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" }, "10": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" }, "11": { "cost": 0.0001, @@ -246329,10 +335360,10 @@ } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 19.140110000000004, + "total": 7.34011, "unit": "cost_per_second" }, - "P42": { + "P39": { "per_node": { "0": { "cost": 2.32, @@ -246415,8 +335446,8 @@ "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" }, "27": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" }, "28": { "cost": 0.0001, @@ -246452,10 +335483,10 @@ } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 23.940110400000005, + "total": 12.140110400000006, "unit": "cost_per_second" }, - "P43": { + "P39-m1": { "per_node": { "0": { "cost": 2.32, @@ -246465,10 +335496,86 @@ "cost": 0.4, "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" }, + "10": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "11": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "12": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "13": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "14": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "15": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "16": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "17": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "18": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "19": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, "2": { "cost": 0.4, "detail": "build exact Rate accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" }, + "20": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "21": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "22": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "23": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "24": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "25": { + "cost": 0.6000000000000001, + "detail": "merge 6000000 states from 6 inputs into 1000000; x 0.1000 evaluations/s" + }, + "26": { + "cost": 0.1, + "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" + }, + "27": { + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" + }, + "28": { + "cost": 0.0001, + "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" + }, "3": { "cost": 0.1, "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" @@ -246482,27 +335589,70 @@ "detail": "finalize 100 accumulators; x 0.1000 evaluations/s" }, "6": { + "cost": 0.3866686, + "detail": "scan 66667 samples; ingestion time" + }, + "7": { + "cost": 0.06666699999999999, + "detail": "operator: pass 66667 rows; ingestion time" + }, + "8": { + "cost": 0.06666699999999999, + "detail": "time range 10s: pass 66667 rows; ingestion time" + }, + "9": { + "cost": 42.066667, + "detail": "build exact Sum accumulator into 1000000 states: 66667 rows x depth 1; ingestion time, newest of 6 panes, keeps 6 completed, retains 336000000 bytes" + } + }, + "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", + "total": 47.40677960000001, + "unit": "cost_per_second" + }, + "P4": { + "per_node": { + "0": { "cost": 2.32, "detail": "scan 4000000 samples; x 0.1000 evaluations/s" }, - "7": { + "1": { "cost": 0.4, "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" }, - "8": { - "cost": 3.2, - "detail": "build CmsWithHeap into 100 states: 4000000 rows x depth 8; x 0.1000 evaluations/s" + "2": { + "cost": 0.8, + "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" }, - "9": { + "3": { + "cost": 0.2, + "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" + }, + "4": { + "cost": 2.32, + "detail": "scan 4000000 samples; x 0.1000 evaluations/s" + }, + "5": { + "cost": 0.4, + "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" + }, + "6": { + "cost": 0.8, + "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" + }, + "7": { + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" + }, + "8": { "cost": 0.0001, "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 9.240110000000001, + "total": 8.040099999999999, "unit": "cost_per_second" }, - "P44": { + "P43": { "per_node": { "0": { "cost": 2.32, @@ -246537,8 +335687,8 @@ "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" }, "8": { - "cost": 50.400000000000006, - "detail": "build CountSketchWithHeap into 100 states: 4000000 rows x depth 126; x 0.1000 evaluations/s" + "cost": 3.2, + "detail": "build CmsWithHeap into 100 states: 4000000 rows x depth 8; x 0.1000 evaluations/s" }, "9": { "cost": 0.0001, @@ -246546,7 +335696,7 @@ } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 56.44011000000001, + "total": 9.240110000000001, "unit": "cost_per_second" }, "P45": { @@ -246734,6 +335884,121 @@ "total": 10.820100400000003, "unit": "cost_per_second" }, + "P47-m1": { + "per_node": { + "0": { + "cost": 2.32, + "detail": "scan 4000000 samples; x 0.1000 evaluations/s" + }, + "1": { + "cost": 0.4, + "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" + }, + "10": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "11": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "12": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "13": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "14": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "15": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "16": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "17": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "18": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "19": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "2": { + "cost": 0.8, + "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" + }, + "20": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "21": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "22": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "23": { + "cost": 0.6000000000000001, + "detail": "merge 6000000 states from 6 inputs into 1000000; x 0.1000 evaluations/s" + }, + "24": { + "cost": 0.1, + "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" + }, + "25": { + "cost": 1.4000000000000001, + "detail": "sort 1000000 rows in 100 partitions; x 0.1000 evaluations/s" + }, + "26": { + "cost": 0.0001, + "detail": "limit to 1000 rows; x 0.1000 evaluations/s" + }, + "3": { + "cost": 0.2, + "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" + }, + "4": { + "cost": 0.3866686, + "detail": "scan 66667 samples; ingestion time" + }, + "5": { + "cost": 0.06666699999999999, + "detail": "operator: pass 66667 rows; ingestion time" + }, + "6": { + "cost": 0.06666699999999999, + "detail": "time range 10s: pass 66667 rows; ingestion time" + }, + "7": { + "cost": 42.066667, + "detail": "build exact Sum accumulator into 1000000 states: 66667 rows x depth 1; ingestion time, newest of 6 panes, keeps 6 completed, retains 336000000 bytes" + }, + "8": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "9": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + } + }, + "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", + "total": 48.406769600000004, + "unit": "cost_per_second" + }, "P48": { "per_node": { "0": { @@ -246966,81 +336231,7 @@ "total": 10.220100400000003, "unit": "cost_per_second" }, - "P51": { - "per_node": { - "0": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "1": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "2": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" - }, - "3": { - "cost": 0.2, - "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" - }, - "4": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" - }, - "5": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" - }, - "6": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" - } - }, - "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 17.1201, - "unit": "cost_per_second" - }, - "P52": { - "per_node": { - "0": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "1": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "2": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" - }, - "3": { - "cost": 0.2, - "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" - }, - "4": { - "cost": 0.4, - "detail": "build exact Sum accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "5": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" - }, - "6": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" - }, - "7": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" - } - }, - "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 16.8201, - "unit": "cost_per_second" - }, - "P53": { + "P50-m1": { "per_node": { "0": { "cost": 2.32, @@ -247051,70 +336242,74 @@ "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" }, "10": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "11": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "12": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "13": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "14": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "15": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "16": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "17": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "18": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "19": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "2": { "cost": 0.8, "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" }, "20": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "21": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "22": { - "cost": 0.4000002, - "detail": "merge 4000002 states from 6 inputs into 1000000; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "23": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" + "cost": 0.6000000000000001, + "detail": "merge 6000000 states from 6 inputs into 1000000; x 0.1000 evaluations/s" }, "24": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" + "cost": 0.1, + "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" }, "25": { + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" + }, + "26": { "cost": 0.0001, "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" }, @@ -247123,32 +336318,32 @@ "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" }, "4": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.3866686, + "detail": "scan 66667 samples; ingestion time" }, "5": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.06666699999999999, + "detail": "operator: pass 66667 rows; ingestion time" }, "6": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.06666699999999999, + "detail": "time range 10s: pass 66667 rows; ingestion time" }, "7": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 42.066667, + "detail": "build exact Sum accumulator into 1000000 states: 66667 rows x depth 1; ingestion time, newest of 6 panes, keeps 6 completed, retains 336000000 bytes" }, "8": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "9": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 22.020100400000004, + "total": 47.8067696, "unit": "cost_per_second" }, "P54": { @@ -247182,37 +336377,6 @@ "total": 6.9201, "unit": "cost_per_second" }, - "P55": { - "per_node": { - "0": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "1": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "2": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" - }, - "3": { - "cost": 0.2, - "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" - }, - "4": { - "cost": 50.400000000000006, - "detail": "build CountSketchWithHeap into 100 states: 4000000 rows x depth 126; x 0.1000 evaluations/s" - }, - "5": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" - } - }, - "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 54.12010000000001, - "unit": "cost_per_second" - }, "P56": { "per_node": { "0": { @@ -247410,46 +336574,7 @@ "total": 10.520100400000002, "unit": "cost_per_second" }, - "P59": { - "per_node": { - "0": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "1": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "2": { - "cost": 0.4, - "detail": "build exact Rate accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "3": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" - }, - "4": { - "cost": 0.2, - "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" - }, - "5": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" - }, - "6": { - "cost": 0.8, - "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" - }, - "7": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" - } - }, - "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 5.020099999999999, - "unit": "cost_per_second" - }, - "P6": { + "P58-m1": { "per_node": { "0": { "cost": 2.32, @@ -247460,111 +336585,115 @@ "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" }, "10": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "11": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "12": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "13": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "14": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "15": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "16": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "17": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "18": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "19": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "2": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" + "cost": 0.4, + "detail": "build exact Rate accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" }, "20": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "21": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "22": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "23": { - "cost": 0.4000002, - "detail": "merge 4000002 states from 6 inputs into 1000000; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "24": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" + "cost": 0.6000000000000001, + "detail": "merge 6000000 states from 6 inputs into 1000000; x 0.1000 evaluations/s" }, "25": { - "cost": 0.8, - "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" + "cost": 0.1, + "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" }, "26": { + "cost": 1.4000000000000001, + "detail": "sort 1000000 rows in 100 partitions; x 0.1000 evaluations/s" + }, + "27": { "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" + "detail": "limit to 1000 rows; x 0.1000 evaluations/s" }, "3": { - "cost": 0.2, - "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" + "cost": 0.1, + "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" }, "4": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" + "cost": 0.2, + "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" }, "5": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.3866686, + "detail": "scan 66667 samples; ingestion time" }, "6": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.06666699999999999, + "detail": "operator: pass 66667 rows; ingestion time" }, "7": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.06666699999999999, + "detail": "time range 10s: pass 66667 rows; ingestion time" }, "8": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 42.066667, + "detail": "build exact Sum accumulator into 1000000 states: 66667 rows x depth 1; ingestion time, newest of 6 panes, keeps 6 completed, retains 336000000 bytes" }, "9": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 12.540100400000005, + "total": 48.10676960000001, "unit": "cost_per_second" }, - "P60": { + "P59": { "per_node": { "0": { "cost": 2.32, @@ -247587,27 +336716,23 @@ "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" }, "5": { - "cost": 0.4, - "detail": "build exact Sum accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.8, + "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" }, "6": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" - }, - "7": { "cost": 0.8, "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" }, - "8": { + "7": { "cost": 0.0001, "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 4.7200999999999995, + "total": 5.020099999999999, "unit": "cost_per_second" }, - "P61": { + "P6": { "per_node": { "0": { "cost": 2.32, @@ -247658,8 +336783,8 @@ "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" }, "2": { - "cost": 0.4, - "detail": "build exact Rate accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.8, + "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" }, "20": { "cost": 0.4, @@ -247690,13 +336815,13 @@ "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" }, "3": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" - }, - "4": { "cost": 0.2, "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" }, + "4": { + "cost": 2.32, + "detail": "scan 4000000 samples; x 0.1000 evaluations/s" + }, "5": { "cost": 0.4, "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" @@ -247719,10 +336844,10 @@ } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 9.920100400000003, + "total": 12.540100400000005, "unit": "cost_per_second" }, - "P62": { + "P6-m1": { "per_node": { "0": { "cost": 2.32, @@ -247732,36 +336857,112 @@ "cost": 0.4, "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" }, + "10": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "11": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "12": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "13": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "14": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "15": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "16": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "17": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "18": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "19": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, "2": { - "cost": 0.4, - "detail": "build exact Rate accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.8, + "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" }, - "3": { + "20": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "21": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "22": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "23": { + "cost": 0.6000000000000001, + "detail": "merge 6000000 states from 6 inputs into 1000000; x 0.1000 evaluations/s" + }, + "24": { "cost": 0.1, "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" }, - "4": { + "25": { + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" + }, + "26": { + "cost": 0.0001, + "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" + }, + "3": { "cost": 0.2, "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" }, + "4": { + "cost": 0.3866686, + "detail": "scan 66667 samples; ingestion time" + }, "5": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" + "cost": 0.06666699999999999, + "detail": "operator: pass 66667 rows; ingestion time" }, "6": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" + "cost": 0.06666699999999999, + "detail": "time range 10s: pass 66667 rows; ingestion time" }, "7": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" + "cost": 42.066667, + "detail": "build exact Sum accumulator into 1000000 states: 66667 rows x depth 1; ingestion time, newest of 6 panes, keeps 6 completed, retains 336000000 bytes" + }, + "8": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "9": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 16.8201, + "total": 47.8067696, "unit": "cost_per_second" }, - "P63": { + "P60": { "per_node": { "0": { "cost": 2.32, @@ -247792,8 +336993,8 @@ "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" }, "7": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" }, "8": { "cost": 0.0001, @@ -247801,10 +337002,10 @@ } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 16.520100000000003, + "total": 4.7200999999999995, "unit": "cost_per_second" }, - "P64": { + "P61": { "per_node": { "0": { "cost": 2.32, @@ -247879,8 +337080,8 @@ "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" }, "25": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" }, "26": { "cost": 0.0001, @@ -247916,10 +337117,10 @@ } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 21.720100400000003, + "total": 9.920100400000003, "unit": "cost_per_second" }, - "P65": { + "P61-m1": { "per_node": { "0": { "cost": 2.32, @@ -247929,10 +337130,82 @@ "cost": 0.4, "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" }, + "10": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "11": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "12": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "13": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "14": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "15": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "16": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "17": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "18": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "19": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, "2": { "cost": 0.4, "detail": "build exact Rate accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" }, + "20": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "21": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "22": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "23": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "24": { + "cost": 0.6000000000000001, + "detail": "merge 6000000 states from 6 inputs into 1000000; x 0.1000 evaluations/s" + }, + "25": { + "cost": 0.1, + "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" + }, + "26": { + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" + }, + "27": { + "cost": 0.0001, + "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" + }, "3": { "cost": 0.1, "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" @@ -247942,19 +337215,31 @@ "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" }, "5": { - "cost": 3.2, - "detail": "build CmsWithHeap into 100 states: 4000000 rows x depth 8; x 0.1000 evaluations/s" + "cost": 0.3866686, + "detail": "scan 66667 samples; ingestion time" }, "6": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" + "cost": 0.06666699999999999, + "detail": "operator: pass 66667 rows; ingestion time" + }, + "7": { + "cost": 0.06666699999999999, + "detail": "time range 10s: pass 66667 rows; ingestion time" + }, + "8": { + "cost": 42.066667, + "detail": "build exact Sum accumulator into 1000000 states: 66667 rows x depth 1; ingestion time, newest of 6 panes, keeps 6 completed, retains 336000000 bytes" + }, + "9": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 6.6201, + "total": 47.506769600000005, "unit": "cost_per_second" }, - "P66": { + "P65": { "per_node": { "0": { "cost": 2.32, @@ -247977,8 +337262,8 @@ "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" }, "5": { - "cost": 50.400000000000006, - "detail": "build CountSketchWithHeap into 100 states: 4000000 rows x depth 126; x 0.1000 evaluations/s" + "cost": 3.2, + "detail": "build CmsWithHeap into 100 states: 4000000 rows x depth 8; x 0.1000 evaluations/s" }, "6": { "cost": 0.0001, @@ -247986,7 +337271,7 @@ } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 53.82010000000001, + "total": 6.6201, "unit": "cost_per_second" }, "P67": { @@ -248186,132 +337471,7 @@ "total": 10.720110400000003, "unit": "cost_per_second" }, - "P7": { - "per_node": { - "0": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "1": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "2": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" - }, - "3": { - "cost": 0.2, - "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" - }, - "4": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "5": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "6": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" - }, - "7": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" - }, - "8": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" - } - }, - "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 19.8401, - "unit": "cost_per_second" - }, - "P70": { - "per_node": { - "0": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "1": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "2": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" - }, - "3": { - "cost": 0.1, - "detail": "build exact Sum accumulator into 100 states: 1000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "4": { - "cost": 9.999999999999999e-6, - "detail": "finalize 100 accumulators; x 0.1000 evaluations/s" - }, - "5": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" - }, - "6": { - "cost": 0.8, - "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" - }, - "7": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" - } - }, - "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 5.220109999999999, - "unit": "cost_per_second" - }, - "P71": { - "per_node": { - "0": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "1": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "2": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" - }, - "3": { - "cost": 0.1, - "detail": "build exact Sum accumulator into 100 states: 1000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "4": { - "cost": 9.999999999999999e-6, - "detail": "finalize 100 accumulators; x 0.1000 evaluations/s" - }, - "5": { - "cost": 0.4, - "detail": "build exact Sum accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "6": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" - }, - "7": { - "cost": 0.8, - "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" - }, - "8": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" - } - }, - "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 4.920109999999999, - "unit": "cost_per_second" - }, - "P72": { + "P69-m1": { "per_node": { "0": { "cost": 2.32, @@ -248322,76 +337482,80 @@ "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" }, "10": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "11": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "12": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "13": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "14": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "15": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "16": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "17": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "18": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "19": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "2": { "cost": 0.8, "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" }, "20": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "21": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "22": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "23": { - "cost": 0.4000002, - "detail": "merge 4000002 states from 6 inputs into 1000000; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "24": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" + "cost": 0.6000000000000001, + "detail": "merge 6000000 states from 6 inputs into 1000000; x 0.1000 evaluations/s" }, "25": { - "cost": 0.8, - "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" + "cost": 0.1, + "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" }, "26": { + "cost": 1.4000000000000001, + "detail": "sort 1000000 rows in 100 partitions; x 0.1000 evaluations/s" + }, + "27": { "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" + "detail": "limit to 1000 rows; x 0.1000 evaluations/s" }, "3": { "cost": 0.1, @@ -248402,31 +337566,31 @@ "detail": "finalize 100 accumulators; x 0.1000 evaluations/s" }, "5": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.3866686, + "detail": "scan 66667 samples; ingestion time" }, "6": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.06666699999999999, + "detail": "operator: pass 66667 rows; ingestion time" }, "7": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.06666699999999999, + "detail": "time range 10s: pass 66667 rows; ingestion time" }, "8": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 42.066667, + "detail": "build exact Sum accumulator into 1000000 states: 66667 rows x depth 1; ingestion time, newest of 6 panes, keeps 6 completed, retains 336000000 bytes" }, "9": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 10.120110400000003, + "total": 48.306779600000006, "unit": "cost_per_second" }, - "P73": { + "P70": { "per_node": { "0": { "cost": 2.32, @@ -248453,8 +337617,8 @@ "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" }, "6": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" }, "7": { "cost": 0.0001, @@ -248462,10 +337626,10 @@ } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 17.02011, + "total": 5.220109999999999, "unit": "cost_per_second" }, - "P74": { + "P71": { "per_node": { "0": { "cost": 2.32, @@ -248496,8 +337660,8 @@ "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" }, "7": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" }, "8": { "cost": 0.0001, @@ -248505,10 +337669,10 @@ } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 16.720110000000002, + "total": 4.920109999999999, "unit": "cost_per_second" }, - "P75": { + "P72": { "per_node": { "0": { "cost": 2.32, @@ -248583,8 +337747,8 @@ "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" }, "25": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" }, "26": { "cost": 0.0001, @@ -248620,10 +337784,10 @@ } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 21.920110400000002, + "total": 10.120110400000003, "unit": "cost_per_second" }, - "P76": { + "P72-m1": { "per_node": { "0": { "cost": 2.32, @@ -248633,10 +337797,82 @@ "cost": 0.4, "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" }, + "10": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "11": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "12": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "13": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "14": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "15": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "16": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "17": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "18": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "19": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, "2": { "cost": 0.8, "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" }, + "20": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "21": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "22": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "23": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "24": { + "cost": 0.6000000000000001, + "detail": "merge 6000000 states from 6 inputs into 1000000; x 0.1000 evaluations/s" + }, + "25": { + "cost": 0.1, + "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" + }, + "26": { + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" + }, + "27": { + "cost": 0.0001, + "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" + }, "3": { "cost": 0.1, "detail": "build exact Sum accumulator into 100 states: 1000000 rows x depth 1; x 0.1000 evaluations/s" @@ -248646,19 +337882,31 @@ "detail": "finalize 100 accumulators; x 0.1000 evaluations/s" }, "5": { - "cost": 3.2, - "detail": "build CmsWithHeap into 100 states: 4000000 rows x depth 8; x 0.1000 evaluations/s" + "cost": 0.3866686, + "detail": "scan 66667 samples; ingestion time" }, "6": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" + "cost": 0.06666699999999999, + "detail": "operator: pass 66667 rows; ingestion time" + }, + "7": { + "cost": 0.06666699999999999, + "detail": "time range 10s: pass 66667 rows; ingestion time" + }, + "8": { + "cost": 42.066667, + "detail": "build exact Sum accumulator into 1000000 states: 66667 rows x depth 1; ingestion time, newest of 6 panes, keeps 6 completed, retains 336000000 bytes" + }, + "9": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 6.82011, + "total": 47.706779600000004, "unit": "cost_per_second" }, - "P77": { + "P76": { "per_node": { "0": { "cost": 2.32, @@ -248681,8 +337929,8 @@ "detail": "finalize 100 accumulators; x 0.1000 evaluations/s" }, "5": { - "cost": 50.400000000000006, - "detail": "build CountSketchWithHeap into 100 states: 4000000 rows x depth 126; x 0.1000 evaluations/s" + "cost": 3.2, + "detail": "build CmsWithHeap into 100 states: 4000000 rows x depth 8; x 0.1000 evaluations/s" }, "6": { "cost": 0.0001, @@ -248690,7 +337938,7 @@ } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 54.02011000000001, + "total": 6.82011, "unit": "cost_per_second" }, "P78": { @@ -248783,53 +338031,6 @@ "total": 5.22011, "unit": "cost_per_second" }, - "P8": { - "per_node": { - "0": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "1": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "2": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" - }, - "3": { - "cost": 0.2, - "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" - }, - "4": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "5": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "6": { - "cost": 0.4, - "detail": "build exact Sum accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "7": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" - }, - "8": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" - }, - "9": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" - } - }, - "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 19.5401, - "unit": "cost_per_second" - }, "P80": { "per_node": { "0": { @@ -248949,97 +338150,7 @@ "total": 10.420110400000002, "unit": "cost_per_second" }, - "P81": { - "per_node": { - "0": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "1": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "2": { - "cost": 0.4, - "detail": "build exact Rate accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "3": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" - }, - "4": { - "cost": 0.1, - "detail": "build exact Sum accumulator into 100 states: 1000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "5": { - "cost": 9.999999999999999e-6, - "detail": "finalize 100 accumulators; x 0.1000 evaluations/s" - }, - "6": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" - }, - "7": { - "cost": 0.8, - "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" - }, - "8": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" - } - }, - "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 4.920109999999999, - "unit": "cost_per_second" - }, - "P82": { - "per_node": { - "0": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "1": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "2": { - "cost": 0.4, - "detail": "build exact Rate accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "3": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" - }, - "4": { - "cost": 0.1, - "detail": "build exact Sum accumulator into 100 states: 1000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "5": { - "cost": 9.999999999999999e-6, - "detail": "finalize 100 accumulators; x 0.1000 evaluations/s" - }, - "6": { - "cost": 0.4, - "detail": "build exact Sum accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" - }, - "7": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" - }, - "8": { - "cost": 0.8, - "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" - }, - "9": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" - } - }, - "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 4.6201099999999995, - "unit": "cost_per_second" - }, - "P83": { + "P80-m1": { "per_node": { "0": { "cost": 2.32, @@ -249050,80 +338161,84 @@ "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" }, "10": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "11": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "12": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "13": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "14": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "15": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "16": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "17": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "18": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "19": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "2": { "cost": 0.4, "detail": "build exact Rate accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" }, "20": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "21": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "22": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "23": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" }, "24": { - "cost": 0.4000002, - "detail": "merge 4000002 states from 6 inputs into 1000000; x 0.1000 evaluations/s" + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" }, "25": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" + "cost": 0.6000000000000001, + "detail": "merge 6000000 states from 6 inputs into 1000000; x 0.1000 evaluations/s" }, "26": { - "cost": 0.8, - "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" + "cost": 0.1, + "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" }, "27": { + "cost": 1.4000000000000001, + "detail": "sort 1000000 rows in 100 partitions; x 0.1000 evaluations/s" + }, + "28": { "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" + "detail": "limit to 1000 rows; x 0.1000 evaluations/s" }, "3": { "cost": 0.1, @@ -249138,27 +338253,27 @@ "detail": "finalize 100 accumulators; x 0.1000 evaluations/s" }, "6": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 0.3866686, + "detail": "scan 66667 samples; ingestion time" }, "7": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" + "cost": 0.06666699999999999, + "detail": "operator: pass 66667 rows; ingestion time" }, "8": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" + "cost": 0.06666699999999999, + "detail": "time range 10s: pass 66667 rows; ingestion time" }, "9": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" + "cost": 42.066667, + "detail": "build exact Sum accumulator into 1000000 states: 66667 rows x depth 1; ingestion time, newest of 6 panes, keeps 6 completed, retains 336000000 bytes" } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 9.820110400000003, + "total": 48.00677960000001, "unit": "cost_per_second" }, - "P84": { + "P81": { "per_node": { "0": { "cost": 2.32, @@ -249189,8 +338304,8 @@ "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" }, "7": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" }, "8": { "cost": 0.0001, @@ -249198,10 +338313,10 @@ } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 16.720110000000002, + "total": 4.920109999999999, "unit": "cost_per_second" }, - "P85": { + "P82": { "per_node": { "0": { "cost": 2.32, @@ -249236,8 +338351,8 @@ "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" }, "8": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" }, "9": { "cost": 0.0001, @@ -249245,10 +338360,10 @@ } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 16.42011, + "total": 4.6201099999999995, "unit": "cost_per_second" }, - "P86": { + "P83": { "per_node": { "0": { "cost": 2.32, @@ -249327,8 +338442,8 @@ "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" }, "26": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" }, "27": { "cost": 0.0001, @@ -249364,10 +338479,10 @@ } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 21.620110400000005, + "total": 9.820110400000003, "unit": "cost_per_second" }, - "P87": { + "P83-m1": { "per_node": { "0": { "cost": 2.32, @@ -249377,10 +338492,86 @@ "cost": 0.4, "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" }, + "10": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "11": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "12": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "13": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "14": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "15": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "16": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "17": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "18": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "19": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, "2": { "cost": 0.4, "detail": "build exact Rate accumulator into 1000000 states: 4000000 rows x depth 1; x 0.1000 evaluations/s" }, + "20": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "21": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "22": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "23": { + "cost": 0.0, + "detail": "feeds only kept panes; done for the newest pane" + }, + "24": { + "cost": 0.0, + "detail": "pane kept from an earlier evaluation; built and retained as the newest pane" + }, + "25": { + "cost": 0.6000000000000001, + "detail": "merge 6000000 states from 6 inputs into 1000000; x 0.1000 evaluations/s" + }, + "26": { + "cost": 0.1, + "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" + }, + "27": { + "cost": 0.8, + "detail": "build CmsWithHeap into 100 states: 1000000 rows x depth 8; x 0.1000 evaluations/s" + }, + "28": { + "cost": 0.0001, + "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" + }, "3": { "cost": 0.1, "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" @@ -249394,19 +338585,27 @@ "detail": "finalize 100 accumulators; x 0.1000 evaluations/s" }, "6": { - "cost": 3.2, - "detail": "build CmsWithHeap into 100 states: 4000000 rows x depth 8; x 0.1000 evaluations/s" + "cost": 0.3866686, + "detail": "scan 66667 samples; ingestion time" }, "7": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" + "cost": 0.06666699999999999, + "detail": "operator: pass 66667 rows; ingestion time" + }, + "8": { + "cost": 0.06666699999999999, + "detail": "time range 10s: pass 66667 rows; ingestion time" + }, + "9": { + "cost": 42.066667, + "detail": "build exact Sum accumulator into 1000000 states: 66667 rows x depth 1; ingestion time, newest of 6 panes, keeps 6 completed, retains 336000000 bytes" } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 6.52011, + "total": 47.40677960000001, "unit": "cost_per_second" }, - "P88": { + "P87": { "per_node": { "0": { "cost": 2.32, @@ -249433,8 +338632,8 @@ "detail": "finalize 100 accumulators; x 0.1000 evaluations/s" }, "6": { - "cost": 50.400000000000006, - "detail": "build CountSketchWithHeap into 100 states: 4000000 rows x depth 126; x 0.1000 evaluations/s" + "cost": 3.2, + "detail": "build CmsWithHeap into 100 states: 4000000 rows x depth 8; x 0.1000 evaluations/s" }, "7": { "cost": 0.0001, @@ -249442,126 +338641,211 @@ } }, "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 53.720110000000005, - "unit": "cost_per_second" - }, - "P9": { - "per_node": { - "0": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "1": { - "cost": 0.4, - "detail": "time range 60s: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "10": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" - }, - "11": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "12": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" - }, - "13": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" - }, - "14": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "15": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" - }, - "16": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" - }, - "17": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "18": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" - }, - "19": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" - }, - "2": { - "cost": 0.8, - "detail": "hash aggregate 4000000 rows into 1000000 groups; x 0.1000 evaluations/s" - }, - "20": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "21": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" - }, - "22": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" - }, - "23": { - "cost": 0.4000002, - "detail": "merge 4000002 states from 6 inputs into 1000000; x 0.1000 evaluations/s" - }, - "24": { - "cost": 0.1, - "detail": "finalize 1000000 accumulators; x 0.1000 evaluations/s" - }, - "25": { - "cost": 12.600000000000001, - "detail": "build CountSketchWithHeap into 100 states: 1000000 rows x depth 126; x 0.1000 evaluations/s" - }, - "26": { - "cost": 0.0001, - "detail": "estimate 1000 rows from 100 states; x 0.1000 evaluations/s" - }, - "3": { - "cost": 0.2, - "detail": "hash aggregate 1000000 rows into 100 groups; x 0.1000 evaluations/s" - }, - "4": { - "cost": 2.32, - "detail": "scan 4000000 samples; x 0.1000 evaluations/s" - }, - "5": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "6": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" - }, - "7": { - "cost": 0.06666670000000001, - "detail": "build exact Sum accumulator into 666667 states: 666667 rows x depth 1; x 0.1000 evaluations/s" - }, - "8": { - "cost": 0.4, - "detail": "operator: pass 4000000 rows; x 0.1000 evaluations/s" - }, - "9": { - "cost": 0.4, - "detail": "time range 10s: pass 666667 rows; x 0.1000 evaluations/s" - } - }, - "source": "analytical-cost-v2 (illustrative statistics, calibration illustrative-v2)", - "total": 24.340100400000008, + "total": 6.52011, "unit": "cost_per_second" } }, "rejected": [ + { + "id": "P7", + "reason": "q2: query-time work takes 161.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P8", + "reason": "q2: query-time work takes 158.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P9", + "reason": "q2: query-time work takes 206.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P9-m1", + "reason": "q2: query-time work takes 133.0 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P11", + "reason": "q2: query-time work takes 531.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P18", + "reason": "q2: query-time work takes 161.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P19", + "reason": "q2: query-time work takes 158.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P20", + "reason": "q2: query-time work takes 206.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P20-m1", + "reason": "q2: query-time work takes 133.0 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P22", + "reason": "q2: query-time work takes 531.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P29", + "reason": "q2: query-time work takes 161.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P30", + "reason": "q2: query-time work takes 158.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P31", + "reason": "q2: query-time work takes 206.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P31-m1", + "reason": "q2: query-time work takes 133.0 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P33", + "reason": "q2: query-time work takes 531.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P40", + "reason": "q2: query-time work takes 161.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P41", + "reason": "q2: query-time work takes 158.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P42", + "reason": "q2: query-time work takes 206.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P42-m1", + "reason": "q2: query-time work takes 133.0 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P44", + "reason": "q2: query-time work takes 531.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P51", + "reason": "q2: query-time work takes 161.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P52", + "reason": "q2: query-time work takes 158.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P53", + "reason": "q2: query-time work takes 206.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P53-m1", + "reason": "q2: query-time work takes 133.0 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P55", + "reason": "q2: query-time work takes 531.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P62", + "reason": "q2: query-time work takes 161.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P63", + "reason": "q2: query-time work takes 158.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P64", + "reason": "q2: query-time work takes 206.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P64-m1", + "reason": "q2: query-time work takes 133.0 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P66", + "reason": "q2: query-time work takes 531.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P73", + "reason": "q2: query-time work takes 161.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P74", + "reason": "q2: query-time work takes 158.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P75", + "reason": "q2: query-time work takes 206.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P75-m1", + "reason": "q2: query-time work takes 133.0 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P77", + "reason": "q2: query-time work takes 531.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P84", + "reason": "q2: query-time work takes 161.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P85", + "reason": "q2: query-time work takes 158.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P86", + "reason": "q2: query-time work takes 206.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P86-m1", + "reason": "q2: query-time work takes 133.0 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, + { + "id": "P88", + "reason": "q2: query-time work takes 531.2 ms per evaluation, over the 100 ms latency bound", + "valid": false + }, { "id": "P1", "reason": "costlier: 8.640 vs 4.620 cost_per_second", @@ -249577,6 +338861,11 @@ "reason": "costlier: 13.140 vs 4.620 cost_per_second", "valid": true }, + { + "id": "P3-m1", + "reason": "costlier: 48.407 vs 4.620 cost_per_second", + "valid": true + }, { "id": "P4", "reason": "costlier: 8.040 vs 4.620 cost_per_second", @@ -249593,18 +338882,8 @@ "valid": true }, { - "id": "P7", - "reason": "costlier: 19.840 vs 4.620 cost_per_second", - "valid": true - }, - { - "id": "P8", - "reason": "costlier: 19.540 vs 4.620 cost_per_second", - "valid": true - }, - { - "id": "P9", - "reason": "costlier: 24.340 vs 4.620 cost_per_second", + "id": "P6-m1", + "reason": "costlier: 47.807 vs 4.620 cost_per_second", "valid": true }, { @@ -249612,11 +338891,6 @@ "reason": "costlier: 9.640 vs 4.620 cost_per_second", "valid": true }, - { - "id": "P11", - "reason": "costlier: 56.840 vs 4.620 cost_per_second", - "valid": true - }, { "id": "P12", "reason": "costlier: 8.340 vs 4.620 cost_per_second", @@ -249632,6 +338906,11 @@ "reason": "costlier: 12.840 vs 4.620 cost_per_second", "valid": true }, + { + "id": "P14-m1", + "reason": "costlier: 48.107 vs 4.620 cost_per_second", + "valid": true + }, { "id": "P15", "reason": "costlier: 7.740 vs 4.620 cost_per_second", @@ -249648,18 +338927,8 @@ "valid": true }, { - "id": "P18", - "reason": "costlier: 19.540 vs 4.620 cost_per_second", - "valid": true - }, - { - "id": "P19", - "reason": "costlier: 19.240 vs 4.620 cost_per_second", - "valid": true - }, - { - "id": "P20", - "reason": "costlier: 24.040 vs 4.620 cost_per_second", + "id": "P17-m1", + "reason": "costlier: 47.507 vs 4.620 cost_per_second", "valid": true }, { @@ -249667,11 +338936,6 @@ "reason": "costlier: 9.340 vs 4.620 cost_per_second", "valid": true }, - { - "id": "P22", - "reason": "costlier: 56.540 vs 4.620 cost_per_second", - "valid": true - }, { "id": "P23", "reason": "costlier: 8.540 vs 4.620 cost_per_second", @@ -249687,6 +338951,11 @@ "reason": "costlier: 13.040 vs 4.620 cost_per_second", "valid": true }, + { + "id": "P25-m1", + "reason": "costlier: 48.307 vs 4.620 cost_per_second", + "valid": true + }, { "id": "P26", "reason": "costlier: 7.940 vs 4.620 cost_per_second", @@ -249703,18 +338972,8 @@ "valid": true }, { - "id": "P29", - "reason": "costlier: 19.740 vs 4.620 cost_per_second", - "valid": true - }, - { - "id": "P30", - "reason": "costlier: 19.440 vs 4.620 cost_per_second", - "valid": true - }, - { - "id": "P31", - "reason": "costlier: 24.240 vs 4.620 cost_per_second", + "id": "P28-m1", + "reason": "costlier: 47.707 vs 4.620 cost_per_second", "valid": true }, { @@ -249722,11 +338981,6 @@ "reason": "costlier: 9.540 vs 4.620 cost_per_second", "valid": true }, - { - "id": "P33", - "reason": "costlier: 56.740 vs 4.620 cost_per_second", - "valid": true - }, { "id": "P34", "reason": "costlier: 8.240 vs 4.620 cost_per_second", @@ -249742,6 +338996,11 @@ "reason": "costlier: 12.740 vs 4.620 cost_per_second", "valid": true }, + { + "id": "P36-m1", + "reason": "costlier: 48.007 vs 4.620 cost_per_second", + "valid": true + }, { "id": "P37", "reason": "costlier: 7.640 vs 4.620 cost_per_second", @@ -249758,18 +339017,8 @@ "valid": true }, { - "id": "P40", - "reason": "costlier: 19.440 vs 4.620 cost_per_second", - "valid": true - }, - { - "id": "P41", - "reason": "costlier: 19.140 vs 4.620 cost_per_second", - "valid": true - }, - { - "id": "P42", - "reason": "costlier: 23.940 vs 4.620 cost_per_second", + "id": "P39-m1", + "reason": "costlier: 47.407 vs 4.620 cost_per_second", "valid": true }, { @@ -249777,11 +339026,6 @@ "reason": "costlier: 9.240 vs 4.620 cost_per_second", "valid": true }, - { - "id": "P44", - "reason": "costlier: 56.440 vs 4.620 cost_per_second", - "valid": true - }, { "id": "P45", "reason": "costlier: 5.920 vs 4.620 cost_per_second", @@ -249797,6 +339041,11 @@ "reason": "costlier: 10.820 vs 4.620 cost_per_second", "valid": true }, + { + "id": "P47-m1", + "reason": "costlier: 48.407 vs 4.620 cost_per_second", + "valid": true + }, { "id": "P48", "reason": "costlier: 5.320 vs 4.620 cost_per_second", @@ -249813,18 +339062,8 @@ "valid": true }, { - "id": "P51", - "reason": "costlier: 17.120 vs 4.620 cost_per_second", - "valid": true - }, - { - "id": "P52", - "reason": "costlier: 16.820 vs 4.620 cost_per_second", - "valid": true - }, - { - "id": "P53", - "reason": "costlier: 22.020 vs 4.620 cost_per_second", + "id": "P50-m1", + "reason": "costlier: 47.807 vs 4.620 cost_per_second", "valid": true }, { @@ -249832,11 +339071,6 @@ "reason": "costlier: 6.920 vs 4.620 cost_per_second", "valid": true }, - { - "id": "P55", - "reason": "costlier: 54.120 vs 4.620 cost_per_second", - "valid": true - }, { "id": "P56", "reason": "costlier: 5.620 vs 4.620 cost_per_second", @@ -249852,6 +339086,11 @@ "reason": "costlier: 10.520 vs 4.620 cost_per_second", "valid": true }, + { + "id": "P58-m1", + "reason": "costlier: 48.107 vs 4.620 cost_per_second", + "valid": true + }, { "id": "P59", "reason": "costlier: 5.020 vs 4.620 cost_per_second", @@ -249868,18 +339107,8 @@ "valid": true }, { - "id": "P62", - "reason": "costlier: 16.820 vs 4.620 cost_per_second", - "valid": true - }, - { - "id": "P63", - "reason": "costlier: 16.520 vs 4.620 cost_per_second", - "valid": true - }, - { - "id": "P64", - "reason": "costlier: 21.720 vs 4.620 cost_per_second", + "id": "P61-m1", + "reason": "costlier: 47.507 vs 4.620 cost_per_second", "valid": true }, { @@ -249887,11 +339116,6 @@ "reason": "costlier: 6.620 vs 4.620 cost_per_second", "valid": true }, - { - "id": "P66", - "reason": "costlier: 53.820 vs 4.620 cost_per_second", - "valid": true - }, { "id": "P67", "reason": "costlier: 5.820 vs 4.620 cost_per_second", @@ -249907,6 +339131,11 @@ "reason": "costlier: 10.720 vs 4.620 cost_per_second", "valid": true }, + { + "id": "P69-m1", + "reason": "costlier: 48.307 vs 4.620 cost_per_second", + "valid": true + }, { "id": "P70", "reason": "costlier: 5.220 vs 4.620 cost_per_second", @@ -249923,18 +339152,8 @@ "valid": true }, { - "id": "P73", - "reason": "costlier: 17.020 vs 4.620 cost_per_second", - "valid": true - }, - { - "id": "P74", - "reason": "costlier: 16.720 vs 4.620 cost_per_second", - "valid": true - }, - { - "id": "P75", - "reason": "costlier: 21.920 vs 4.620 cost_per_second", + "id": "P72-m1", + "reason": "costlier: 47.707 vs 4.620 cost_per_second", "valid": true }, { @@ -249942,11 +339161,6 @@ "reason": "costlier: 6.820 vs 4.620 cost_per_second", "valid": true }, - { - "id": "P77", - "reason": "costlier: 54.020 vs 4.620 cost_per_second", - "valid": true - }, { "id": "P78", "reason": "costlier: 5.520 vs 4.620 cost_per_second", @@ -249962,6 +339176,11 @@ "reason": "costlier: 10.420 vs 4.620 cost_per_second", "valid": true }, + { + "id": "P80-m1", + "reason": "costlier: 48.007 vs 4.620 cost_per_second", + "valid": true + }, { "id": "P81", "reason": "costlier: 4.920 vs 4.620 cost_per_second", @@ -249973,29 +339192,14 @@ "valid": true }, { - "id": "P84", - "reason": "costlier: 16.720 vs 4.620 cost_per_second", - "valid": true - }, - { - "id": "P85", - "reason": "costlier: 16.420 vs 4.620 cost_per_second", - "valid": true - }, - { - "id": "P86", - "reason": "costlier: 21.620 vs 4.620 cost_per_second", + "id": "P83-m1", + "reason": "costlier: 47.407 vs 4.620 cost_per_second", "valid": true }, { "id": "P87", "reason": "costlier: 6.520 vs 4.620 cost_per_second", "valid": true - }, - { - "id": "P88", - "reason": "costlier: 53.720 vs 4.620 cost_per_second", - "valid": true } ], "selected": "P82"