yui2010 opened a new pull request #2663: URL: https://github.com/apache/hudi/pull/2663
## *Tips* - *Thank you very much for contributing to Apache Hudi.* - *Please review https://hudi.apache.org/contributing.html before opening a pull request.* ## What is the purpose of the pull request *Currently HoodieMergeOnReadRDD/HoodieBootstrapRDD's partition may have multiple PartitionedFiles (datafile/logfiles or datafile/skeletonfile etc.) we should compute the hosts with the most data of the PartitionedFiles for data locality* ## Brief change log - *Add getPartitionedFile/computeHostsWithMostData method in HoodieSparkUtils* - *Modify the create of PartitionedFile in HoodieBootstrapRelation/MergeOnReadIncrementalRelation/MergeOnReadSnapshotRelation* - *Add getPreferredLocations method in HoodieMergeOnReadRDD/HoodieBootstrapRDD* ## Verify this pull request the current TestMORDataSource will cover this method ## Committer checklist - [ ] Has a corresponding JIRA in PR title & commit - [ ] Commit message is descriptive of the change - [ ] CI is green - [ ] Necessary doc changes done or have another open PR - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
