Visorgood commented on issue #13530: URL: https://github.com/apache/iceberg/issues/13530#issuecomment-7095818254
This still reproduces on main (4a43981) with Spark 4.2.1. I ported the test from #13534 to `spark/v4.2`: both tables are partitioned by `bucket(8, id), dep, int_col`, but the re-added fields keep their old IDs (`dep` 1002, `int_col` 1001) and `Partitioning.groupingKeyType` orders the grouping key by field ID, so the two scans report different key orders and the join keeps 3 shuffles instead of 1. With the `Partitioning` change from #13534 (plus passing the ordering mode to `unionPartitionTypes`, which was added to main since), the test passes, and so does the rest of `TestStoragePartitionedJoins`. @jbewing are you planning to come back to #13534? If not, I'd like to pick it up (and keep you as co-author of course). @aokolnychyi @singhpk234 is ordering the grouping key by the latest spec, as #13534 does, the way to go, or would you prefer a narrower change? Could this issue be reopened? -- 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]
