PERCENTILE_APPROX_RAW (Lakehouse v2)
事前に計算されたパーセンタイル状態から、近似のパーセンタイル値を返します。
Analyzeの構文
Section titled “Analyzeの構文”func.percentile_approx_raw(<state>, <percentile>)Analyzeの例
Section titled “Analyzeの例”func.percentile_approx_raw(get_column(table, 'pct_state'), 0.95)
┌───────┐│ 245.3 │└───────┘SQLの構文
Section titled “SQLの構文”PERCENTILE_APPROX_RAW(<state>, <percentile>)SELECT PERCENTILE_APPROX_RAW(pct_state, 0.95) FROM agg_table;
┌───────┐│ 245.3 │└───────┘