ahshahid opened a new pull request, #49154: URL: https://github.com/apache/spark/pull/49154
### What changes were proposed in this pull request? Fixing the canonicalization of build keys in the DynamicPruningSubquery so that build keys are canonicalized relative to build query output. ### Why are the changes needed? I discovered this issue while working on my other PR for pushing broadcast data of BroadcastHashJoin as a pruning filter. The bug appeared as two DynamicPruningSubquery though equivalent, on canonicalization, were not matching. It turned out that the build keys expression were getting canonicalized relative to itself, instead of build query 's output. ### 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]
