PERCENTILE_DISC (Percentil, Lakehouse v2)
Devolve o menor valor cuja distribuição cumulativa é >= ao percentil especificado.
Sintaxe de Analyze
Seção intitulada “Sintaxe de Analyze”func.percentile_disc(<percentile>)Exemplos de Analyze
Seção intitulada “Exemplos de Analyze”func.percentile_disc(0.5)
┌───────┐│ 72000 │└───────┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”PERCENTILE_DISC(<percentile>)Exemplos SQL
Seção intitulada “Exemplos SQL”SELECT PERCENTILE_DISC(0.5) WITHIN GROUP (ORDER BY salary) FROM employees;
┌───────┐│ 72000 │└───────┘