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 2021/01/26 21:34:35 UTC

[datasketches-postgresql] 01/01: allow null inputs

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

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

commit 9404aaf95716313a0378b6989064d1162d6a41bb
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Tue Jan 26 13:34:01 2021 -0800

    allow null inputs
---
 sql/datasketches_theta_sketch.sql | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sql/datasketches_theta_sketch.sql b/sql/datasketches_theta_sketch.sql
index 8be1154..dfd4250 100644
--- a/sql/datasketches_theta_sketch.sql
+++ b/sql/datasketches_theta_sketch.sql
@@ -140,15 +140,15 @@ CREATE AGGREGATE theta_sketch_intersection(theta_sketch) (
 
 CREATE OR REPLACE FUNCTION theta_sketch_union(theta_sketch, theta_sketch) RETURNS theta_sketch
     AS '$libdir/datasketches', 'pg_theta_sketch_union'
-    LANGUAGE C STRICT IMMUTABLE;
+    LANGUAGE C 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;
+    LANGUAGE C 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;
+    LANGUAGE C IMMUTABLE;
 
 CREATE OR REPLACE FUNCTION theta_sketch_a_not_b(theta_sketch, theta_sketch) RETURNS theta_sketch
     AS '$libdir/datasketches', 'pg_theta_sketch_a_not_b'


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