How to Use ThetaSketch for COUNT DISTINCT on Druid?

pandog
New Member

When we are trying to do COUNT DISTINCT, it reports

Remote driver error: QueryInterruptedException: Incompatible type for metric[id], expected a 
HyperUnique, got a class org.apache.druid.query.aggregation.datasketches.theta.SketchHolder - 
> QueryInterruptedException: Incompatible type for metric[id], expected a HyperUnique, got a 
class org.apache.druid.query.aggregation.datasketches.theta.SketchHolder

We do want to use ThetaSketch instead of HyperUnique. How we can change that?

0 3 774
3 REPLIES 3
Top Labels in this Space
Top Solution Authors