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 4461661 added build notes
4461661 is described below
commit 446166180de36cefac39e5c045ca6363d7c211c2
Author: AlexanderSaydakov <[email protected]>
AuthorDate: Wed Jun 12 12:01:47 2024 -0700
added build notes
---
README.md | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index c5b3dc0..72ebc47 100644
--- a/README.md
+++ b/README.md
@@ -26,12 +26,19 @@ Please visit the main [Apache DataSketches
website](https://datasketches.apache.
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.
+## Building
+
+Requires Emscripten (emcc compiler)
+Requires a link to
[datasketches-cpp](https://github.com/apache/datasketches-cpp) in this directory
+
## Example
- 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
- ), null);
+ 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
+ ), null
+ );
result: 5
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]