Wang857857 commented on issue #13521: URL: https://github.com/apache/doris/issues/13521#issuecomment-1288338827
> Thank you for your reply. I use Bitmap to store people who meet certain conditions. When I want to obtain people who do not meet this condition. I found this phenomenon in the case of difference sets, which is not what I want So I used IFNULL(NULL, BITMAP_EMPTY()) SELECT BITMAP_TO_STRING(BITMAP_INTERSECT(user_id)) from ((SELECT TO_BITMAP(1) user_id) union all (SELECT IFNULL(NULL, BITMAP_EMPTY()) user_id)) t1 Is there a better way to achieve it. Thanks again for your reply. -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org