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

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

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

IMPALA-10558: Implement ds_theta_exclude() function

This function receives two strings that are serialized Apache
DataSketches Theta sketches. Computes the a-not-b set operation given
two sketches of same or different column.

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

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


> Implement ds_theta_exclude() function.
> --------------------------------------
>
>                 Key: IMPALA-10558
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10558
>             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. Computes the a-not-b set operation given two sketches of same 
> or different column.
> Example:
> {code:sql}
> select ds_theta_estimate(ds_theta_exclude(sketch1, sketch2)) from sketch_tbl;
> +-------------------------------------------------------+
> | ds_theta_estimate(ds_theta_exclude(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