chongdae opened a new issue #34:
URL: https://github.com/apache/datasketches-postgresql/issues/34
`theta_sketch_union` is working well.
```
with d1 as (
select id, theta_sketch_build(val) sketch
from (values (1, 1), (1, 2), (1, 3), (2, 2), (2, 3), (2, 4)) as t(id,
val)
group by id
)
select
theta_sketch_get_estimate(theta_sketch_union(sketch)) agg
from d1
;
```
But `theta_sketch_intersection` is not working.
```
with d1 as (
select id, theta_sketch_build(val) sketch
from (values (1, 1), (1, 2), (1, 3), (2, 2), (2, 3), (2, 4)) as t(id,
val)
group by id
)
select
theta_sketch_get_estimate(theta_sketch_intersection(sketch)) agg
from d1
;
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]