HappenLee opened a new issue #6914: URL: https://github.com/apache/incubator-doris/issues/6914
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues. ### Description Now, when performing multi-table intersection calculation, each calculation needs to re-insert the expanded hash table, and each expanded hash table starts from 1024, but we can know the value of the expanded hash table in advance, which can reduce the number of times the hash table is expanded and thus get a performance improvement. ``` select c_custkey from ssb.customer except select c_custkey from ssb.customer where c_custkey > 20 limit 1499985 except select k1 from baseall;``` origin exec: 1.75s opt hash table: 1.65s ### Use case _No response_ ### 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 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