cloud-fan opened a new pull request, #54226: URL: https://github.com/apache/spark/pull/54226
## What changes were proposed in this pull request? This is a follow-up PR to #54169. The field name `preservesDistribution` is confusing because in Spark, "distribution" typically refers to how tuples are partitioned across cluster nodes (e.g., HashPartitioning, RangePartitioning), not the partition structure (number of partitions and rows per partition). This PR renames: - `preservesDistribution` → `preservesPartitionStructure` - `getAncestorWithSameDistribution()` → `getAncestorWithSamePartitionStructure()` ## Why are the changes needed? The original name was misleading. The field actually tracks whether an operation preserves the partition structure (number of partitions and rows per partition), not the data distribution scheme. ## Does this PR introduce any user-facing change? No ## How was this patch tested? Existing tests should pass. This is a pure rename with no functional changes. Made with [Cursor](https://cursor.com) -- 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]
