cshuo opened a new issue, #19352: URL: https://github.com/apache/hudi/issues/19352
### Problem The native log format and CDC write handles in `hudi-client-common` currently have no direct line coverage, leaving record routing, file rollover, CDC supplemental logging modes, merge ordering, statistics publication, and error handling insufficiently protected. ### Scope Add focused tests for: - `HoodieNativeLogFormatWriter` - `HoodieNativeLogAppendHandle` - `FileGroupReaderBasedNativeLogAppendHandle` - `HoodieNativeCDCLogger` - `HoodieNativeCDCFileWriter` - `HoodieAvroNativeCDCLogger` - `HoodieSortedMergeHandle` - `HoodieMergeHandleWithChangeLog` The tests should cover native log data/delete routing and rollover, all CDC supplemental logging modes, CDC file creation and statistics, file-group-reader append behavior, sorted merge ordering, change-log emission, and representative failure branches. ### Acceptance criteria - Each listed class reaches at least 70% line coverage. - Targeted `hudi-client-common` tests and style checks pass. - The pull request documents before/after per-class line coverage. - No production behavior changes are introduced. -- 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]
