cshuo opened a new pull request, #19402:
URL: https://github.com/apache/hudi/pull/19402
### Describe the issue this Pull Request addresses
Closes #19401.
The Flink table-format and source-reader read paths need more focused unit
coverage around partition paths, CDC iteration, schema reconciliation, COW
split planning, and iterator lifecycle behavior.
### Summary and Changelog
- Add unit tests for partition path parsing, construction, validation, and
partition pruning
- Add CDC image-manager and CDC iterator coverage
- Add read-time schema reconciliation and Parquet configuration coverage
- Add COW input split planning coverage
- Add record iterator lifecycle, projection, and exception-path coverage
### Impact
Test-only change. There are no public API, runtime behavior, or performance
changes.
### Risk Level
None.
### Documentation Update
None.
### Test Plan
The following targeted JaCoCo-enabled test run passed with 30 tests and no
failures or errors:
```shell
mvn -Punit-tests -Djacoco.skip=false \
-pl hudi-flink-datasource/hudi-flink -am \
-Dtest=TestFilePathUtils,TestCdcImageManager,TestCdcIterators,TestInternalSchemaManager,TestCopyOnWriteInputFormat,TestRecordIterators
\
-Dsurefire.failIfNoSpecifiedTests=false \
-DskipITs -DskipSparkTests -DskipScalaTests test
```
### Contributor's checklist
- [ ] Read through [contributor's
guide](https://hudi.apache.org/contribute/how-to-contribute)
- [x] Enough context is provided in the sections above
- [x] 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]