You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by pr...@apache.org on 2026/01/21 05:13:29 UTC
(datasketches-go) 01/01: Merge pull request #104 from Fengzdadi/feat-reservoir-union
This is an automated email from the ASF dual-hosted git repository.
proost pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datasketches-go.git
commit ad7739d33474fbc78632b10b71f73d59179483a6
Merge: fabb729 af62a99
Author: Hyeonho Kim <pr...@apache.org>
AuthorDate: Wed Jan 21 14:13:22 2026 +0900
Merge pull request #104 from Fengzdadi/feat-reservoir-union
feat: Complete ReservoirItemsUnion implementation
examples/reservoir_example_test.go | 4 +-
internal/family.go | 5 +
sampling/compatibility_test.go | 305 ++++++++++++-
sampling/reservoir_items_sketch.go | 59 +++
sampling/reservoir_items_sketch_test.go | 67 ---
sampling/reservoir_items_union.go | 286 ++++++++++--
sampling/reservoir_items_union_test.go | 489 +++++++++++++++++++++
...eservoir_items_double_sampling_n1000_k128_go.sk | Bin 1040 -> 1040 bytes
...reservoir_items_double_sampling_n1000_k32_go.sk | Bin 272 -> 272 bytes
...reservoir_items_double_sampling_n1000_k64_go.sk | Bin 528 -> 528 bytes
.../reservoir_items_long_sampling_n1000_k128_go.sk | Bin 1040 -> 1040 bytes
.../reservoir_items_long_sampling_n1000_k32_go.sk | Bin 272 -> 272 bytes
.../reservoir_items_long_sampling_n1000_k64_go.sk | Bin 528 -> 528 bytes
...eservoir_items_string_sampling_n1000_k128_go.sk | Bin 1410 -> 1411 bytes
...reservoir_items_string_sampling_n1000_k32_go.sk | Bin 365 -> 366 bytes
...reservoir_items_string_sampling_n1000_k64_go.sk | Bin 713 -> 716 bytes
...eservoir_items_union_double_empty_maxk128_go.sk | Bin 0 -> 8 bytes
...oir_items_union_double_exact_n100_maxk128_go.sk | Bin 0 -> 824 bytes
...voir_items_union_double_exact_n10_maxk128_go.sk | Bin 0 -> 104 bytes
...oir_items_union_double_exact_n128_maxk128_go.sk | Bin 0 -> 1048 bytes
...rvoir_items_union_double_exact_n1_maxk128_go.sk | Bin 0 -> 32 bytes
...voir_items_union_double_exact_n32_maxk128_go.sk | Bin 0 -> 280 bytes
...items_union_double_sampling_n1000_maxk128_go.sk | Bin 0 -> 1048 bytes
..._items_union_double_sampling_n1000_maxk32_go.sk | Bin 0 -> 280 bytes
..._items_union_double_sampling_n1000_maxk64_go.sk | Bin 0 -> 536 bytes
.../reservoir_items_union_long_empty_maxk128_go.sk | Bin 0 -> 8 bytes
...rvoir_items_union_long_exact_n100_maxk128_go.sk | Bin 0 -> 824 bytes
...ervoir_items_union_long_exact_n10_maxk128_go.sk | Bin 0 -> 104 bytes
...rvoir_items_union_long_exact_n128_maxk128_go.sk | Bin 0 -> 1048 bytes
...servoir_items_union_long_exact_n1_maxk128_go.sk | Bin 0 -> 32 bytes
...ervoir_items_union_long_exact_n32_maxk128_go.sk | Bin 0 -> 280 bytes
...r_items_union_long_sampling_n1000_maxk128_go.sk | Bin 0 -> 1048 bytes
...ir_items_union_long_sampling_n1000_maxk32_go.sk | Bin 0 -> 280 bytes
...ir_items_union_long_sampling_n1000_maxk64_go.sk | Bin 0 -> 536 bytes
...eservoir_items_union_string_empty_maxk128_go.sk | Bin 0 -> 8 bytes
...oir_items_union_string_exact_n100_maxk128_go.sk | Bin 0 -> 1014 bytes
...voir_items_union_string_exact_n10_maxk128_go.sk | Bin 0 -> 114 bytes
...oir_items_union_string_exact_n128_maxk128_go.sk | Bin 0 -> 1322 bytes
...rvoir_items_union_string_exact_n1_maxk128_go.sk | Bin 0 -> 33 bytes
...voir_items_union_string_exact_n32_maxk128_go.sk | Bin 0 -> 334 bytes
...items_union_string_sampling_n1000_maxk128_go.sk | Bin 0 -> 1420 bytes
..._items_union_string_sampling_n1000_maxk32_go.sk | Bin 0 -> 375 bytes
..._items_union_string_sampling_n1000_maxk64_go.sk | Bin 0 -> 720 bytes
...ervoir_items_union_double_empty_maxk128_java.sk | Bin 0 -> 8 bytes
...r_items_union_double_exact_n100_maxk128_java.sk | Bin 0 -> 824 bytes
...ir_items_union_double_exact_n10_maxk128_java.sk | Bin 0 -> 104 bytes
...r_items_union_double_exact_n128_maxk128_java.sk | Bin 0 -> 1048 bytes
...oir_items_union_double_exact_n1_maxk128_java.sk | Bin 0 -> 32 bytes
...ir_items_union_double_exact_n32_maxk128_java.sk | Bin 0 -> 280 bytes
...ems_union_double_sampling_n1000_maxk128_java.sk | Bin 0 -> 1048 bytes
...tems_union_double_sampling_n1000_maxk32_java.sk | Bin 0 -> 280 bytes
...tems_union_double_sampling_n1000_maxk64_java.sk | Bin 0 -> 536 bytes
...eservoir_items_union_long_empty_maxk128_java.sk | Bin 0 -> 8 bytes
...oir_items_union_long_exact_n100_maxk128_java.sk | Bin 0 -> 824 bytes
...voir_items_union_long_exact_n10_maxk128_java.sk | Bin 0 -> 104 bytes
...oir_items_union_long_exact_n128_maxk128_java.sk | Bin 0 -> 1048 bytes
...rvoir_items_union_long_exact_n1_maxk128_java.sk | Bin 0 -> 32 bytes
...voir_items_union_long_exact_n32_maxk128_java.sk | Bin 0 -> 280 bytes
...items_union_long_sampling_n1000_maxk128_java.sk | Bin 0 -> 1048 bytes
..._items_union_long_sampling_n1000_maxk32_java.sk | Bin 0 -> 280 bytes
..._items_union_long_sampling_n1000_maxk64_java.sk | Bin 0 -> 536 bytes
...ervoir_items_union_string_empty_maxk128_java.sk | Bin 0 -> 8 bytes
...r_items_union_string_exact_n100_maxk128_java.sk | Bin 0 -> 1014 bytes
...ir_items_union_string_exact_n10_maxk128_java.sk | Bin 0 -> 114 bytes
...r_items_union_string_exact_n128_maxk128_java.sk | Bin 0 -> 1322 bytes
...oir_items_union_string_exact_n1_maxk128_java.sk | Bin 0 -> 33 bytes
...ir_items_union_string_exact_n32_maxk128_java.sk | Bin 0 -> 334 bytes
...ems_union_string_sampling_n1000_maxk128_java.sk | Bin 0 -> 1377 bytes
...tems_union_string_sampling_n1000_maxk32_java.sk | Bin 0 -> 339 bytes
...tems_union_string_sampling_n1000_maxk64_java.sk | Bin 0 -> 673 bytes
.../reservoir_longs_empty_k128_java.sk | Bin 0 -> 8 bytes
.../reservoir_longs_exact_n100_k128_java.sk | Bin 0 -> 816 bytes
.../reservoir_longs_exact_n10_k128_java.sk | Bin 0 -> 96 bytes
.../reservoir_longs_exact_n128_k128_java.sk | Bin 0 -> 1040 bytes
.../reservoir_longs_exact_n1_k128_java.sk | Bin 0 -> 24 bytes
.../reservoir_longs_exact_n32_k128_java.sk | Bin 0 -> 272 bytes
.../reservoir_longs_sampling_n1000_k128_java.sk | Bin 0 -> 1040 bytes
.../reservoir_longs_sampling_n1000_k32_java.sk | Bin 0 -> 272 bytes
.../reservoir_longs_sampling_n1000_k64_java.sk | Bin 0 -> 528 bytes
.../reservoir_longs_union_empty_maxk128_java.sk | Bin 0 -> 8 bytes
...eservoir_longs_union_exact_n100_maxk128_java.sk | Bin 0 -> 824 bytes
...reservoir_longs_union_exact_n10_maxk128_java.sk | Bin 0 -> 104 bytes
...eservoir_longs_union_exact_n128_maxk128_java.sk | Bin 0 -> 1048 bytes
.../reservoir_longs_union_exact_n1_maxk128_java.sk | Bin 0 -> 32 bytes
...reservoir_longs_union_exact_n32_maxk128_java.sk | Bin 0 -> 280 bytes
...voir_longs_union_sampling_n1000_maxk128_java.sk | Bin 0 -> 1048 bytes
...rvoir_longs_union_sampling_n1000_maxk32_java.sk | Bin 0 -> 280 bytes
...rvoir_longs_union_sampling_n1000_maxk64_java.sk | Bin 0 -> 536 bytes
88 files changed, 1086 insertions(+), 129 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org