You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Dong Zhen (Jira)" <ji...@apache.org> on 2019/12/16 07:56:00 UTC
[jira] [Updated] (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:all-tabpanel ]
Dong Zhen updated KYLIN-4274:
-----------------------------
Attachment: image-2019-12-16-15-55-47-075.png
> 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
> Attachments: image-2019-12-16-15-55-47-075.png
>
>
> 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)