[ 
https://issues.apache.org/jira/browse/KYLIN-3322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16779298#comment-16779298
 ] 

Shaofeng SHI commented on KYLIN-3322:
-------------------------------------

Hi Kang-sen, good points.

 

For the first concern, I'm afraid Kylin may not know which is the best cube to 
anser the SUM(x), the cost based selection have much room to improve.

 

As for the second, KYLIN-2620 is trying to add more checks for TOPN queries. If 
the query is not a TopN, will not use it to answer.

 

 

 

> TopN requires a SUM to work
> ---------------------------
>
>                 Key: KYLIN-3322
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3322
>             Project: Kylin
>          Issue Type: Bug
>          Components: Measure - TopN
>            Reporter: liyang
>            Assignee: Na Zhai
>            Priority: Major
>
> Currently if user creates a measure of TopN seller by sum of price, it is 
> required that user also creates a measure of SUM(price). Otherwise, NPE will 
> be thrown at query time.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to