Skip to content

Execute typed sliding-window layouts in the precompute worker - #583

Merged
zzylol merged 1 commit into
mainfrom
feat/runtime-window-layouts
Sep 10, 2026
Merged

zzylol merged 1 commit into
mainfrom
feat/runtime-window-layouts

Conversation

@zzylol

@zzylol zzylol commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

The control plane can select pane or fully materialized sliding-window layouts, but the worker previously stored one slide-sized pane for every plan. That made FullWindow a metadata-only choice and also conflated query slide with physical pane width.

This change makes the selected layout drive runtime behavior. Pane and hierarchical layouts store one non-overlapping base pane using the declared pane width. FullWindow fans each input into every overlapping semantic window and closes one complete state at each slide. Raw samples and incoming sketch states use the same layout rules; counter deltas are calculated once before full-window fanout.

Validation:

  • cargo check -p data_plane
  • cargo test -p data_plane full_window_layout_materializes_each_overlapping_slide --lib
  • added WindowManager coverage for a 10s pane with a distinct 30s query slide

@zzylol
zzylol force-pushed the feat/runtime-window-layouts branch from 021153e to d81b471 Compare September 10, 2026 16:55
@zzylol
zzylol force-pushed the feat/sliding-window-layout-candidates branch from 886db4d to a587572 Compare September 10, 2026 17:13
@zzylol
zzylol force-pushed the feat/runtime-window-layouts branch from d81b471 to b88897f Compare September 10, 2026 17:14
@zzylol
zzylol changed the base branch from feat/sliding-window-layout-candidates to main September 10, 2026 17:28
@zzylol
zzylol force-pushed the feat/runtime-window-layouts branch from b88897f to fac4cca Compare September 10, 2026 17:28
@zzylol
zzylol merged commit 3392f69 into main Sep 10, 2026
1 of 3 checks passed
zzylol added a commit that referenced this pull request Sep 10, 2026
* Add costed sliding-window materialization layouts (#580)

* Execute selected sliding window layouts in workers (#583)

* Execute ClickHouse joins in the shared query DAG (#569)

* feat(clickhouse): execute SQL joins in the shared query DAG

* fix: consume canonical planner lifecycle contract

* fix(clickhouse): validate each join input coverage

* chore: pin merged planner join contract
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant