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/03/13 19:01:29 UTC

(datasketches-bigquery) branch fix_146 created (now 7f5055c)

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

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


      at 7f5055c  fixed 146

This branch includes the following new commits:

     new 7f5055c  fixed 146

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: fixed 146

Posted by al...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 7f5055c902467a0faa3ed344bcf6e510dd4c5ef1
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Thu Mar 13 12:00:58 2025 -0700

    fixed 146
---
 fi/sqlx/frequent_strings_sketch_build.sqlx | 2 +-
 fi/sqlx/frequent_strings_sketch_merge.sqlx | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fi/sqlx/frequent_strings_sketch_build.sqlx b/fi/sqlx/frequent_strings_sketch_build.sqlx
index 22750b4..ecaedcb 100644
--- a/fi/sqlx/frequent_strings_sketch_build.sqlx
+++ b/fi/sqlx/frequent_strings_sketch_build.sqlx
@@ -61,7 +61,7 @@ export function serialize(state) {
     // for prior transition deserialize-aggregate
     // merge aggregated and serialized state
     if (state.sketch != null && state.serialized != null) {
-      sketch.merge(state.serialized);
+      state.sketch.merge(state.serialized);
     } else {
       if (state.sketch == null) {
         state.sketch = new Module.frequent_strings_sketch(state.lg_max_map_size);
diff --git a/fi/sqlx/frequent_strings_sketch_merge.sqlx b/fi/sqlx/frequent_strings_sketch_merge.sqlx
index 5791ab3..ab50354 100644
--- a/fi/sqlx/frequent_strings_sketch_merge.sqlx
+++ b/fi/sqlx/frequent_strings_sketch_merge.sqlx
@@ -60,7 +60,7 @@ export function serialize(state) {
     // for prior transition deserialize-aggregate
     // merge aggregated and serialized state
     if (state.sketch != null && state.serialized != null) {
-      sketch.merge(state.serialized);
+      state.sketch.merge(state.serialized);
     } else {
       if (state.sketch == null) {
         state.sketch = new Module.frequent_strings_sketch(state.lg_max_map_size);


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