Skip to content

test: cross language test cases for reservoir sampling sketch#714

Merged
leerho merged 3 commits into
apache:mainfrom
proost:test-cross-language-test-for-reservoir-sampling-sketch
Jan 12, 2026
Merged

test: cross language test cases for reservoir sampling sketch#714
leerho merged 3 commits into
apache:mainfrom
proost:test-cross-language-test-for-reservoir-sampling-sketch

Conversation

@proost

@proost proost commented Jan 9, 2026

Copy link
Copy Markdown
Member

PR: apache/datasketches-go#94

For go reservoir sampling sketch compatability, add test cases.

I think, Adding compatability test cases in the above PR is a better direction.

Covered sketch: ReservoirItemsSketch, ReservoirLongsSketch.

I cover each cases with different k, n:

  1. Empty
  2. Exact
  3. Sampling

@freakyzoidberg freakyzoidberg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks

@proost

proost commented Jan 12, 2026

Copy link
Copy Markdown
Member Author

@leerho @AlexanderSaydakov
Hi! could you review it?

@leerho leerho merged commit dc402cc into apache:main Jan 12, 2026
7 checks passed
@proost proost deleted the test-cross-language-test-for-reservoir-sampling-sketch branch January 12, 2026 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants