luozenglin opened a new issue, #17561: URL: https://github.com/apache/doris/issues/17561
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version 1.2 ### What's Wrong? ``` mysql> select k1, k2 from test_query_db.bigtable t where 11 in (select k2 from regression_test_query_p0_join.bitmap_table) order by 1, 2; +------+--------+ | k1 | k2 | +------+--------+ | NULL | NULL | | NULL | NULL | | 1 | 1989 | | 1 | 1989 | | 2 | 1986 | | 2 | 1986 | | 3 | 1989 | | 3 | 1989 | | 4 | 1991 | | 4 | 1991 | | 5 | 1985 | | 5 | 1985 | | 6 | 32767 | | 6 | 32767 | | 7 | -32767 | | 7 | -32767 | | 8 | 255 | | 8 | 255 | | 9 | 1991 | | 9 | 1991 | | 10 | 1991 | | 10 | 1991 | | 11 | 1989 | | 11 | 1989 | | 12 | 32767 | | 12 | 32767 | | 13 | -32767 | | 13 | -32767 | | 14 | 255 | | 14 | 255 | | 15 | 1992 | | 15 | 1992 | +------+--------+ 32 rows in set (1.92 sec) ``` ### What You Expected? ``` mysql> select k1, k2 from test_query_db.bigtable t where 11 in (select k2 from regression_test_query_p0_join.bitmap_table) order by 1, 2; +------+--------+ | k1 | k2 | +------+--------+ | NULL | NULL | | 1 | 1989 | | 2 | 1986 | | 3 | 1989 | | 4 | 1991 | | 5 | 1985 | | 6 | 32767 | | 7 | -32767 | | 8 | 255 | | 9 | 1991 | | 10 | 1991 | | 11 | 1989 | | 12 | 32767 | | 13 | -32767 | | 14 | 255 | | 15 | 1992 | +------+--------+ 16 rows in set (0.32 sec) ``` ### How to Reproduce? _No response_ ### Anything Else? _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