You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "hujiahua (Jira)" <ji...@apache.org> on 2021/11/05 07:56:00 UTC
[jira] [Created] (KYLIN-5117) Support percentile function after
aggregate sub query
hujiahua created KYLIN-5117:
-------------------------------
Summary: 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
The following query execution will report an error:
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"
The sql query:
select percentile(t.gmv, 0.5) from ( select buyer_id,sum(price) as gmv from kylin_sales group by buyer_id ) t
It's better to support `percentile` function after aggregate sub query.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)