Skip to content

refactor(sketch_db): move warm_tier reducer to sketch_db/query/ - #180

Merged
zzylol merged 1 commit into
mainfrom
feat/sketch-db-reorg-4-query
May 13, 2026
Merged

zzylol merged 1 commit into
mainfrom
feat/sketch-db-reorg-4-query

Conversation

@zzylol

@zzylol zzylol commented May 13, 2026

Copy link
Copy Markdown
Contributor

Summary

Post-M2.3 reorg #4 of 8. Moves query_engines/asap_query_engine/warm_tier/sketch_db/query/. Pairs read code with the data it reads, mirroring how backfill/ is paired with the data it writes.

asap_query_engine/mod.rs re-exports pub use crate::storage_engines::sketch_db::query as warm_tier so legacy paths compile.

Test plan

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

🤖 Generated with Claude Code

Post-M2.3 reorg #4 of 8. Moves
`query_engines/asap_query_engine/warm_tier/` → `sketch_db/query/`.

Pairs the warm-tier read code with the data it reads, mirroring how
`backfill/` is paired with the data it writes. The warm-tier reducer
is sketch-DB-specific (decodes sketches, runs them against a
SketchStore) — it doesn't belong under the backend-agnostic
`query_engines/` umbrella.

`asap_query_engine/mod.rs` re-exports
`pub use crate::storage_engines::sketch_db::query as warm_tier` so
the engine's internal references (and any `warm_tier::*` callers)
keep compiling at the legacy path.

5 files relocated. 783/783 lib tests pass.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@zzylol
zzylol merged commit e0936f2 into main May 13, 2026
@zzylol
zzylol deleted the feat/sketch-db-reorg-4-query 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