Skip to main content
Since 1.16.0 Return the data from a space-saving aggregate as a table. The table lists the stored values with the minimum and maximum bounds for their estimated frequencies.
into_values(
    agg SpaceSavingAggregate
) RETURNS (AnyElement, DOUBLE PRECISION, DOUBLE PRECISION)

Arguments

NameTypeDefaultRequiredDescription
aggSpaceSavingAggregate-A space-saving aggregate created using either freq_agg or mcv_agg

Returns

ColumnTypeDescription
valueAnyElementA commonly seen value in the original dataset
min_freqDOUBLE PRECISIONThe minimum bound for the estimated frequency
max_freqDOUBLE PRECISIONThe maximum bound for the estimated frequency