yihua opened a new pull request, #11310:
URL: https://github.com/apache/hudi/pull/11310

   ### Change Logs
   
   PR targeting master: https://github.com/apache/hudi/pull/11302
   This PR targets at `branch-0.x` with the same set of changes.
   
   This PR adds the flexibility to plug in custom `FileFormatUtils` 
implementation based on the `HoodieStorage` instance.  To realize this, two new 
APIs `#getFileFormatUtils` are added to the `HoodieIOFactory` so that the IO 
factory implementation class can customize the `FileFormatUtils` implementation 
to return.  The hardcoded logic in `FileFormatUtils#getInstance` for 
Hadoop-based implementation is moved to `HoodieHadoopIOFactory` class.  New 
tests are added in `TestHoodieHadoopIOFactory`.
   
   ### Impact
   
   Allows pluggable `FileFormatUtils` implementation
   
   ### Risk level
   
   none
   
   ### Documentation Update
   
   none
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Change Logs and Impact were stated clearly
   - [ ] Adequate tests were added if applicable
   - [ ] CI passed
   


-- 
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