Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-4314

Support union in intersect_count() function

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • v3.1.0, v2.6.6
    • Query Engine
    • None

    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".

       

      Attachments

        Issue Links

          Activity

            People

              shaofengshi Shao Feng Shi
              shaofengshi Shao Feng Shi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: