cshuo commented on PR #20512: URL: https://github.com/apache/hudi/pull/20512#issuecomment-7032442127
I tested 1,254 built-in SQL predicates combining comparisons, null checks, and nested `AND`/`OR`/`NOT` on Flink 1.20.1 and 2.2.1. The planner pushed negation through `AND` and `OR` and rewrote comparisons such as `NOT(age < 23)` to `age >= 23`. The only `NOT` that reached `applyFilters` was `NOT(flag)`, which `isSimpleCallExpression` rejects because its child is a bare column. None of the tested predicates passed a `NOT` node to `ColumnStatsProbe`. Given that Hudi’s existing evaluators already handle the rewritten predicates, I think we can close this PR for now and revisit it if we find a built-in SQL predicate that reaches column-stats pruning with `NOT` intact. -- 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]
