PERCENTILE_APPROX (Lakehouse v2)
Devolve um valor de percentil aproximado através do algoritmo t-digest.
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”func.percentile_approx(get_column(table, 'response_time'), 0.95)Exemplos do Analyze
Seção intitulada “Exemplos do Analyze”func.percentile_approx(get_column(table, 'response_time'), 0.95)
┌───────┐│ 245.3 │└───────┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”PERCENTILE_APPROX(<response_time>, 0.95)Exemplos SQL
Seção intitulada “Exemplos SQL”SELECT PERCENTILE_APPROX(response_time, 0.95) FROM requests;
┌───────┐│ 245.3 │└───────┘