suryaprasanna opened a new pull request, #18208: URL: https://github.com/apache/hudi/pull/18208
### Describe the issue this Pull Request addresses This PR adds test coverage for record index rebootstrap behavior when Hoodie partition metadata is missing. Previously, there was a Java unit test that was migrated to Scala for better integration with the existing test suite. ### Summary and Changelog - Added `testRecordIndexRebootstrapWhenHoodiePartitionMetadataIsMissingScala()` in TestRecordLevelIndex.scala - Test verifies that record index rebootstrap succeeds when partition metadata files are missing - Ensures partitions without metadata are correctly excluded during rebootstrap - Migrated test from Java to Scala for consistency with the test suite - Added helper methods: `getRecordKeys()`, `getRecordIndexEntries()`, `removeOnePartitionMetadataFile()`, and `getFilesInAllPartitions()` ### Impact This change only adds test coverage and does not modify any user-facing features or public APIs. ### Risk Level **none** - This PR only adds test coverage without modifying production code. ### Documentation Update none ### Contributor's checklist - [ ] Read through [contributor's guide](https://hudi.apache.org/contribute/how-to-contribute) - [ ] Enough context is provided in the sections above - [ ] 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]
