Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-45658][SQL] Fix canonicalization of DynamicPruningSubquery to canonicalize build keys relative to build query output #43737

Closed
wants to merge 2 commits into from

Conversation

ahshahid
Copy link

@ahshahid ahshahid commented Nov 9, 2023

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

…gSubquery to canonicalize build keys relative to build query output
@github-actions github-actions bot added the SQL label Nov 9, 2023
@dongjoon-hyun dongjoon-hyun changed the title [SPARK-45658][SQL][CATALYST] Fixing canonicalization of DynamicPrunin… [SPARK-45658][SQL] Fix canonicalization of DynamicPruningSubquery to canonicalize build keys relative to build query output Nov 15, 2023
Copy link

We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!

@github-actions github-actions bot added the Stale label Feb 24, 2024
@github-actions github-actions bot closed this Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant