You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Yerui Sun (JIRA)" <ji...@apache.org> on 2016/05/21 16:22:13 UTC
[jira] [Closed] (KYLIN-1720) Apache Kylin:- Measures is not seen
anywhere
[ https://issues.apache.org/jira/browse/KYLIN-1720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yerui Sun closed KYLIN-1720.
----------------------------
Resolution: Information Provided
> 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)