xzj7019 opened a new pull request, #25247: URL: https://github.com/apache/doris/pull/25247
## Proposed changes Prune partition pruning filters if the filters can prune partitions out accurately, and no need the additional filters operations again for saving computing effort. As shown the following cases, the filter operator is optimized since it has been applied to partition prune and no need to do filter again. case: ``` mysql> explain shape plan select * from td_main where date >= 20230801 and date < 20230807; +---------------------------------+ | Explain String(Nereids Planner) | +---------------------------------+ | PhysicalResultSink | | --PhysicalDistribute | | ----PhysicalOlapScan[td_main] | +---------------------------------+ ``` ## Further comments If this is a relatively large or complex change, kick off the discussion at [[email protected]](mailto:[email protected]) by explaining why you chose the solution you did and what alternatives you considered, etc... -- 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]
