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 ea5e473 fixed init parameter
ea5e473 is described below
commit ea5e473e81b510699805189f180ca5edafb85d35
Author: AlexanderSaydakov <[email protected]>
AuthorDate: Mon Jul 22 19:31:13 2024 -0700
fixed init parameter
---
theta_sketch_agg_string.sql | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/theta_sketch_agg_string.sql b/theta_sketch_agg_string.sql
index b0f51cf..b5455ff 100644
--- a/theta_sketch_agg_string.sql
+++ b/theta_sketch_agg_string.sql
@@ -35,7 +35,7 @@ function destroyState(state) {
}
// UDAF interface
-export function initialState(seed) {
+export function initialState(params) {
var state = {
lg_k: params.lg_k == null ? default_lg_k : Number(params.lg_k),
seed: params.seed == null ? default_seed : BigInt(params.seed),
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]