Details
-
New Feature
-
Status: Resolved
-
P3
-
Resolution: Fixed
-
None
-
None
Description
There is support for HLL sketch in Ptransform:
p.apply("Int", Create.of(ints)).apply("IntHLL", ApproximateCountDistinct.globally() .withPercision(PRECISION));
or
PCollection<KV<Integer, Long>> result = p.apply("Long", Create.of(longs)).apply("LongHLL", ApproximateCountDistinct.perKey());
But, no support for beam sql.
We can't initiate it to be used in SqlTransform (even the combiner: HllCountMergePartialFn exists)
Attachments
Issue Links
- links to