Package io.trino.operator.aggregation
package io.trino.operator.aggregation
-
ClassDescriptionCalculate the histogram approximately for topk elements based on the Space-Saving algorithm and the Stream-Summary data structure as described in: Efficient Computation of Frequent and Top-k Elements in Data Streams by Metwally, Agrawal, and AbbadiAggregation function that approximates the frequency of the top-K elements.Aggregation function that approximates the frequency of the top-K elements.