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

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

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

IMPALA-10581: Implement ds_theta_intersect_f() function

This function receives two strings that are serialized Apache
DataSketches Theta sketches. Computes the intersection of two sketches
of same or different column and returns the resulting sketch of
intersection.

Example:
select ds_theta_estimate(ds_theta_intersect_f(sketch1, sketch2))
from sketch_tbl;
+-----------------------------------------------------------+
| ds_theta_estimate(ds_theta_intersect_f(sketch1, sketch2)) |
+-----------------------------------------------------------+
| 5                                                         |
+-----------------------------------------------------------+

Change-Id: I335eada00730036d5433775cfe673e0e4babaa01
Reviewed-on: http://gerrit.cloudera.org:8080/17186
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Implement ds_theta_intersect_f() function
> -----------------------------------------
>
>                 Key: IMPALA-10581
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10581
>             Project: IMPALA
>          Issue Type: New Feature
>          Components: Backend, Frontend
>            Reporter: Fucun Chu
>            Assignee: Fucun Chu
>            Priority: Major
>
> This function receives two strings that are serialized Apache DataSketches 
> Theta sketches. Computes the intersection of two sketches of same or 
> different column and returns the resulting sketch of intersection.
> Example:
> {code:java}
> select ds_theta_estimate(ds_theta_intersect_f(sketch1, sketch2))
> from sketch_tbl;
> +-----------------------------------------------------------+
> | ds_theta_estimate(ds_theta_intersect_f(sketch1, sketch2)) |
> +-----------------------------------------------------------+
> | 5                                                         |
> +-----------------------------------------------------------+{code}



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

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

Reply via email to