zhangstar333 commented on issue #18091:
URL: https://github.com/apache/doris/issues/18091#issuecomment-1482780144

   @zylch11 @Yukang-Lian  
   sorry, the maybe some mistake
    `array<int> output = bitmap_remove(bitmap value, array<int> arr)`
   should be like this:
   `bitmap output = bitmap_remove(bitmap value, array<int> arr)`
   
   and this function means eg:
   we know a bitmap value contains some nums:
   ```
   mysql [(none)]>select bitmap_to_string(bitmap_from_array([1,2,3,4,5]));
   +-----------------------------------------------------------+
   | bitmap_to_string(bitmap_from_array(ARRAY(1, 2, 3, 4, 5))) |
   +-----------------------------------------------------------+
   | 1,2,3,4,5                                                                  
                     |
   +-----------------------------------------------------------+
   ```
   if the second param of arr is [1,2]
   we wants the function bitmap_remove(value,arr) result of bitmap is only 
contains (3,4,5)
   
   I think you could refer some bitmap function in Doris like: 
bitmap_contains....


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to