kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [kylin] zhangayqian commented on pull request #1023: update document for KYLIN-4240
Date Mon, 08 Jun 2020 09:14:35 GMT

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


   ## 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:
users@infra.apache.org



Mime
View raw message