You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Yaqian Zhang (Jira)" <ji...@apache.org> on 2019/12/16 06:50:00 UTC

[jira] [Commented] (KYLIN-4274) Calculate the number of records in a column greater than the specified value

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

Yaqian Zhang commented on KYLIN-4274:
-------------------------------------

Hi:

It's a strange appearance. 

Can you provide the screenshot of SQL and kylin result , log file, and the correct result?

These may help us analyze the problem.

> Calculate the number of records in a column greater than the specified value
> ----------------------------------------------------------------------------
>
>                 Key: KYLIN-4274
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4274
>             Project: Kylin
>          Issue Type: Bug
>         Environment: Kylin 2.6.3
>            Reporter: Dong Zhen
>            Priority: Blocker
>
> Query: SELECT COUNT(1) FROM TAGS_MBR_MEMBER_BUY_INFO Result: 18890197
> Query: SELECT COUNT(1) FROM TAGS_MBR_MEMBER_BUY_INFO WHERE CAST(FIRSTORDERVALUE AS DOUBLE) <= 99 Result: 18729902
> Query: SELECT COUNT(1) FROM TAGS_MBR_MEMBER_BUY_INFO WHERE CAST(FIRSTORDERVALUE AS DOUBLE) <= 100 Result: 317493
> Query: SELECT COUNT(1) FROM TAGS_MBR_MEMBER_BUY_INFO WHERE CAST(FIRSTORDERVALUE AS DOUBLE) <= 101 Result: 425372
> FIRSTORDERVALUE field is of type varchar.
> What's the situation?



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