[
https://issues.apache.org/jira/browse/KYLIN-4314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17028094#comment-17028094
]
ASF GitHub Bot commented on KYLIN-4314:
---------------------------------------
shaofengshi commented on pull request #1088: KYLIN-4314 extend intersect_count
and add intersect_value UDAF
URL: https://github.com/apache/kylin/pull/1088
----------------------------------------------------------------
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:
[email protected]
> 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)