shivadarshan-devadiga commented on PR #18995:
URL: https://github.com/apache/iceberg/pull/18995#issuecomment-7211437891

   @manuzhang Thanks for the review! The coverage differed because I'd taken 
each module's tests only from the verification draft for that Spark release. 
I've aligned them in 5b7d8dcec16a826293b13df6a47747b6c0f4ad20: every module now 
has the same tests, written the same way, apart from two version differences:
   
   - `columnarUnionPreservesPartitionGrouping` is only in 4.1. Its fix, 
SPARK-59141, isn't in Spark 4.0.5. On 4.2, an Iceberg scan reports its key 
grouping only through the `GroupPartitionsExec` above it, so the union in this 
query gets a hash exchange and never reaches the fixed code path.
   - In 4.2, `joinsWithCheckpointedScans` expects one shuffle instead of three. 
Spark 4.2 groups the checkpointed partitions with `GroupPartitionsExec` instead 
of shuffling them for the join. The rows are checked the same way in all three 
modules.
   
   Where the 4.0 and 4.1 drafts had different versions of the same test 
(runtime filtering with a trailing key, one-side shuffle with binary keys, and 
the chained join with unknown keys), I kept the 4.1 one; its `MERGE` hints keep 
the join strategy fixed. In 4.2, the runtime-filtering test reads the join key 
positions from `GroupPartitionsExec`, since 4.2 moved them off `BatchScanExec`.
   
   I've also renamed the PR and the commit after what the tests cover. The full 
`TestStoragePartitionedJoins` suite passes on Spark 4.0.5, 4.1.4 and 4.2.1.


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