XiaoHongbo-Hope opened a new pull request, #9361: URL: https://github.com/apache/paimon/pull/9361
### Purpose Self-merge predicate conversion recursively walked left-deep AND/OR trees. A condition with 2,000 OR terms exceeded Python's recursion limit and silently disabled scan pushdown. Iteratively flatten consecutive AND/OR nodes into one Predicate while preserving mixed-operator grouping. The shorter grouped `IN (...)` path remains unchanged and recommended when applicable. ### Tests - Add an end-to-end self-merge test with 2,000 OR terms and verify the flat scan predicate and updated rows. - `121 passed, 6 deselected, 18 subtests passed` for the non-BLOB Ray MERGE suite. - flake8, py_compile, and `git diff --check`. -- 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]
