Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
v4.0.0
-
None
-
None
Description
The following query execution will report an error:
select percentile(t.gmv, 0.5) from ( select buyer_id,sum(price) as gmv from kylin_sales group by buyer_id ) t
java.lang.IllegalArgumentException: Unsupported function name PERCENTILE_APPROX while executing SQL: "select percentile(t.gmv, 0.5) from ( select buyer_id,sum(price) as gmv from kylin_sales group by buyer_id ) t"
So it's better to support `percentile` function after aggregate sub query.