add docs for construct_tdigest
@@ -88,3 +88,11 @@ Functions
its component parts. These include arrays of the centroid means and weights,
the compression factor, and the maximum, minimum, sum and count of the
values in the digest.
+
+.. function:: construct_tdigest(centroid_means array<double>, centroid_weights array<double>, compression double, min double, max double, sum double, count bigint) -> tdigest<double>
+
+ Returns the ``tdigest`` from its component parts (arrays of the centroid means
+ and weights, the compression factor, and the maximum, minimum, sum and count of the
+ values in the digest). This is an inverse of ``destructure_tdigest``.
+
+ This function is particularly useful for adding externally-created tdigests to Presto.
