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

   ### Change Logs
   
   [HUDI-6446] Fixing MDT commit time parsing and RLI instantiation with MDT. 
   
   For a fresh table, when both FILES and RLI is enabled, we use default values 
for num file groups i.e 10 for RLI. and this also creates a log file and does 
not create a base file since there are no records to instantiate as such. So, 
we should defer the instantiation to later. either at the end of first commit 
or when the data table has atleast 1 completed commit. 
   
   For an already existing table, this is not an issue since if there are valid 
records, we will dynamically determine the number of file groups. 
   
   ### Impact
   
   Deferring instantiation of RLI for a fresh table to later when we have 
atleast 1 completed commit in DT. 
   
   ### Risk level (write none, low medium or high below)
   
   low.
   
   ### Documentation Update
   
   N/A
   
   ### 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