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

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

hit-lacus merged pull request #1305:
URL: https://github.com/apache/kylin/pull/1305


   


----------------------------------------------------------------
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


> Result of count(case when) is not correct
> -----------------------------------------
>
>                 Key: KYLIN-4275
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4275
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Zhong Yanghong
>            Assignee: Zhong Yanghong
>            Priority: Major
>             Fix For: v3.1.0
>
>
> For the following sql, the result is not correct:
> {code}
> select count(case when LEAF_CATEG_ID=165888 then 1 else null end)
> from TEST_KYLIN_FACT
> {code}
> The result should be equal to 
> {code}
> select count(*)
> from TEST_KYLIN_FACT
> where LEAF_CATEG_ID=165888
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to