I think something like this could work:
theta_sketch_agg(col) to build the sketch
theta_sketch_union(sketch1, sketch2) to union the sketches
theta_sketch_estimate(sketch) or theta_sketch_estimate_count(sketch) to 
estimate count
…

Something similar can be done for tuple support.

Let me know what you think.

Chris

Reply via email to