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 770f8a9  fixed return type
770f8a9 is described below

commit 770f8a9230f22b9f4ed016c8b1e7575d683d8695
Author: AlexanderSaydakov <[email protected]>
AuthorDate: Mon Aug 5 19:00:57 2024 -0700

    fixed return type
---
 theta_sketch_get_estimate_and_bounds.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/theta_sketch_get_estimate_and_bounds.sql 
b/theta_sketch_get_estimate_and_bounds.sql
index b020739..f0da32d 100644
--- a/theta_sketch_get_estimate_and_bounds.sql
+++ b/theta_sketch_get_estimate_and_bounds.sql
@@ -15,7 +15,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-CREATE OR REPLACE FUNCTION 
`$BQ_PROJECT.$BQ_DATASET`.theta_sketch_get_estimate_and_bounds(base64 BYTES, 
num_std_devs INT, seed INT64) RETURNS FLOAT64 LANGUAGE js
+CREATE OR REPLACE FUNCTION 
`$BQ_PROJECT.$BQ_DATASET`.theta_sketch_get_estimate_and_bounds(base64 BYTES, 
num_std_devs INT, seed INT64) RETURNS ARRAY<FLOAT64> LANGUAGE js
 OPTIONS (library=["$GCS_BUCKET/theta_sketch.js"]) AS R"""
 const default_seed = BigInt(9001);
 try {


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

Reply via email to