snowflake.snowpark.functions.approx_percentile_combine¶
- snowflake.snowpark.functions.approx_percentile_combine(state: ColumnOrName) Column [source]¶
Combines (merges) percentile input states into a single output state. This allows scenarios where APPROX_PERCENTILE_ACCUMULATE is run over horizontal partitions of the same table, producing an algorithm state for each table partition. These states can later be combined using APPROX_PERCENTILE_COMBINE, producing the same output state as a single run of APPROX_PERCENTILE_ACCUMULATE over the entire table.