[
https://issues.apache.org/jira/browse/KYLIN-5117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17440222#comment-17440222
]
ASF subversion and git services commented on KYLIN-5117:
--------------------------------------------------------
Commit 12aeea918df9a0065cd1f507a67dbf271de45336 in kylin's branch
refs/heads/main from MattHu
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=12aeea9 ]
KYLIN-5117 Support percentile function after aggregate sub query (#1760)
* Support percentile function after aggregate sub query
* add test
> 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
>
> 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)