ahshahid opened a new pull request, #53968: URL: https://github.com/apache/spark/pull/53968
…straint rule is run as part of post optimzation batch with fixed ietrations ### What changes were proposed in this pull request? Running PropagateEmptyRelation rule after PruneFilters rule, as part of the rules operatorOptimizationRuleSet, of the Optimizer class. ### Why are the changes needed? If InferFiltersFromConstraint rule is added to be run as part of the Batch "Operator Optimization after Inferring Filters", then the idempotency is not achieved in some cases. The need for "InferFiltersFromConstraint" to be run as FixedPoint is needed for the following PR [https://github.com/apache/spark/pull/53838](https://github.com/apache/spark/pull/53838) ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Added bug test ### Was this patch authored or co-authored using generative AI tooling? 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]
