ahshahid opened a new pull request, #54022: URL: https://github.com/apache/spark/pull/54022
### What changes were proposed in this pull request? PropagteEmptyRelation rule transformation is now skipped for Filter Node if streaming is true. ### Why are the changes needed? The change is needed to ensure idempotency is achieved for streaming relations if PropagateEmptyRelation and InferFiltersFromConstraint rules are run as part of Fixed Iterations. Because the tramsform is already being skipped for Join node in case of streaming relation, it should similarly be skipped for Filter Node too, else the behaviour clashes with the InferFilterFromConstraints rule. ### 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]
