You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/01/20 10:05:53 UTC
[GitHub] [incubator-doris] sileiH opened a new issue #5272: Bitmap with union And bitmap_intersect
sileiH opened a new issue #5272:
URL: https://github.com/apache/incubator-doris/issues/5272
**Describe the bug**
1)Bitmap does not support UNIONS
2)The bitmap_intersect function always returns a value of 0
**To Reproduce**
Steps to reproduce the behavior:
1)
```
SELECT
bitmap_from_string ('1,2,3,4,5') AS a
UNION
SELECT
bitmap_from_string ('1,2,3,4,5,6') AS a
```
2)
```
select bitmap_count(bitmap_intersect(fid_bitmap)) from
feature_bitmap_tmp where feature_value = '1' or feature_value = '2'
```
use Doris-0.13.15 and Doris-0.12.13
----------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [incubator-doris] EmmyMiao87 commented on issue #5272: Bitmap with union And bitmap_intersect
Posted by GitBox <gi...@apache.org>.
EmmyMiao87 commented on issue #5272:
URL: https://github.com/apache/incubator-doris/issues/5272#issuecomment-775637290
In fact, Doris supports the union of bitmap, and the query method is bitmap_union. To find the union of multiple bitmap values.
The union of bitmap is actually supported, or can you give a complete example of the final calculation error of the original data?
----------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org