PERCENTILE_CONT (Aggregate, Lakehouse v2)
Returns an interpolated percentile value based on a continuous distribution.
Analyze Syntax
Section titled “Analyze Syntax”func.percentile_cont(0.5)Analyze Examples
Section titled “Analyze Examples”func.percentile_cont(0.5)
┌──────────┐│ 72500.00 │└──────────┘SQL Syntax
Section titled “SQL Syntax”PERCENTILE_CONT(0.5)SQL Examples
Section titled “SQL Examples”SELECT PERCENTILE_CONT(0.5) WITHIN GROUP (ORDER BY salary) FROM employees;
┌──────────┐│ 72500.00 │└──────────┘