This is an automated email from the ASF dual-hosted git repository.

alsay pushed a commit to branch issue_124
in repository https://gitbox.apache.org/repos/asf/datasketches-bigquery.git

commit 042c2fd201cc0d602a1e5c2718efcea25909c301
Author: AlexanderSaydakov <[email protected]>
AuthorDate: Wed Feb 5 15:42:06 2025 -0800

    added missing function
---
 tuple/tuple_sketch_int64.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tuple/tuple_sketch_int64.cpp b/tuple/tuple_sketch_int64.cpp
index 776f60d..7ffc970 100644
--- a/tuple/tuple_sketch_int64.cpp
+++ b/tuple/tuple_sketch_int64.cpp
@@ -169,6 +169,9 @@ EMSCRIPTEN_BINDINGS(tuple_sketch_int64) {
       const auto policy = tuple_union_policy<Summary>(convert_mode(mode_str));
       return new 
tuple_union_int64(tuple_union_int64::builder(policy).set_lg_k(lg_k).set_seed(seed).build());
     }))
+    .function("updateWithUpdateSketch", 
emscripten::optional_override([](tuple_union_int64& self, const 
update_tuple_sketch_int64& sketch) {
+      self.update(sketch);
+    }))
     .function("updateWithCompactSketch", 
emscripten::optional_override([](tuple_union_int64& self, const 
compact_tuple_sketch_int64& sketch) {
       self.update(sketch);
     }))


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to