yihua opened a new pull request, #20877: URL: https://github.com/apache/hudi/pull/20877
### Describe the issue this Pull Request addresses closes #20876 A pluggable table format is notified when a delta commit or a clustering completes, but not when a compaction or log compaction completes, so it never learns that base files were rewritten. ### Summary and Changelog The compaction and log compaction timeline transitions now run the table format completion action, and `CompactHelpers` invokes the hook once the transition succeeds. These transitions also return the completed instant with its completion time, like the other transitions, since the completion action needs it. `TestHoodieJavaClientMergeOnReadForTestFormat` covers compaction through the test table format. This commit is also the first commit of #20167; it is split out so the table format meta column change can build on it without the rest of #20167. ### Impact Pluggable table formats now receive compaction and log compaction completions. No change for native tables, whose `commit` is a no-op. ### Risk Level low: the hook runs after the transition succeeds and is a no-op for the native format. ### Documentation Update none ### Contributor's checklist - [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [ ] Enough context is provided in the sections above - [ ] Adequate tests were added if applicable -- 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]
