slfan1989 opened a new pull request, #10189:
URL: https://github.com/apache/ozone/pull/10189

   ## What changes were proposed in this pull request?
   
   This PR adds unit test coverage for the Ozone Iceberg statistics file copy 
plan helper.
   
   `RewriteTablePathOzoneUtils.statsFileCopyPlan` is used by the Ozone Iceberg 
`RewriteTablePath` implementation to build copy plan entries for table 
statistics files. The helper validates that the original and rewritten 
statistics file lists match in count and file size, and then creates mappings 
from the original statistics file paths to the rewritten statistics file paths.
   
   This PR adds tests for the following cases:
   
   * empty statistics file lists
   * mismatched before/after statistics file counts
   * mismatched statistics file sizes
   * successful before-to-after path pair generation
   
   The change improves coverage for the Iceberg rewrite path utility without 
changing production behavior.
   
   ## What is the link to the Apache JIRA
   
   HDDS-15174. Add tests for Ozone Iceberg statistics file copy plan.
   
   ## How was this patch tested?
   
   (Please explain how this patch was tested. Ex: unit tests, manual tests, 
workflow run on the fork git repo.)
   (If this patch involves UI changes, please attach a screenshot; otherwise, 
remove this.)
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to