This is an automated email from the ASF dual-hosted git repository.
alsay pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datasketches-bigquery.git
The following commit(s) were added to refs/heads/main by this push:
new ccba2bd example
ccba2bd is described below
commit ccba2bd76f685f25c970b85a8581360b71169b19
Author: AlexanderSaydakov <[email protected]>
AuthorDate: Mon Jun 10 22:07:45 2024 -0700
example
---
README.md | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/README.md b/README.md
index 06875b1..da8540b 100644
--- a/README.md
+++ b/README.md
@@ -25,3 +25,13 @@
Please visit the main [Apache DataSketches
website](https://datasketches.apache.org) for more information about
DataSketches library.
If you are interested in making contributions to this project please see our
[Community](https://datasketches.apache.org/docs/Community/) page for how to
contact us.
+
+## Example
+
+select test.theta_sketch_get_estimate(test.theta_sketch_scalar_union(
+ (select test.theta_sketch_agg_string(value, null) from unnest(["1", "2",
"3"]) as value),
+ (select test.theta_sketch_agg_string(value, null) from unnest(["3", "4",
"5"]) as value),
+ 14, null
+), null);
+
+result: 5
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]