ahshahid opened a new pull request, #56181: URL: https://github.com/apache/spark/pull/56181
…uery ### What changes were proposed in this pull request? The canonicalization of DynamicPruningSubquery is broken, as it does not take into account: 1) pruningKey canonicalization relative to prunePlan output 2) Ordering of build keys 3) canonicalization of broadcastKeyIndices, as it depends on joining keys order. ### Why are the changes needed? For Reuse of Exchange to work efficiently, the structurally similar plans should not result in new exchange. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Added bug test. Also tested locally with iceberg integrated. ### 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]
