[ 
https://issues.apache.org/jira/browse/IMPALA-10580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fucun Chu updated IMPALA-10580:
-------------------------------
    Description: 
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}

  was:
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_exclude(sketch1, sketch2)) |
+-------------------------------------------------------+
| 5                                                     |
+-------------------------------------------------------+{code}


> 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-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to