kangkaisen opened a new issue #2654: BITMAP_UNION_COUNT query couldn't hit 
rollup index
URL: https://github.com/apache/incubator-doris/issues/2654
 
 
   **Describe the bug**
   ```
   |   0:OlapScanNode                                                           
      |
   |      TABLE: pv_bitmap                                                      
      |
   |      PREAGGREGATION: OFF. Reason: Invalid Aggregate Operator: 
bitmap_union_count
   ```
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1
   ```
   CREATE TABLE `pv_bitmap` (
   `dt` int,
   `page` varchar(10),
   `user_id` bitmap bitmap_union
   ) ENGINE=OLAP
   AGGREGATE KEY(`dt`, page)
   DISTRIBUTED BY HASH(`dt`) BUCKETS 2;
   ```
   2
   ```
   ALTER TABLE pv_bitmap ADD ROLLUP  pv (page, user_id);
   ```
   3
   ```
   explain select bitmap_union_count(user_id) as retention from pv_bitmap;
   ```
   

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to