luozenglin opened a new issue, #14338:
URL: https://github.com/apache/doris/issues/14338

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Description
   
   I would like to support the in bimtap syntax so that we can use a bitmap 
from one table to filter the data in another table.
   It like the following:
   ```
   select * from tbl1 where tbl1.id in (select bitmap_column from tbl2 where 
tbl2.k1 = 100);
   ```
   This sql will plan out the left semi join + bitmap filter.
   
   
   
   ### Use case
   
   ```
   select * from tbl1 where tbl1.id in (select bitmap_column from tbl2 where 
tbl2.k1 = 100);
   
   select * from tbl1 where tbl1.id not in (select bitmap_column from tbl2 
where tbl2.k1 = 100);
   ```
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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

Reply via email to