PERCENTILE_UNION (Lakehouse v2)
Retorna a união de vários estados de percentil.
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”func.percentile_union(<state>)Exemplos do Analyze
Seção intitulada “Exemplos do Analyze”func.percentile_union(get_column(table, 'pct_state'))
┌────────────────┐│ (merged state) │└────────────────┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”PERCENTILE_UNION(<state>)Exemplos de SQL
Seção intitulada “Exemplos de SQL”SELECT PERCENTILE_APPROX_RAW(PERCENTILE_UNION(pct_state), 0.5) FROM agg_table;
┌───────┐│ 72500 │└───────┘