Not directly. But the FDT sketch is really pretty simple to code yourself, and is in the library as primarily an example. Nonetheless, one of the reasons that only a few of our sketches have been adapted for Druid is that Druid requires that all sketches be capable of operating off-heap. Which is much more complex especially for generic sketches. Although the FDT sketch is simple in concept, making it work in the Druid environment will be a challenge. I'd be interested in hearing any thoughts you might have. Lee.
On Fri, Jan 7, 2022 at 12:54 PM Ben Krug <ben.k...@imply.io> wrote: > Does druid support FDT sketches? The datasketch module docs don't list > it. > https://druid.apache.org/docs/latest/development/extensions-core/datasketches-extension.html > > On Fri, Jan 7, 2022 at 1:04 AM liupeng_wx <liupeng...@qq.com> wrote: > >> hi all: >> >> i have a question at Frequent Distinct Tuples Sketch。 a multiset >> of tuples with N dimensions {d1,d2, d3, …, dN},FDT could base on any of >> dimensions and approximate count distinct left dimensions。eg: *select >> appromate group by(d1,d2),count distinct {d2,...dn} from sketches group >> by **(d1,d2)*。 is there a way to group any of dimensions and count >> distinct any of left dimensions, eg: *select appromate group >> by(d1,d2),count distinct d3 from sketches group by (d1,d2)* >> >> >>