PERCENTILE_UNION

Returns the union of multiple percentile states.

Analyze Syntax

func.percentile_union(<state>)

Analyze Examples

func.percentile_union(get_column(table, 'pct_state'))

┌────────────────┐
 (merged state)  
└────────────────┘

SQL Syntax

PERCENTILE_UNION(<state>)

SQL Examples

SELECT PERCENTILE_APPROX_RAW(PERCENTILE_UNION(pct_state), 0.5) FROM agg_table;

┌───────┐
 72500  
└───────┘