Fucun Chu created IMPALA-10581:
----------------------------------

             Summary: 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


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