You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by al...@apache.org on 2019/06/11 19:05:55 UTC

[incubator-datasketches-postgresql] branch theta updated: support lg_k in non-aggregate union

This is an automated email from the ASF dual-hosted git repository.

alsay pushed a commit to branch theta
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-postgresql.git


The following commit(s) were added to refs/heads/theta by this push:
     new 7be614f  support lg_k in non-aggregate union
7be614f is described below

commit 7be614faf45efcf7c4e883ba8b56b71005228c78
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Tue Jun 11 12:05:33 2019 -0700

    support lg_k in non-aggregate union
---
 sql/datasketches_theta_sketch.sql | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sql/datasketches_theta_sketch.sql b/sql/datasketches_theta_sketch.sql
index 2a8cfe8..eb46d6d 100644
--- a/sql/datasketches_theta_sketch.sql
+++ b/sql/datasketches_theta_sketch.sql
@@ -96,6 +96,10 @@ CREATE OR REPLACE FUNCTION theta_sketch_union(theta_sketch, theta_sketch) RETURN
     AS '$libdir/datasketches', 'pg_theta_sketch_union'
     LANGUAGE C STRICT IMMUTABLE;
 
+CREATE OR REPLACE FUNCTION theta_sketch_union(theta_sketch, theta_sketch, int) RETURNS theta_sketch
+    AS '$libdir/datasketches', 'pg_theta_sketch_union'
+    LANGUAGE C STRICT IMMUTABLE;
+
 CREATE OR REPLACE FUNCTION theta_sketch_intersection(theta_sketch, theta_sketch) RETURNS theta_sketch
     AS '$libdir/datasketches', 'pg_theta_sketch_intersection'
     LANGUAGE C STRICT IMMUTABLE;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org