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

ASF GitHub Bot commented on KYLIN-3946:
---------------------------------------

Wayne1c commented on pull request #591: KYLIN-3946 Fix count column 
compatibility
URL: https://github.com/apache/kylin/pull/591
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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