rekbun commented on PR #59522: URL: https://github.com/apache/spark/pull/59522#issuecomment-6778779663
Thanks, @peter-toth. I agree with all three, and following the existing features made the change smaller. Addressed in `1719eba15ea`: - **16.** The coalescer changes are now SPARK-61279 (#60256). This PR is rebased on it. - **17.** `maxPartitionNum` now has the files meaning on both paths. With 8 sized inputs and `maxPartitionNum=2`, the scan runs 2 tasks. While comparing it with `FilePartition`, I also found that packing by size differed from files when there is an opening cost: an input's own opening cost counted toward the target, and the minimum-count target rounded up. Packing now uses `getFilePartitions`' rule and `maxSplitBytes`' rounding. A new test runs 307 sets of sizes through both and gets the same groups, with and without the cap. - **18.** The checkpoint put-back and the streaming `keepsRootLayout` are gone. `Dataset`, `LogicalRDD`, `InsertAdaptiveSparkPlan` and `IncrementalExecution` match master again. `QueryExecution` and `AdaptiveSparkPlanExec` only register the rule, which takes no parameters. As with `DisableUnnecessaryBucketedScan`, the root has no consumer. Cached plans keep their layout, because `CacheManager` turns packing off for them unless `canChangeCachedPlanOutputPartitioning` is set. -- 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]
