[
https://issues.apache.org/jira/browse/KYLIN-4314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17043243#comment-17043243
]
ASF subversion and git services commented on KYLIN-4314:
--------------------------------------------------------
Commit ae0f31e16eda8d1ebc188e8935f603080b77a54d in kylin's branch
refs/heads/2.6.x from Shao Feng Shi
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=ae0f31e ]
KYLIN-4314 extend intersect_count and add intersect_value UDAF
> 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: v3.1.0, v2.6.6
>
>
> 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)