Apologies for the delayed response. The short answer is that the sketch only exists in the Java library, and using that one the provided example should work fine.
That said, I think it should be possible to implement it in C++ with the correct definitions of ExtractKey, Summary, and Policy. In case it's helpful, we recently merged an implementation of the engagement example from the website, which is available (not in a release branch yet) here: https://github.com/apache/datasketches-cpp/blob/master/tuple/test/engagement_test.cpp jon On Thu, Sep 8, 2022 at 2:02 AM Yaron Illouz <yar...@radcom.com> wrote: > Hi > > > > I don’t find fdt sketch in the https://github.com/apache/datasketches-cpp > code as describe in > https://datasketches.apache.org/docs/Frequency/FrequentDistinctTuplesSketch.html > > I believe it is implemented because I can see example in the description > > //Construct the sketch > > FdtSketch sketch = new FdtSketch(0.01, 0.05); > > > > >