peter-toth opened a new pull request, #54980:
URL: https://github.com/apache/spark/pull/54980

   ### What changes were proposed in this pull request?
   
   Extended `KeyedShuffleSpec` to support storage-partitioned joins (SPJ) where 
one side uses an identity transform (represented as `AttributeReference`) and 
the other side uses an arbitrary `TransformExpression`.
   
   ### Why are the changes needed?
   
   Previously, SPJ with compatible transform reduction only worked for 
`(TransformExpression, TransformExpression)` pairs. If one data source 
partitions by identity and the other by an arbitrary transform (e.g. bucket), 
SPJ was not triggered even though the identity side's raw values can be reduced 
by simply applying the transform.
   
   ### Does this PR introduce any user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Added new test case.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Sonnet 4.6
   


-- 
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]

Reply via email to