cshuo commented on PR #20512: URL: https://github.com/apache/hudi/pull/20512#issuecomment-6676198527
> > The current fix conservatively retains candidates for unrewritten `NOT` expressions. Flink will rewrite this predicate to `age <> 23`, Hudi evaluates it using both min and max. > > then why we need the fix? The fix is defensive: isSimpleCallExpression accepts NOT, but Not#eval can incorrectly prune files if such an expression reaches it. Returning true keeps the evaluator conservative without relying on the sql optimizer to rewrite every NOT expression. -- 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]
