naveenp2708 opened a new pull request, #57442: URL: https://github.com/apache/spark/pull/57442
### What changes were proposed in this pull request? Add a regression test to `KeyGroupedPartitioningSuite` for the scenario reported in [SPARK-52246](https://issues.apache.org/jira/browse/SPARK-52246) (test adapted from the reproduction in the JIRA description): a storage-partitioned join where one side is auto-shuffled, the partitioned side uses a bucket transform, and the partition key is the tail of the join keys. ### Why are the changes needed? SPARK-52246 reported silent incorrect results (empty join output) for this scenario on 4.0.0/4.0.1. The defect was fixed by SPARK-54439, but the tests added there cover identity and years transforms only, not bucket. This locks in coverage for the bucket case. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? New test passes on master; verified it fails on v4.0.1 (pre-SPARK-54439), reproducing the original wrong results. ### Was this patch authored or co-authored using generative AI tooling? Yes. -- 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]
