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

ASF subversion and git services commented on KYLIN-3946:
--------------------------------------------------------

Commit 7deb2048a8477fdd27735fd128f28968bea7fb8e in kylin's branch 
refs/heads/master from chao long
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=7deb204 ]

KYLIN-3946 Fix count column compatibility


> No cube for AVG measure after include count column
> --------------------------------------------------
>
>                 Key: KYLIN-3946
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3946
>             Project: Kylin
>          Issue Type: Bug
>          Components: Query Engine
>            Reporter: Chao Long
>            Assignee: Chao Long
>            Priority: Major
>             Fix For: v2.6.2
>
>
> Before, avg(col) will use sum(col)/count(1) to calculate.
> After including count column aggregation KYLIN-3883, avg(col) will use 
> sum(col)/count(col) to calculate. 
> If there is no predefined count(col) measure, query with avg(col) will get 
> exception "NoRealizationFoundException: No realization found for 
> OLAPContext", which will effect the query on old cubes. So we should consider 
> compatibility.



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

Reply via email to