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

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

commit c9b71e3a8eb253e42d967c8a09aed68df10e86b2
Author: AlexanderSaydakov <[email protected]>
AuthorDate: Mon Aug 12 12:40:53 2024 -0700

    updated example
---
 README.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 84668cb..866a930 100644
--- a/README.md
+++ b/README.md
@@ -35,9 +35,9 @@ If you are interested in making contributions to this project 
please see our [Co
 
        select `$BQ_PROJECT.$BQ_DATASET`.theta_sketch_get_estimate(
          `$BQ_PROJECT.$BQ_DATASET`.theta_sketch_scalar_union(
-           (select `$BQ_PROJECT.$BQ_DATASET`.theta_sketch_agg_string(value, 
null) from unnest(["1", "2", "3"]) as value),
-           (select `$BQ_PROJECT.$BQ_DATASET`.theta_sketch_agg_string(value, 
null) from unnest(["3", "4", "5"]) as value),
-           14, null
+           (select `$BQ_PROJECT.$BQ_DATASET`.theta_sketch_agg_string(value, 
struct<int, int64>(null, null)) from unnest(["1", "2", "3"]) as value),
+           (select `$BQ_PROJECT.$BQ_DATASET`.theta_sketch_agg_string(value, 
struct<int, int64>(null, null)) from unnest(["3", "4", "5"]) as value),
+           null, null
          ), null
        );
        


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

Reply via email to