zhangayqian commented on pull request #1088:
URL: https://github.com/apache/kylin/pull/1088#issuecomment-640479276


   ## Design test cases
   
   ### Prepare test env
   - create cube and build segment `2012-01-01~2012-02-01`
     - dimension: PART_DT, OPS_REGION
     - measure: count_distinct(SELLER_ID)
   ### Test Case
   - Query
   ```
   select
   intersect_count(SELLER_ID, OPS_REGION, array['Hongkong']) as h,
   intersect_count(SELLER_ID, OPS_REGION, array['Beijing']) as b,
   intersect_count(SELLER_ID, OPS_REGION, array['Shanghai']) as s,
   intersect_count(SELLER_ID, OPS_REGION, array['Hongkong|Shanghai', 
'Beijing']) as retention_city
   from kylin_sales
   ```


----------------------------------------------------------------
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]


Reply via email to