[ https://issues.apache.org/jira/browse/KYLIN-1720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15295114#comment-15295114 ]
Yerui Sun commented on KYLIN-1720: ---------------------------------- MAX_PRICE is the measure name used by kylin internally, you should use max(price) instead of MAX_PRICE in your sql, just like query in other system. BTW, jira is mainly used to manage progress of bug or feature, you'd better ask questions in mail list d...@kylin.apache.org or u...@kylin.apache.org. > Apache Kylin:- Measures is not seen anywhere > -------------------------------------------- > > Key: KYLIN-1720 > URL: https://issues.apache.org/jira/browse/KYLIN-1720 > Project: Kylin > Issue Type: Bug > Affects Versions: v1.5.1 > Reporter: Rahul Choubey > Priority: Blocker > Attachments: image.png > > > We have created measures in cube that we have created through Kylin. > But the question is where this measures will get stored and how can I use > them when I query the cubes. I want to use these measures in my select > statement while querying the cube for e.g.:- > SELECT KYLIN_CATEGORY_GROUPINGS.BSNS_VRTCL_NAME,KYLIN_CAL_DT.YEAR_BEG_DT, > MAX_PRICE FROM KYLIN_SALES > INNER JOIN KYLIN_CATEGORY_GROUPINGS > ON KYLIN_SALES.LEAF_CATEG_ID = KYLIN_CATEGORY_GROUPINGS.LEAF_CATEG_ID AND > KYLIN_SALES.LSTG_SITE_ID = KYLIN_CATEGORY_GROUPINGS.SITE_ID > INNER JOIN KYLIN_CAL_DT > ON KYLIN_SALES.PART_DT = KYLIN_CAL_DT.CAL_DT > GROUP BY KYLIN_CATEGORY_GROUPINGS.BSNS_VRTCL_NAME,KYLIN_CAL_DT.YEAR_BEG_DT > Currently if I am using above using query, it will give me error saying that > MAX_PRICE is not a column present in tables. -- This message was sent by Atlassian JIRA (v6.3.4#6332)