pepijnve opened a new pull request, #18849: URL: https://github.com/apache/datafusion/pull/18849
## Which issue does this PR close? - None, follow up to PR #17813 ## Rationale for this change In #17813, the when expressions are rewritten using `GuaranteesRewrite` before evaluating their bounds. This PR avoids the rewrite cost by inlining the special case of `GuaranteesRewrite` with a single `Null` guarantee into the `PredicateBounds::evaluate_bounds` logic. ## What changes are included in this PR? Inlines guarantee rewriting into predicate bounds evaluation. ## Are these changes tested? Covered by existing tests ## Are there any user-facing changes? No -- 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]
