Skip to content

feat: add tuple theta implementation and tests based on raw hashtable#147

Draft
ariesdevil wants to merge 1 commit into
apache:mainfrom
ariesdevil:tuple-on-raw
Draft

feat: add tuple theta implementation and tests based on raw hashtable#147
ariesdevil wants to merge 1 commit into
apache:mainfrom
ariesdevil:tuple-on-raw

Conversation

@ariesdevil

@ariesdevil ariesdevil commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Wait for #145

Summary

Implement the Tuple sketch behind a new tuple feature (built on top of theta). A Tuple sketch extends the Theta sketch by attaching a user-defined summary to every retained key, merging summaries on duplicate keys and during set operations.

Summary behavior is injected externally via policies (C++-style) rather than baked into the type.

Note

This implementation is highly inspired by the C++ version.

@ariesdevil
ariesdevil force-pushed the tuple-on-raw branch 3 times, most recently from 4e80c30 to a9cbcbb Compare July 13, 2026 06:14
Comment thread datasketches/src/theta/mod.rs Outdated
Comment thread datasketches/Cargo.toml Outdated
@ariesdevil
ariesdevil force-pushed the tuple-on-raw branch 2 times, most recently from c8b0260 to 3147b7c Compare July 18, 2026 10:21
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