You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/03/24 19:01:00 UTC

[jira] [Commented] (IMPALA-10580) Implement ds_theta_union_f() function.

    [ https://issues.apache.org/jira/browse/IMPALA-10580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308128#comment-17308128 ] 

ASF subversion and git services commented on IMPALA-10580:
----------------------------------------------------------

Commit 622e3c95adca5cf30a0aff6542556feab9b8a861 in impala's branch refs/heads/master from Fucun Chu
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=622e3c9 ]

IMPALA-10580: Implement ds_theta_union_f() function

This function receives two strings that are serialized Apache
DataSketches Theta sketches. Union two sketches and returns the
resulting sketch of union.

Example:
select ds_theta_estimate(ds_theta_union_f(sketch1, sketch2))
from sketch_tbl;
+-------------------------------------------------------+
| ds_theta_estimate(ds_theta_union_f(sketch1, sketch2)) |
+-------------------------------------------------------+
| 15                                                    |
+-------------------------------------------------------+

Change-Id: I8329979b81ceeaad739a43fab79768ca9c2916fa
Reviewed-on: http://gerrit.cloudera.org:8080/17179
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Implement ds_theta_union_f() function.
> --------------------------------------
>
>                 Key: IMPALA-10580
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10580
>             Project: IMPALA
>          Issue Type: New Feature
>          Components: Backend, Frontend
>            Reporter: Fucun Chu
>            Assignee: Fucun Chu
>            Priority: Major
>             Fix For: Impala 4.0
>
>
> This function receives two strings that are serialized Apache DataSketches Theta sketches. Union two sketches and returns the resulting sketch of union.
> Example:
> {code:java}
> select ds_theta_estimate(ds_theta_union_f(sketch1, sketch2))
> from sketch_tbl;
> +-------------------------------------------------------+
> | ds_theta_estimate(ds_theta_union_f(sketch1, sketch2)) |
> +-------------------------------------------------------+
> | 15                                                    |
> +-------------------------------------------------------+{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org