linliu-code opened a new pull request, #20146:
URL: https://github.com/apache/hudi/pull/20146

   ### Describe the issue this Pull Request addresses
   
   Closes #17448. The metadata table write configuration discarded the main 
table's `hoodie.hfile.block.size`, so MDT base HFiles used the default block 
size even when a different value was configured.
   
   ### Summary and Changelog
   
   Propagate the configured HFile block size to MDT writes. Add regression 
coverage for 16 KB, 64 KB and 1 MB blocks and for the unchanged default when 
the option is unset.
   
   ### Impact
   
   MDT HFile base files use the configured block size. No new option or default 
is introduced; HFile log-block sizing is unchanged.
   
   ### Risk Level
   
   low. The change propagates an existing setting and is covered by metadata 
write configuration tests.
   
   Validation: `mvn test -o -pl hudi-client/hudi-client-common -am 
-Dtest=TestHoodieMetadataWriteUtils -Dsurefire.failIfNoSpecifiedTests=false 
-DfailIfNoTests=false -Dcheckstyle.skip=false -Dlicense.skip=true` passed on 
JDK 11: 32 tests, zero failures/errors/skips. Checkstyle and RAT passed.
   
   ### Documentation Update
   
   None. Uses the existing HFile block-size setting with the existing default.
   
   ### Contributor's checklist
   
   - [ ] Read through contributor's guide
   - [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]

Reply via email to