is_anchor = 1) and a window group (is_anchor = 0) —
then at finalization intersects the two unions and returns the cardinality
estimate of the intersection as DOUBLE.
This is a single-pass equivalent of:
Syntax
sketch:VARBINARYcompact theta sketch, typically produced byds_theta_accumulateords_theta_combine.is_anchor:INTflag. Any nonzero value routes the sketch to the anchor group;0routes it to the window group.
Return value
ReturnsDOUBLE. Returns 0 if either group receives no sketches.