You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pass 2: sliding-window and Exponential Histogram composition — after #511 #522
The rest of #509's window-composition rule, after tumbling windows (#518):
Sliding window: one summary per active window, with each sample inserted into every active window. Works for non-mergeable summaries; costs more ingestion work and memory.
Implementation of #511 (unified operator graph: OperatorNode with common metadata, no KeepPreAsap wrappers). Do not start before #511 is implemented.
Also depends on #518 (tumbling), and on two #509 TODOs: the design of summary subtract/delete nodes, and query-time materialization in physical planning.
Status: planned with the window-grid work. It comes after the tumbling-pane Pass 2 rule (#518, in progress) and Stage 2 materialization (materialization enumeration and MatAtQuery).
These acceptance tests are #[ignore]d on main for sliding windows or EH:
Pattern A, EH across queries: stage1_logical_asap_optimization_a_window_composition_adds_one_eh_for_all_five, …_a_keeps_independent_and_shared_window_summaries, …_a_window_composition_groups_every_pair
Pattern B, tumbling and sliding: stage1_logical_asap_optimization_b_window_composition_adds_sliding_and_tumbling_per_option, …_b_merge_only_where_the_window_form_needs_it
Pattern A, shared EH and its materialization: stage2_physical_asap_optimization_a_shared_eh_has_three_materialization_options, …_a_at_rest_drops_the_ingestion_time_option, …_a_materialized_eh_is_built_once_for_all_consumers, stage3_plan_selection_a_rebuilding_per_query_costs_more_than_building_once, …_a_once_adhoc_prefers_the_query_time_eh, …_a_monthly_amortizes_ingestion_time_maintenance
The other Example 4 Pattern B tests (tumbling KLL, b1/b3, stage3_plan_selection_b_*) are ignored only for tumbling windows and materialization. They belong to #518 and the Stage 2 materialization work.
Activity
zzylol commentedon Oct 15, 2026
Status: planned with the window-grid work. It comes after the tumbling-pane Pass 2 rule (#518, in progress) and Stage 2 materialization (materialization enumeration and
MatAtQuery).These acceptance tests are
#[ignore]d on main for sliding windows or EH:crates/integration-tests/tests/planner_layering_example3.rsstage1_logical_asap_optimization_a_window_composition_adds_one_eh_for_all_five,…_a_keeps_independent_and_shared_window_summaries,…_a_window_composition_groups_every_pairstage1_logical_asap_optimization_b_window_composition_adds_sliding_and_tumbling_per_option,…_b_merge_only_where_the_window_form_needs_itcrates/integration-tests/tests/planner_layering_example4.rsstage2_physical_asap_optimization_a_shared_eh_has_three_materialization_options,…_a_at_rest_drops_the_ingestion_time_option,…_a_materialized_eh_is_built_once_for_all_consumers,stage3_plan_selection_a_rebuilding_per_query_costs_more_than_building_once,…_a_once_adhoc_prefers_the_query_time_eh,…_a_monthly_amortizes_ingestion_time_maintenancestage2_physical_asap_optimization_b_sliding_kll_has_two_materialization_optionsThe other Example 4 Pattern B tests (tumbling KLL,
b1/b3,stage3_plan_selection_b_*) are ignored only for tumbling windows and materialization. They belong to #518 and the Stage 2 materialization work.