Support constructing TDigest from centroids and getting centroids from TDigest
Summary: To implement tdigest aggregation in scuba, we need to be able to deserialize and serialize the digests. I added a getter for the centroids so that we can serialize the tdigest, and added a constructor to create one from the list of centroids. Last diff was reverted because of a build error :( We were seeing an error only in opt mode because it's an error in gcc but not in clang. Differential Revision: D8381617 fbshipit-source-id: 768a12795aeb02737eb9b060f80d01608685c91d
Showing
Please register or sign in to comment