You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shao Feng Shi (Jira)" <ji...@apache.org> on 2019/12/26 01:55:00 UTC
[jira] [Updated] (KYLIN-4314) Support union in intersect_count()
function
[ https://issues.apache.org/jira/browse/KYLIN-4314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shao Feng Shi updated KYLIN-4314:
---------------------------------
Description:
The current version of "intersect_count" only support "intersect" operation. While in some cases, we may union some collections(bitmaps) first, and then intersect with other collections. For example:
intersect_count(user_id, page_id, array['search', 'view', 'order']);
-- this calculation how many users did "search", and then "view", and then make the "order".
intersect_count(user_id, page_id, array['search|view', 'order']);
-- this calculation how many users did "search" or "view" (any of them) , and then make the "order".
> Support union in intersect_count() function
> -------------------------------------------
>
> Key: KYLIN-4314
> URL: https://issues.apache.org/jira/browse/KYLIN-4314
> Project: Kylin
> Issue Type: Improvement
> Components: Query Engine
> Reporter: Shao Feng Shi
> Assignee: Shao Feng Shi
> Priority: Minor
> Fix For: v2.6.5, v3.1.0
>
>
> The current version of "intersect_count" only support "intersect" operation. While in some cases, we may union some collections(bitmaps) first, and then intersect with other collections. For example:
>
> intersect_count(user_id, page_id, array['search', 'view', 'order']);
> -- this calculation how many users did "search", and then "view", and then make the "order".
>
> intersect_count(user_id, page_id, array['search|view', 'order']);
> -- this calculation how many users did "search" or "view" (any of them) , and then make the "order".
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)