Davis-Zhang-Onehouse opened a new pull request, #12657:
URL: https://github.com/apache/hudi/pull/12657

   ### Change Logs
   
   The culprit leads to validation issue is because instead of extracting the 
commit time from the data file and compare, we just treat the whole file name 
as a string and check if the string contains the commit instant time string. 
This causes issue if the commit instant time string is short (like "002") as 
the file name is generated with UUID and it can contain this string by chance.
   
   The fix is we explicitly extract the commit time from the file name and 
compare, this eliminates any ambiguity of the validation we are doing
   
   ### Impact
   
   fixed flaky test
   ### Risk level (write none, low medium or high below)
   
   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