yihua opened a new pull request #3741:
URL: https://github.com/apache/hudi/pull/3741
## What is the purpose of the pull request
This PR introduces the `HoodieData` abstraction for the hudi-common and
hudi-client modules, to hide the actual engine-specific data structures such as
Spark JavaRDD and Flink/Java List. The `HoodieData` abstraction intends to be
the data structure used in the write pipeline for generality.
Using the `HoodieData` abstraction, the PR also refactors the compaction
actions in hudi-client module to extract common write logic, reduce LoC, and
keep only divergent engine-specific logic in the corresponding engine client
packages.
## Brief change log
## Verify this pull request
This pull request is already covered by existing tests around compaction.
## 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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]