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>)SQL 示例
Section titled “SQL 示例”SELECT PERCENTILE_APPROX_RAW(pct_state, 0.95) FROM agg_table;
┌───────┐│ 245.3 │└───────┘