AVG does not need to be defined as a special metric, you just need to define sum and count for it.
When you query using avg(), it will automatically be translated into sum/count On Thu, Aug 27, 2015 at 12:31 PM, steven zhang (JIRA) <[email protected]> wrote: > steven zhang created KYLIN-970: > ---------------------------------- > > Summary: Support AVG(calculating average value) Function in > Kylin > Key: KYLIN-970 > URL: https://issues.apache.org/jira/browse/KYLIN-970 > Project: Kylin > Issue Type: Improvement > Affects Versions: v0.7.1 > Reporter: steven zhang > Priority: Minor > > > on some scenes we want to calculate the average value for statistics > so i think it is necessary to support AVG function > > > > -- > This message was sent by Atlassian JIRA > (v6.3.4#6332) > -- Regards, *Bin Mahone | 马洪宾* Apache Kylin: http://kylin.io Github: https://github.com/binmahone
