You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by al...@apache.org on 2025/02/05 23:42:41 UTC

(datasketches-bigquery) branch issue_124 created (now 042c2fd)

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

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


      at 042c2fd  added missing function

This branch includes the following new commits:

     new 042c2fd  added missing function

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


(datasketches-bigquery) 01/01: added missing function

Posted by al...@apache.org.
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 <Al...@users.noreply.github.com>
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: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org