Is there a good reason to necessarily update the same sketch you decided to serialize? I would suggest considering that sketch finalized. Perhaps, in your system these sketches would represent different time periods or different categories or something like that. Later on you may want to merge (union) some of them to obtain an estimate for a longer time frame or a total across categories and so on.
On Wed, Aug 25, 2021 at 11:14 AM Karl Matthias <k...@community.com> wrote: > Hey folks, > > I am working with both the Java library and the C++ library and the Theta > sketch. > > What I would like to do is update a sketch, save it somewhere (i.e. disk, > etc), then reload it later and possibly update it then. The CompactSketch > doesn't support updates when an UpdateSketch is serialized and loaded, it > is read-only. > > From looking at the Java code it seems like it would be possible to create > an UpdateSketch from the contents of a CompactSketch but there doesn't > appear to be an existing method that does this. Am I missing something that > already does this? Or is it not possible? > > Many thanks > Karl > >