You are viewing documentation about an older version (1.3.0). View latest version

snowflake.snowpark.functions.approx_percentile_combine

snowflake.snowpark.functions.approx_percentile_combine(state: ColumnOrName) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.3.0/src/snowflake/snowpark/functions.py#L882-L890)

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.

语言: 中文