[
https://issues.apache.org/jira/browse/KYLIN-5117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yaqian Zhang updated KYLIN-5117:
--------------------------------
Fix Version/s: v4.0.1
> Support percentile function after aggregate sub query
> -----------------------------------------------------
>
> Key: KYLIN-5117
> URL: https://issues.apache.org/jira/browse/KYLIN-5117
> Project: Kylin
> Issue Type: New Feature
> Affects Versions: v4.0.0
> Reporter: hujiahua
> Priority: Major
> Fix For: v4.0.1
>
>
> The following query execution will report an error:
> {quote}
> 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"
> {quote}
> So it's better to support `percentile` function after aggregate sub query.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)