Skip to content

refactor(sketch_db): move timeline_dispatch + window_merger to sketch_db/query/ - #182

Merged
zzylol merged 1 commit into
mainfrom
feat/sketch-db-reorg-6-timeline-window
May 13, 2026
Merged

zzylol merged 1 commit into
mainfrom
feat/sketch-db-reorg-6-timeline-window

Conversation

@zzylol

@zzylol zzylol commented May 13, 2026

Copy link
Copy Markdown
Contributor

Summary

Post-M2.3 reorg #6 of 8. Moves query_engines/{timeline_dispatch.rs, window_merger.rs}storage_engines/sketch_db/query/.

Both files are warm-tier driver primitives — timeline_dispatch combines per-segment results across reconfigure boundaries that only exist within a SketchStore; window_merger stitches per-window results from the same. Neither belongs to the backend-agnostic orchestration layer.

query_engines/mod.rs re-exports both modules under their legacy paths.

Test plan

  • cargo test -p data_plane --lib — 783/783 pass.

🤖 Generated with Claude Code

…_db/query/

Post-M2.3 reorg #6 of 8. Moves
`query_engines/{timeline_dispatch.rs, window_merger.rs}` →
`storage_engines/sketch_db/query/`.

Both files are warm-tier driver primitives — `timeline_dispatch`
combines per-segment results across reconfigure boundaries that
only exist *within* a SketchStore; `window_merger` stitches per-
window results from the same. Neither belongs to the
backend-agnostic orchestration layer (`query_engines/`).

`query_engines/mod.rs` re-exports both modules under their legacy
paths via `pub use crate::storage_engines::sketch_db::query::*`,
so existing consumers (in `engine.rs`, `http.rs`, schema docs)
compile unchanged.

783/783 lib tests pass.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@zzylol
zzylol merged commit d99d52f into main May 13, 2026
@zzylol
zzylol deleted the feat/sketch-db-reorg-6-timeline-window branch July 17, 2026 20:05
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