lrsb opened a new issue, #3545: URL: https://github.com/apache/amoro/issues/3545
### What happened? In AbstractOptimizingPlanner, once the number of inputs exceeds maxInputSize, additional partition evaluators are dropped—yet at least one evaluator is always retained. However, if the remaining evaluators only reference unschedulable tasks (for example, in IcebergPartitionPlan when a task has just a single data file), the planner will produce no output, even though the original evaluator list included valid tasks. This happens because the logic is two staged and doesn't consider the task eligibility when pruning partitions. ### Affects Versions master ### What table formats are you seeing the problem on? Iceberg ### What engines are you seeing the problem on? AMS ### How to reproduce _No response_ ### Relevant log output ```shell ``` ### Anything else _No response_ ### Are you willing to submit a PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's Code of 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
