Skip to content

refactor: update sketchlib import paths for top-k module renames#321

Merged
zzylol merged 2 commits into
mainfrom
refactor/sketchlib-topk-rename
May 4, 2026
Merged

refactor: update sketchlib import paths for top-k module renames#321
zzylol merged 2 commits into
mainfrom
refactor/sketchlib-topk-rename

Conversation

@GordonYuanyc
Copy link
Copy Markdown
Contributor

@GordonYuanyc GordonYuanyc commented May 4, 2026

Summary

  • Tracks the module renames landing in asap_sketchlib#39.
  • Updates two files in asap-query-engine/src/precompute_operators/:
    • sketches::countminsketches::countminsketch
    • sketches::cms_heapsketches::countminsketch_topk
  • Type names (CountMinSketch, CountMinSketchWithHeap, CmsHeapItem) are unchanged — only module paths moved.

Dependency / merge order

Cargo.toml pulls asap_sketchlib from git main, so this PR will only build green after asap_sketchlib#39 lands on main. Merge that first, then this.

Test plan

  • Wait for asap_sketchlib#39 to merge to main
  • cargo build / cargo check against updated sketchlib
  • CI green

🤖 Generated with Claude Code

GordonYuanyc and others added 2 commits May 4, 2026 21:19
Tracks the module renames in asap_sketchlib PR #39:
- sketches::countmin     -> sketches::countminsketch
- sketches::cms_heap     -> sketches::countminsketch_topk

Type names (CountMinSketch, CountMinSketchWithHeap, CmsHeapItem)
are unchanged.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
cargo update -p asap_sketchlib: d22a9ab -> 81c3436

Required so the import-path changes in this branch resolve against
the post-rename sketchlib on main.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@GordonYuanyc GordonYuanyc requested a review from zzylol May 4, 2026 21:43
@zzylol zzylol merged commit 7c20a41 into main May 4, 2026
9 checks passed
@zzylol zzylol deleted the refactor/sketchlib-topk-rename branch May 4, 2026 22:17
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.

2 participants