You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2024/09/24 02:18:02 UTC
(datasketches-bigquery) 01/01: For each sketch function, there is now only one reference HTML.
This is an automated email from the ASF dual-hosted git repository.
leerho pushed a commit to branch simplified_referencing_of_docs
in repository https://gitbox.apache.org/repos/asf/datasketches-bigquery.git
commit 8c1d63e3940dca08efbd3fbdfe6a97bc132f96c8
Author: Lee Rhodes <le...@gmail.com>
AuthorDate: Mon Sep 23 19:16:54 2024 -0700
For each sketch function, there is now only one reference HTML.
---
cpc/sqlx/cpc_sketch_agg_string.sqlx | 3 +--
cpc/sqlx/cpc_sketch_agg_string_lgk_seed.sqlx | 3 +--
cpc/sqlx/cpc_sketch_agg_union.sqlx | 3 +--
cpc/sqlx/cpc_sketch_agg_union_lgk_seed.sqlx | 3 +--
cpc/sqlx/cpc_sketch_get_estimate.sqlx | 3 +--
cpc/sqlx/cpc_sketch_get_estimate_and_bounds.sqlx | 3 +--
cpc/sqlx/cpc_sketch_get_estimate_and_bounds_seed.sqlx | 3 +--
cpc/sqlx/cpc_sketch_get_estimate_seed.sqlx | 3 +--
cpc/sqlx/cpc_sketch_to_string.sqlx | 2 +-
cpc/sqlx/cpc_sketch_to_string_seed.sqlx | 2 +-
cpc/sqlx/cpc_sketch_union.sqlx | 3 +--
cpc/sqlx/cpc_sketch_union_lgk_seed.sqlx | 3 +--
hll/sqlx/hll_sketch_agg_string.sqlx | 4 +---
hll/sqlx/hll_sketch_agg_string_lgk_type.sqlx | 4 +---
hll/sqlx/hll_sketch_agg_union.sqlx | 4 +---
hll/sqlx/hll_sketch_agg_union_lgk_type.sqlx | 4 +---
hll/sqlx/hll_sketch_get_estimate.sqlx | 4 +---
hll/sqlx/hll_sketch_get_estimate_and_bounds.sqlx | 4 +---
hll/sqlx/hll_sketch_to_string.sqlx | 2 +-
hll/sqlx/hll_sketch_union.sqlx | 4 +---
hll/sqlx/hll_sketch_union_lgk_type.sqlx | 4 +---
kll/sqlx/kll_sketch_float_build.sqlx | 2 --
kll/sqlx/kll_sketch_float_get_cdf.sqlx | 3 ---
kll/sqlx/kll_sketch_float_get_pmf.sqlx | 3 ---
kll/sqlx/kll_sketch_float_get_quantile.sqlx | 3 ---
kll/sqlx/kll_sketch_float_get_rank.sqlx | 3 ---
kll/sqlx/kll_sketch_float_merge.sqlx | 1 -
theta/sqlx/theta_sketch_a_not_b.sqlx | 8 +-------
theta/sqlx/theta_sketch_a_not_b_seed.sqlx | 8 +-------
theta/sqlx/theta_sketch_agg_string.sqlx | 7 +------
theta/sqlx/theta_sketch_agg_string_lgk_seed_p.sqlx | 7 +------
theta/sqlx/theta_sketch_agg_union.sqlx | 6 +-----
theta/sqlx/theta_sketch_agg_union_lgk_seed.sqlx | 6 +-----
theta/sqlx/theta_sketch_get_estimate.sqlx | 5 +----
theta/sqlx/theta_sketch_get_estimate_and_bounds.sqlx | 5 +----
theta/sqlx/theta_sketch_get_estimate_and_bounds_seed.sqlx | 5 +----
theta/sqlx/theta_sketch_get_estimate_seed.sqlx | 5 +----
theta/sqlx/theta_sketch_intersection.sqlx | 8 +-------
theta/sqlx/theta_sketch_intersection_seed.sqlx | 8 +-------
theta/sqlx/theta_sketch_jaccard_similarity.sqlx | 2 +-
theta/sqlx/theta_sketch_jaccard_similarity_seed.sqlx | 2 +-
theta/sqlx/theta_sketch_to_string.sqlx | 2 +-
theta/sqlx/theta_sketch_to_string_seed.sqlx | 2 +-
theta/sqlx/theta_sketch_union.sqlx | 6 +-----
theta/sqlx/theta_sketch_union_lgk_seed.sqlx | 6 +-----
45 files changed, 39 insertions(+), 142 deletions(-)
diff --git a/cpc/sqlx/cpc_sketch_agg_string.sqlx b/cpc/sqlx/cpc_sketch_agg_string.sqlx
index 6c4f864..356aa66 100644
--- a/cpc/sqlx/cpc_sketch_agg_string.sqlx
+++ b/cpc/sqlx/cpc_sketch_agg_string.sqlx
@@ -29,8 +29,7 @@ Default lg_k and seed.
Returns: a Compact, Compressed CPC Sketch, as BYTES
For more information:
- - https://datasketches.apache.org/docs/CPC/CPC.html
- - https://datasketches.apache.org/docs/CPC/CpcPerformance.html
+ - https://datasketches.apache.org/docs/CPC/CpcSketches.html
'''
) AS (
$BQ_DATASET.cpc_sketch_agg_string_lgk_seed(str, STRUCT<BYTEINT, INT64>(NULL, NULL))
diff --git a/cpc/sqlx/cpc_sketch_agg_string_lgk_seed.sqlx b/cpc/sqlx/cpc_sketch_agg_string_lgk_seed.sqlx
index 0131cf0..405d6d6 100644
--- a/cpc/sqlx/cpc_sketch_agg_string_lgk_seed.sqlx
+++ b/cpc/sqlx/cpc_sketch_agg_string_lgk_seed.sqlx
@@ -32,8 +32,7 @@ Param seed: the seed to be used by the underlying hash function.
Returns: a Compact, Compressed CPC Sketch, as BYTES
For more information:
- - https://datasketches.apache.org/docs/CPC/CPC.html
- - https://datasketches.apache.org/docs/CPC/CpcPerformance.html
+ - https://datasketches.apache.org/docs/CPC/CpcSketches.html
'''
) AS R"""
import ModuleFactory from "gs://$GCS_BUCKET/cpc_sketch.mjs";
diff --git a/cpc/sqlx/cpc_sketch_agg_union.sqlx b/cpc/sqlx/cpc_sketch_agg_union.sqlx
index f5b6223..75186e1 100644
--- a/cpc/sqlx/cpc_sketch_agg_union.sqlx
+++ b/cpc/sqlx/cpc_sketch_agg_union.sqlx
@@ -29,8 +29,7 @@ Default lg_k and seed.
Returns: a Compact, Compressed CPC Sketch, as BYTES.
For more information:
- - https://datasketches.apache.org/docs/CPC/CPC.html
- - https://datasketches.apache.org/docs/CPC/CpcPerformance.html
+ - https://datasketches.apache.org/docs/CPC/CpcSketches.html
'''
) AS (
$BQ_DATASET.cpc_sketch_agg_union_lgk_seed(sketch, STRUCT<BYTEINT, INT64>(NULL, NULL))
diff --git a/cpc/sqlx/cpc_sketch_agg_union_lgk_seed.sqlx b/cpc/sqlx/cpc_sketch_agg_union_lgk_seed.sqlx
index 23f05c0..14943d2 100644
--- a/cpc/sqlx/cpc_sketch_agg_union_lgk_seed.sqlx
+++ b/cpc/sqlx/cpc_sketch_agg_union_lgk_seed.sqlx
@@ -32,8 +32,7 @@ Param seed: This is used to confirm that the given sketches were configured with
Returns: a Compact, Compressed CPC Sketch, as BYTES.
For more information:
- - https://datasketches.apache.org/docs/CPC/CPC.html
- - https://datasketches.apache.org/docs/CPC/CpcPerformance.html
+ - https://datasketches.apache.org/docs/CPC/CpcSketches.html
'''
) AS R"""
import ModuleFactory from "gs://$GCS_BUCKET/cpc_sketch.mjs";
diff --git a/cpc/sqlx/cpc_sketch_get_estimate.sqlx b/cpc/sqlx/cpc_sketch_get_estimate.sqlx
index 321922a..1aae896 100644
--- a/cpc/sqlx/cpc_sketch_get_estimate.sqlx
+++ b/cpc/sqlx/cpc_sketch_get_estimate.sqlx
@@ -29,8 +29,7 @@ Default seed.
Returns: a FLOAT64 value as the cardinality estimate.
For more information:
- - https://datasketches.apache.org/docs/CPC/CPC.html
- - https://datasketches.apache.org/docs/CPC/CpcPerformance.html
+ - https://datasketches.apache.org/docs/CPC/CpcSketches.html
'''
) AS (
$BQ_DATASET.cpc_sketch_get_estimate_seed(sketch, NULL)
diff --git a/cpc/sqlx/cpc_sketch_get_estimate_and_bounds.sqlx b/cpc/sqlx/cpc_sketch_get_estimate_and_bounds.sqlx
index 537082f..da6577a 100644
--- a/cpc/sqlx/cpc_sketch_get_estimate_and_bounds.sqlx
+++ b/cpc/sqlx/cpc_sketch_get_estimate_and_bounds.sqlx
@@ -32,8 +32,7 @@ Default seed.
Returns: a STRUCT with 3 FLOAT64 values as {estimate, lower_bound, upper_bound}.
For more information:
- - https://datasketches.apache.org/docs/CPC/CPC.html
- - https://datasketches.apache.org/docs/CPC/CpcPerformance.html
+ - https://datasketches.apache.org/docs/CPC/CpcSketches.html
'''
) AS (
$BQ_DATASET.cpc_sketch_get_estimate_and_bounds_seed(sketch, num_std_devs, NULL)
diff --git a/cpc/sqlx/cpc_sketch_get_estimate_and_bounds_seed.sqlx b/cpc/sqlx/cpc_sketch_get_estimate_and_bounds_seed.sqlx
index 8d573be..1559592 100644
--- a/cpc/sqlx/cpc_sketch_get_estimate_and_bounds_seed.sqlx
+++ b/cpc/sqlx/cpc_sketch_get_estimate_and_bounds_seed.sqlx
@@ -34,8 +34,7 @@ Param seed: This is used to confirm that the given sketch was configured with th
Returns: a STRUCT with 3 FLOAT64 values as {estimate, lower_bound, upper_bound}.
For more information:
- - https://datasketches.apache.org/docs/CPC/CPC.html
- - https://datasketches.apache.org/docs/CPC/CpcPerformance.html
+ - https://datasketches.apache.org/docs/CPC/CpcSketches.html
'''
) AS R"""
try {
diff --git a/cpc/sqlx/cpc_sketch_get_estimate_seed.sqlx b/cpc/sqlx/cpc_sketch_get_estimate_seed.sqlx
index ab89e05..520eb4c 100644
--- a/cpc/sqlx/cpc_sketch_get_estimate_seed.sqlx
+++ b/cpc/sqlx/cpc_sketch_get_estimate_seed.sqlx
@@ -31,8 +31,7 @@ Param seed: This is used to confirm that the given sketch was configured with th
Returns: a FLOAT64 value as the cardinality estimate.
For more information:
- - https://datasketches.apache.org/docs/CPC/CPC.html
- - https://datasketches.apache.org/docs/CPC/CpcPerformance.html
+ - https://datasketches.apache.org/docs/CPC/CpcSketches.html
'''
) AS R"""
try {
diff --git a/cpc/sqlx/cpc_sketch_to_string.sqlx b/cpc/sqlx/cpc_sketch_to_string.sqlx
index 6301a41..32146c7 100644
--- a/cpc/sqlx/cpc_sketch_to_string.sqlx
+++ b/cpc/sqlx/cpc_sketch_to_string.sqlx
@@ -29,7 +29,7 @@ Default seed.
Returns: a STRING that represents the state of the given sketch.
For more information:
- - https://datasketches.apache.org/docs/CPC/CPC.html
+ - https://datasketches.apache.org/docs/CPC/CpcSketches.html
'''
) AS (
$BQ_DATASET.cpc_sketch_to_string_seed(sketch, NULL)
diff --git a/cpc/sqlx/cpc_sketch_to_string_seed.sqlx b/cpc/sqlx/cpc_sketch_to_string_seed.sqlx
index 270684c..ae97dda 100644
--- a/cpc/sqlx/cpc_sketch_to_string_seed.sqlx
+++ b/cpc/sqlx/cpc_sketch_to_string_seed.sqlx
@@ -31,7 +31,7 @@ Param seed: This is used to confirm that the given sketch was configured with th
Returns: a STRING that represents the state of the given sketch.
For more information:
- - https://datasketches.apache.org/docs/CPC/CPC.html
+ - https://datasketches.apache.org/docs/CPC/CpcSketches.html
'''
) AS R"""
const default_seed = BigInt(Module.DEFAULT_SEED);
diff --git a/cpc/sqlx/cpc_sketch_union.sqlx b/cpc/sqlx/cpc_sketch_union.sqlx
index 9f5c4d6..c37528d 100644
--- a/cpc/sqlx/cpc_sketch_union.sqlx
+++ b/cpc/sqlx/cpc_sketch_union.sqlx
@@ -30,8 +30,7 @@ Default lg_k and seed.
Returns: a CPC Sketch, as BYTES.
For more information:
- - https://datasketches.apache.org/docs/CPC/CPC.html
- - https://datasketches.apache.org/docs/CPC/CpcPerformance.html
+ - https://datasketches.apache.org/docs/CPC/CpcSketches.html
'''
) AS (
$BQ_DATASET.cpc_sketch_union_lgk_seed(sketchA, sketchB, NULL, NULL)
diff --git a/cpc/sqlx/cpc_sketch_union_lgk_seed.sqlx b/cpc/sqlx/cpc_sketch_union_lgk_seed.sqlx
index 98f530b..7d82223 100644
--- a/cpc/sqlx/cpc_sketch_union_lgk_seed.sqlx
+++ b/cpc/sqlx/cpc_sketch_union_lgk_seed.sqlx
@@ -33,8 +33,7 @@ Param seed: This is used to confirm that the given sketches were configured with
Returns: a CPC Sketch, as BYTES.
For more information:
- - https://datasketches.apache.org/docs/CPC/CPC.html
- - https://datasketches.apache.org/docs/CPC/CpcPerformance.html
+ - https://datasketches.apache.org/docs/CPC/CpcSketches.html
'''
) AS R"""
const default_lg_k = 12;
diff --git a/hll/sqlx/hll_sketch_agg_string.sqlx b/hll/sqlx/hll_sketch_agg_string.sqlx
index 0822f4b..18ca98a 100644
--- a/hll/sqlx/hll_sketch_agg_string.sqlx
+++ b/hll/sqlx/hll_sketch_agg_string.sqlx
@@ -29,9 +29,7 @@ Default lg_k and tgt_type.
Returns: an HLL Sketch, as BYTES.
For more information:
- - https://datasketches.apache.org/docs/HLL/HLL.html
- - https://datasketches.apache.org/docs/HLL/HllMaxSizeAndErrorTable.html
- - https://datasketches.apache.org/docs/HLL/HllPerformance.html
+ - https://datasketches.apache.org/docs/HLL/HllSketches.html
'''
) AS (
$BQ_DATASET.hll_sketch_agg_string_lgk_type(str, STRUCT<BYTEINT, STRING>(NULL, NULL))
diff --git a/hll/sqlx/hll_sketch_agg_string_lgk_type.sqlx b/hll/sqlx/hll_sketch_agg_string_lgk_type.sqlx
index 5d1c14a..e188bc6 100644
--- a/hll/sqlx/hll_sketch_agg_string_lgk_type.sqlx
+++ b/hll/sqlx/hll_sketch_agg_string_lgk_type.sqlx
@@ -32,9 +32,7 @@ Param tgt_type: The HLL type to use: one of {"HLL_4", "HLL_6", "HLL_8"}.
Returns: an HLL Sketch, as BYTES.
For more information:
- - https://datasketches.apache.org/docs/HLL/HLL.html
- - https://datasketches.apache.org/docs/HLL/HllMaxSizeAndErrorTable.html
- - https://datasketches.apache.org/docs/HLL/HllPerformance.html
+ - https://datasketches.apache.org/docs/HLL/HllSketches.html
'''
) AS R"""
import ModuleFactory from "gs://$GCS_BUCKET/hll_sketch.mjs";
diff --git a/hll/sqlx/hll_sketch_agg_union.sqlx b/hll/sqlx/hll_sketch_agg_union.sqlx
index 7ee68c8..d3edd6e 100644
--- a/hll/sqlx/hll_sketch_agg_union.sqlx
+++ b/hll/sqlx/hll_sketch_agg_union.sqlx
@@ -29,9 +29,7 @@ Default lg_k and tgt_type.
Returns: an HLL Sketch, as BYTES.
For more information:
- - https://datasketches.apache.org/docs/HLL/HLL.html
- - https://datasketches.apache.org/docs/HLL/HllMaxSizeAndErrorTable.html
- - https://datasketches.apache.org/docs/HLL/HllPerformance.html
+ - https://datasketches.apache.org/docs/HLL/HllSketches.html
'''
) AS (
$BQ_DATASET.hll_sketch_agg_union_lgk_type(sketch, STRUCT<BYTEINT, STRING>(NULL, NULL))
diff --git a/hll/sqlx/hll_sketch_agg_union_lgk_type.sqlx b/hll/sqlx/hll_sketch_agg_union_lgk_type.sqlx
index ce4645c..b418e15 100644
--- a/hll/sqlx/hll_sketch_agg_union_lgk_type.sqlx
+++ b/hll/sqlx/hll_sketch_agg_union_lgk_type.sqlx
@@ -32,9 +32,7 @@ Param tgt_type: The HLL type to use: one of {"HLL_4", "HLL_6", "HLL_8"}.
Returns: an HLL Sketch, as BYTES.
For more information:
- - https://datasketches.apache.org/docs/HLL/HLL.html
- - https://datasketches.apache.org/docs/HLL/HllMaxSizeAndErrorTable.html
- - https://datasketches.apache.org/docs/HLL/HllPerformance.html
+ - https://datasketches.apache.org/docs/HLL/HllSketches.html
'''
) AS R"""
import ModuleFactory from "gs://$GCS_BUCKET/hll_sketch.mjs";
diff --git a/hll/sqlx/hll_sketch_get_estimate.sqlx b/hll/sqlx/hll_sketch_get_estimate.sqlx
index c99cc5b..2900485 100644
--- a/hll/sqlx/hll_sketch_get_estimate.sqlx
+++ b/hll/sqlx/hll_sketch_get_estimate.sqlx
@@ -30,9 +30,7 @@ Param sketch: the given sketch as BYTES.
Returns: the cardinality estimate as FLOAT64 value.
For more information:
- - https://datasketches.apache.org/docs/HLL/HLL.html
- - https://datasketches.apache.org/docs/HLL/HllMaxSizeAndErrorTable.html
- - https://datasketches.apache.org/docs/HLL/HllPerformance.html
+ - https://datasketches.apache.org/docs/HLL/HllSketches.html
'''
) AS R"""
try {
diff --git a/hll/sqlx/hll_sketch_get_estimate_and_bounds.sqlx b/hll/sqlx/hll_sketch_get_estimate_and_bounds.sqlx
index 265ff6d..4ba7e3a 100644
--- a/hll/sqlx/hll_sketch_get_estimate_and_bounds.sqlx
+++ b/hll/sqlx/hll_sketch_get_estimate_and_bounds.sqlx
@@ -33,9 +33,7 @@ Param num_std_devs: The returned bounds will be based on the statistical confide
Returns: a struct with 3 FLOAT64 values as {estimate, lower_bound, upper_bound}.
For more information:
- - https://datasketches.apache.org/docs/HLL/HLL.html
- - https://datasketches.apache.org/docs/HLL/HllMaxSizeAndErrorTable.html
- - https://datasketches.apache.org/docs/HLL/HllPerformance.html
+ - https://datasketches.apache.org/docs/HLL/HllSketches.html
'''
) AS R"""
try {
diff --git a/hll/sqlx/hll_sketch_to_string.sqlx b/hll/sqlx/hll_sketch_to_string.sqlx
index 5329838..dfc7c72 100644
--- a/hll/sqlx/hll_sketch_to_string.sqlx
+++ b/hll/sqlx/hll_sketch_to_string.sqlx
@@ -30,7 +30,7 @@ Param sketch: the given sketch as BYTES.
Returns: a STRING that represents the state of the given sketch.
For more information:
- - https://datasketches.apache.org/docs/HLL/HLL.html
+ - https://datasketches.apache.org/docs/HLL/HllSketches.html
'''
) AS R"""
try {
diff --git a/hll/sqlx/hll_sketch_union.sqlx b/hll/sqlx/hll_sketch_union.sqlx
index ee8b48e..5efe5fa 100644
--- a/hll/sqlx/hll_sketch_union.sqlx
+++ b/hll/sqlx/hll_sketch_union.sqlx
@@ -29,9 +29,7 @@ Default lg_k and tgt_type
Returns: an HLL Sketch, as BYTES.
For more information:
- - https://datasketches.apache.org/docs/HLL/HLL.html
- - https://datasketches.apache.org/docs/HLL/HllMaxSizeAndErrorTable.html
- - https://datasketches.apache.org/docs/HLL/HllPerformance.html
+ - https://datasketches.apache.org/docs/HLL/HllSketches.html
'''
) AS (
$BQ_DATASET.hll_sketch_union_lgk_type(sketchA, sketchB, NULL, NULL)
diff --git a/hll/sqlx/hll_sketch_union_lgk_type.sqlx b/hll/sqlx/hll_sketch_union_lgk_type.sqlx
index f9645fd..ba8c25f 100644
--- a/hll/sqlx/hll_sketch_union_lgk_type.sqlx
+++ b/hll/sqlx/hll_sketch_union_lgk_type.sqlx
@@ -32,9 +32,7 @@ Param tgt_type: The HLL type to use: one of {"HLL_4", "HLL_6", "HLL_8"}.
Returns: an HLL Sketch, as BYTES.
For more information:
- - https://datasketches.apache.org/docs/HLL/HLL.html
- - https://datasketches.apache.org/docs/HLL/HllMaxSizeAndErrorTable.html
- - https://datasketches.apache.org/docs/HLL/HllPerformance.html
+ - https://datasketches.apache.org/docs/HLL/HllSketches.html
'''
) AS R"""
const default_lg_k = 12;
diff --git a/kll/sqlx/kll_sketch_float_build.sqlx b/kll/sqlx/kll_sketch_float_build.sqlx
index c31fd60..8bd1f43 100644
--- a/kll/sqlx/kll_sketch_float_build.sqlx
+++ b/kll/sqlx/kll_sketch_float_build.sqlx
@@ -32,8 +32,6 @@ Returns: a KLL Sketch, as bytes.
For more information:
- https://datasketches.apache.org/docs/KLL/KLLSketch.html
- - https://datasketches.apache.org/docs/KLL/KLLAccuracyAndSize.html
- - https://datasketches.apache.org/docs/KLL/UnderstandingKLLBounds.html
'''
) AS R"""
import ModuleFactory from "gs://$GCS_BUCKET/kll_sketch.mjs";
diff --git a/kll/sqlx/kll_sketch_float_get_cdf.sqlx b/kll/sqlx/kll_sketch_float_get_cdf.sqlx
index 931228f..2bdb764 100644
--- a/kll/sqlx/kll_sketch_float_get_cdf.sqlx
+++ b/kll/sqlx/kll_sketch_float_get_cdf.sqlx
@@ -50,9 +50,6 @@ Returns: the CDF as a monotonically increasing FLOAT64 array of M+1 cumulative p
For more information:
- https://datasketches.apache.org/docs/KLL/KLLSketch.html
- - https://datasketches.apache.org/docs/Quantiles/SketchingQuantilesAndRanksTutorial.html
- - https://datasketches.apache.org/docs/KLL/KLLAccuracyAndSize.html
- - https://datasketches.apache.org/docs/KLL/UnderstandingKLLBounds.html
'''
) AS R"""
try {
diff --git a/kll/sqlx/kll_sketch_float_get_pmf.sqlx b/kll/sqlx/kll_sketch_float_get_pmf.sqlx
index e496580..945e90f 100644
--- a/kll/sqlx/kll_sketch_float_get_pmf.sqlx
+++ b/kll/sqlx/kll_sketch_float_get_pmf.sqlx
@@ -52,9 +52,6 @@ Returns: the PMF as a FLOAT64 array of M+1 probability masses on the interval [0
For more information:
- https://datasketches.apache.org/docs/KLL/KLLSketch.html
- - https://datasketches.apache.org/docs/Quantiles/SketchingQuantilesAndRanksTutorial.html
- - https://datasketches.apache.org/docs/KLL/KLLAccuracyAndSize.html
- - https://datasketches.apache.org/docs/KLL/UnderstandingKLLBounds.html
'''
) AS R"""
try {
diff --git a/kll/sqlx/kll_sketch_float_get_quantile.sqlx b/kll/sqlx/kll_sketch_float_get_quantile.sqlx
index bd31d8e..79b76c2 100644
--- a/kll/sqlx/kll_sketch_float_get_quantile.sqlx
+++ b/kll/sqlx/kll_sketch_float_get_quantile.sqlx
@@ -33,9 +33,6 @@ Returns: an approximate quantile associated with the given rank.
For more information:
- https://datasketches.apache.org/docs/KLL/KLLSketch.html
- - https://datasketches.apache.org/docs/Quantiles/SketchingQuantilesAndRanksTutorial.html
- - https://datasketches.apache.org/docs/KLL/KLLAccuracyAndSize.html
- - https://datasketches.apache.org/docs/KLL/UnderstandingKLLBounds.html
'''
) AS R"""
try {
diff --git a/kll/sqlx/kll_sketch_float_get_rank.sqlx b/kll/sqlx/kll_sketch_float_get_rank.sqlx
index b3349a4..5fa70c1 100644
--- a/kll/sqlx/kll_sketch_float_get_rank.sqlx
+++ b/kll/sqlx/kll_sketch_float_get_rank.sqlx
@@ -33,9 +33,6 @@ Returns: an approximate rank of the given value.
For more information:
- https://datasketches.apache.org/docs/KLL/KLLSketch.html
- - https://datasketches.apache.org/docs/Quantiles/SketchingQuantilesAndRanksTutorial.html
- - https://datasketches.apache.org/docs/KLL/KLLAccuracyAndSize.html
- - https://datasketches.apache.org/docs/KLL/UnderstandingKLLBounds.html
'''
) AS R"""
try {
diff --git a/kll/sqlx/kll_sketch_float_merge.sqlx b/kll/sqlx/kll_sketch_float_merge.sqlx
index 976932f..13fa8b8 100644
--- a/kll/sqlx/kll_sketch_float_merge.sqlx
+++ b/kll/sqlx/kll_sketch_float_merge.sqlx
@@ -32,7 +32,6 @@ Returns: a serialized KLL sketch as BYTES.
For more information:
- https://datasketches.apache.org/docs/KLL/KLLSketch.html
- - https://datasketches.apache.org/docs/KLL/KLLAccuracyAndSize.html
'''
) AS R"""
import ModuleFactory from "gs://$GCS_BUCKET/kll_sketch.mjs";
diff --git a/theta/sqlx/theta_sketch_a_not_b.sqlx b/theta/sqlx/theta_sketch_a_not_b.sqlx
index 1e5961a..db23b32 100644
--- a/theta/sqlx/theta_sketch_a_not_b.sqlx
+++ b/theta/sqlx/theta_sketch_a_not_b.sqlx
@@ -30,13 +30,7 @@ Default seed.
Returns: a Compact, Compressed Theta Sketch, as BYTES.
For more information:
- - https://datasketches.apache.org/docs/Theta/ThetaSketchSetOps.html
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracy.html
- - https://datasketches.apache.org/docs/Theta/ThetaSketchSetOpsAccuracy.html
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracyPlots.html
- - https://datasketches.apache.org/docs/Theta/ThetaErrorTable.html
- - https://datasketches.apache.org/docs/Theta/ThetaSize.html
- - https://datasketches.apache.org/docs/Theta/ThetaSketchFramework.html
+ - https://datasketches.apache.org/docs/Theta/ThetaSketches.html
'''
) AS (
$BQ_DATASET.theta_sketch_a_not_b_seed(sketchA, sketchB, NULL)
diff --git a/theta/sqlx/theta_sketch_a_not_b_seed.sqlx b/theta/sqlx/theta_sketch_a_not_b_seed.sqlx
index e2ad14c..88571e7 100644
--- a/theta/sqlx/theta_sketch_a_not_b_seed.sqlx
+++ b/theta/sqlx/theta_sketch_a_not_b_seed.sqlx
@@ -33,13 +33,7 @@ Param seed: This is used to confirm that the given sketches were configured with
Returns: a Compact, Compressed Theta Sketch, as BYTES.
For more information:
- - https://datasketches.apache.org/docs/Theta/ThetaSketchSetOps.html
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracy.html
- - https://datasketches.apache.org/docs/Theta/ThetaSketchSetOpsAccuracy.html
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracyPlots.html
- - https://datasketches.apache.org/docs/Theta/ThetaErrorTable.html
- - https://datasketches.apache.org/docs/Theta/ThetaSize.html
- - https://datasketches.apache.org/docs/Theta/ThetaSketchFramework.html
+ - https://datasketches.apache.org/docs/Theta/ThetaSketches.html
'''
) AS R"""
const default_seed = BigInt(Module.DEFAULT_SEED);
diff --git a/theta/sqlx/theta_sketch_agg_string.sqlx b/theta/sqlx/theta_sketch_agg_string.sqlx
index 73590f6..ef5344b 100644
--- a/theta/sqlx/theta_sketch_agg_string.sqlx
+++ b/theta/sqlx/theta_sketch_agg_string.sqlx
@@ -31,12 +31,7 @@ Param p: assume default = 1.0
Returns: a Compact, Compressed Theta Sketch, as BYTES.
For more information:
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracy.html
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracyPlots.html
- - https://datasketches.apache.org/docs/Theta/ThetaErrorTable.html
- - https://datasketches.apache.org/docs/Theta/ThetaSize.html
- - https://datasketches.apache.org/docs/Theta/ThetaPSampling.html
- - https://datasketches.apache.org/docs/Theta/ThetaSketchFramework.html
+ - https://datasketches.apache.org/docs/Theta/ThetaSketches.html
'''
) AS (
$BQ_DATASET.theta_sketch_agg_string_lgk_seed_p(str, STRUCT<BYTEINT, INT64, FLOAT64>(NULL, NULL, NULL))
diff --git a/theta/sqlx/theta_sketch_agg_string_lgk_seed_p.sqlx b/theta/sqlx/theta_sketch_agg_string_lgk_seed_p.sqlx
index 33ca2c2..3c84f65 100644
--- a/theta/sqlx/theta_sketch_agg_string_lgk_seed_p.sqlx
+++ b/theta/sqlx/theta_sketch_agg_string_lgk_seed_p.sqlx
@@ -33,12 +33,7 @@ Param p: up-front sampling probability. A NULL specifies the default of 1.0.
Returns: a Compact, Compressed Theta Sketch, as BYTES.
For more information:
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracy.html
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracyPlots.html
- - https://datasketches.apache.org/docs/Theta/ThetaErrorTable.html
- - https://datasketches.apache.org/docs/Theta/ThetaSize.html
- - https://datasketches.apache.org/docs/Theta/ThetaPSampling.html
- - https://datasketches.apache.org/docs/Theta/ThetaSketchFramework.html
+ - https://datasketches.apache.org/docs/Theta/ThetaSketches.html
'''
) AS R"""
import ModuleFactory from "gs://$GCS_BUCKET/theta_sketch.mjs";
diff --git a/theta/sqlx/theta_sketch_agg_union.sqlx b/theta/sqlx/theta_sketch_agg_union.sqlx
index bcfc87e..ee0b758 100644
--- a/theta/sqlx/theta_sketch_agg_union.sqlx
+++ b/theta/sqlx/theta_sketch_agg_union.sqlx
@@ -29,11 +29,7 @@ Default lg_k and seed.
Returns: a Compact, Compressed Theta Sketch, as BYTES.
For more information:
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracy.html
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracyPlots.html
- - https://datasketches.apache.org/docs/Theta/ThetaErrorTable.html
- - https://datasketches.apache.org/docs/Theta/ThetaSize.html
- - https://datasketches.apache.org/docs/Theta/ThetaSketchFramework.html
+ - https://datasketches.apache.org/docs/Theta/ThetaSketches.html
'''
) AS (
$BQ_DATASET.theta_sketch_agg_union_lgk_seed(sketch, STRUCT<BYTEINT, INT64>(NULL, NULL))
diff --git a/theta/sqlx/theta_sketch_agg_union_lgk_seed.sqlx b/theta/sqlx/theta_sketch_agg_union_lgk_seed.sqlx
index 49c3633..dbd02b3 100644
--- a/theta/sqlx/theta_sketch_agg_union_lgk_seed.sqlx
+++ b/theta/sqlx/theta_sketch_agg_union_lgk_seed.sqlx
@@ -32,11 +32,7 @@ Param seed: This is used to confirm that the given sketches were configured with
Returns: a Compact, Compressed Theta Sketch, as BYTES.
For more information:
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracy.html
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracyPlots.html
- - https://datasketches.apache.org/docs/Theta/ThetaErrorTable.html
- - https://datasketches.apache.org/docs/Theta/ThetaSize.html
- - https://datasketches.apache.org/docs/Theta/ThetaSketchFramework.html
+ - https://datasketches.apache.org/docs/Theta/ThetaSketches.html
'''
) AS R"""
import ModuleFactory from "gs://$GCS_BUCKET/theta_sketch.mjs";
diff --git a/theta/sqlx/theta_sketch_get_estimate.sqlx b/theta/sqlx/theta_sketch_get_estimate.sqlx
index bb0c855..7c54b09 100644
--- a/theta/sqlx/theta_sketch_get_estimate.sqlx
+++ b/theta/sqlx/theta_sketch_get_estimate.sqlx
@@ -29,10 +29,7 @@ Default seed.
Returns: a FLOAT64 value as the cardinality estimate.
For more information:
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracy.html
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracyPlots.html
- - https://datasketches.apache.org/docs/Theta/ThetaErrorTable.html
- - https://datasketches.apache.org/docs/Theta/ThetaSketchFramework.html
+ - https://datasketches.apache.org/docs/Theta/ThetaSketches.html
'''
) AS (
$BQ_DATASET.theta_sketch_get_estimate_seed(sketch, NULL)
diff --git a/theta/sqlx/theta_sketch_get_estimate_and_bounds.sqlx b/theta/sqlx/theta_sketch_get_estimate_and_bounds.sqlx
index e249f1f..4368f08 100644
--- a/theta/sqlx/theta_sketch_get_estimate_and_bounds.sqlx
+++ b/theta/sqlx/theta_sketch_get_estimate_and_bounds.sqlx
@@ -35,10 +35,7 @@ Default seed.
Returns: a STRUCT with three FLOAT64 values as {estimate, lower_bound, upper_bound}.
For more information:
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracy.html
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracyPlots.html
- - https://datasketches.apache.org/docs/Theta/ThetaErrorTable.html
- - https://datasketches.apache.org/docs/Theta/ThetaSketchFramework.html
+ - https://datasketches.apache.org/docs/Theta/ThetaSketches.html
'''
) AS (
$BQ_DATASET.theta_sketch_get_estimate_and_bounds_seed(sketch, num_std_devs, NULL)
diff --git a/theta/sqlx/theta_sketch_get_estimate_and_bounds_seed.sqlx b/theta/sqlx/theta_sketch_get_estimate_and_bounds_seed.sqlx
index 1ca5db0..a23ab12 100644
--- a/theta/sqlx/theta_sketch_get_estimate_and_bounds_seed.sqlx
+++ b/theta/sqlx/theta_sketch_get_estimate_and_bounds_seed.sqlx
@@ -38,10 +38,7 @@ Param seed: This is used to confirm that the given sketch was configured with th
Returns: a STRUCT with three FLOAT64 values as {estimate, lower_bound, upper_bound}.
For more information:
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracy.html
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracyPlots.html
- - https://datasketches.apache.org/docs/Theta/ThetaErrorTable.html
- - https://datasketches.apache.org/docs/Theta/ThetaSketchFramework.html
+ - https://datasketches.apache.org/docs/Theta/ThetaSketches.html
'''
) AS R"""
const default_seed = BigInt(Module.DEFAULT_SEED);
diff --git a/theta/sqlx/theta_sketch_get_estimate_seed.sqlx b/theta/sqlx/theta_sketch_get_estimate_seed.sqlx
index 78ef183..c851990 100644
--- a/theta/sqlx/theta_sketch_get_estimate_seed.sqlx
+++ b/theta/sqlx/theta_sketch_get_estimate_seed.sqlx
@@ -32,10 +32,7 @@ Param seed: This is used to confirm that the given sketch was configured with th
Returns: a FLOAT64 value as the cardinality estimate.
For more information:
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracy.html
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracyPlots.html
- - https://datasketches.apache.org/docs/Theta/ThetaErrorTable.html
- - https://datasketches.apache.org/docs/Theta/ThetaSketchFramework.html
+ - https://datasketches.apache.org/docs/Theta/ThetaSketches.html
'''
) AS R"""
const default_seed = BigInt(Module.DEFAULT_SEED);
diff --git a/theta/sqlx/theta_sketch_intersection.sqlx b/theta/sqlx/theta_sketch_intersection.sqlx
index eaf3016..9bb6224 100644
--- a/theta/sqlx/theta_sketch_intersection.sqlx
+++ b/theta/sqlx/theta_sketch_intersection.sqlx
@@ -30,13 +30,7 @@ Default seed.
Returns: a Compact, Compressed Theta Sketch, as BYTES.
For more information:
- - https://datasketches.apache.org/docs/Theta/ThetaSketchSetOps.html
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracy.html
- - https://datasketches.apache.org/docs/Theta/ThetaSketchSetOpsAccuracy.html
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracyPlots.html
- - https://datasketches.apache.org/docs/Theta/ThetaErrorTable.html
- - https://datasketches.apache.org/docs/Theta/ThetaSize.html
- - https://datasketches.apache.org/docs/Theta/ThetaSketchFramework.html
+ - https://datasketches.apache.org/docs/Theta/ThetaSketches.html
'''
) AS (
$BQ_DATASET.theta_sketch_intersection_seed(sketchA, sketchB, NULL)
diff --git a/theta/sqlx/theta_sketch_intersection_seed.sqlx b/theta/sqlx/theta_sketch_intersection_seed.sqlx
index 010a280..b219916 100644
--- a/theta/sqlx/theta_sketch_intersection_seed.sqlx
+++ b/theta/sqlx/theta_sketch_intersection_seed.sqlx
@@ -33,13 +33,7 @@ Param seed: This is used to confirm that the given sketches were configured with
Returns: a Compact, Compressed Theta Sketch, as BYTES.
For more information:
- - https://datasketches.apache.org/docs/Theta/ThetaSketchSetOps.html
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracy.html
- - https://datasketches.apache.org/docs/Theta/ThetaSketchSetOpsAccuracy.html
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracyPlots.html
- - https://datasketches.apache.org/docs/Theta/ThetaErrorTable.html
- - https://datasketches.apache.org/docs/Theta/ThetaSize.html
- - https://datasketches.apache.org/docs/Theta/ThetaSketchFramework.html
+ - https://datasketches.apache.org/docs/Theta/ThetaSketches.html
'''
) AS R"""
const default_seed = BigInt(Module.DEFAULT_SEED);
diff --git a/theta/sqlx/theta_sketch_jaccard_similarity.sqlx b/theta/sqlx/theta_sketch_jaccard_similarity.sqlx
index 2265e29..2bf5ea9 100644
--- a/theta/sqlx/theta_sketch_jaccard_similarity.sqlx
+++ b/theta/sqlx/theta_sketch_jaccard_similarity.sqlx
@@ -33,7 +33,7 @@ Default seed.
Returns: a STRUCT with three FLOAT64 values {lower_bound, estimate, upper_bound} of the Jaccard index.
For more information:
- - https://datasketches.apache.org/docs/Theta/ThetaSketchFramework.html
+ - https://datasketches.apache.org/docs/Theta/ThetaSketches.html
'''
) AS (
$BQ_DATASET.theta_sketch_jaccard_similarity_seed(sketchA, sketchB, NULL)
diff --git a/theta/sqlx/theta_sketch_jaccard_similarity_seed.sqlx b/theta/sqlx/theta_sketch_jaccard_similarity_seed.sqlx
index 12058c5..eb586a4 100644
--- a/theta/sqlx/theta_sketch_jaccard_similarity_seed.sqlx
+++ b/theta/sqlx/theta_sketch_jaccard_similarity_seed.sqlx
@@ -36,7 +36,7 @@ Param seed: This is used to confirm that the given sketches were configured with
Returns: a STRUCT with three FLOAT64 values {lower_bound, estimate, upper_bound} of the Jaccard index.
For more information:
- - https://datasketches.apache.org/docs/Theta/ThetaSketchFramework.html
+ - https://datasketches.apache.org/docs/Theta/ThetaSketches.html
'''
) AS R"""
const default_seed = BigInt(Module.DEFAULT_SEED);
diff --git a/theta/sqlx/theta_sketch_to_string.sqlx b/theta/sqlx/theta_sketch_to_string.sqlx
index ee2f79d..f68645e 100644
--- a/theta/sqlx/theta_sketch_to_string.sqlx
+++ b/theta/sqlx/theta_sketch_to_string.sqlx
@@ -29,7 +29,7 @@ Default seed.
Returns: a STRING that represents the state of the given sketch.
For more information:
- - https://datasketches.apache.org/docs/Theta/ThetaSketchFramework.html
+ - https://datasketches.apache.org/docs/Theta/ThetaSketches.html
'''
) AS (
$BQ_DATASET.theta_sketch_to_string_seed(sketch, NULL)
diff --git a/theta/sqlx/theta_sketch_to_string_seed.sqlx b/theta/sqlx/theta_sketch_to_string_seed.sqlx
index 296e4b4..353c6a2 100644
--- a/theta/sqlx/theta_sketch_to_string_seed.sqlx
+++ b/theta/sqlx/theta_sketch_to_string_seed.sqlx
@@ -32,7 +32,7 @@ Param seed: This is used to confirm that the given sketch was configured with th
Returns: a STRING that represents the state of the given sketch.
For more information:
- - https://datasketches.apache.org/docs/Theta/ThetaSketchFramework.html
+ - https://datasketches.apache.org/docs/Theta/ThetaSketches.html
'''
) AS R"""
const default_seed = BigInt(Module.DEFAULT_SEED);
diff --git a/theta/sqlx/theta_sketch_union.sqlx b/theta/sqlx/theta_sketch_union.sqlx
index 5b6efe1..5639514 100644
--- a/theta/sqlx/theta_sketch_union.sqlx
+++ b/theta/sqlx/theta_sketch_union.sqlx
@@ -30,11 +30,7 @@ Default lg_k and seed.
Returns: a Compact, Compressed Theta Sketch, as BYTES.
For more information:
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracy.html
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracyPlots.html
- - https://datasketches.apache.org/docs/Theta/ThetaErrorTable.html
- - https://datasketches.apache.org/docs/Theta/ThetaSize.html
- - https://datasketches.apache.org/docs/Theta/ThetaSketchFramework.html
+ - https://datasketches.apache.org/docs/Theta/ThetaSketches.html
'''
) AS (
$BQ_DATASET.theta_sketch_union_lgk_seed(sketchA, sketchB, NULL, NULL)
diff --git a/theta/sqlx/theta_sketch_union_lgk_seed.sqlx b/theta/sqlx/theta_sketch_union_lgk_seed.sqlx
index e501eec..dbec694 100644
--- a/theta/sqlx/theta_sketch_union_lgk_seed.sqlx
+++ b/theta/sqlx/theta_sketch_union_lgk_seed.sqlx
@@ -34,11 +34,7 @@ Param seed: This is used to confirm that the given sketches were configured with
Returns: a Compact, Compressed Theta Sketch, as BYTES.
For more information:
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracy.html
- - https://datasketches.apache.org/docs/Theta/ThetaAccuracyPlots.html
- - https://datasketches.apache.org/docs/Theta/ThetaErrorTable.html
- - https://datasketches.apache.org/docs/Theta/ThetaSize.html
- - https://datasketches.apache.org/docs/Theta/ThetaSketchFramework.html
+ - https://datasketches.apache.org/docs/Theta/ThetaSketches.html
'''
) AS R"""
const default_lg_k = Number(Module.DEFAULT_LG_K);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org