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

   ### Describe the issue this Pull Request addresses
   
   This PR adds test coverage for the RECORD_INDEX functionality specifically 
testing tag location and partition path updates. The existing test suite did 
not cover the scenario where records are updated with a new partition path 
after initial insertion, which is a critical feature for record-level indexing.
   
   ### Summary and Changelog
   
    Added testRecordIndexTagLocationAndUpdate unit test that verifies:
     - Tag location returns no known locations when index is empty
     - Records are not tagged after write but before commit (uncommitted state)
     - Records are correctly tagged after commit is complete
     - Index correctly handles updates where partition path changes for 
existing records
     - Index distinguishes between existing records (with known locations) and 
new inserts when both are present in the same batch
   
   ### Impact
   
   No user-facing changes. This is a test-only addition that improves coverage 
for the RECORD_INDEX feature, specifically validating partition path updates 
which were not previously tested.
   
   ### Risk Level
   
   none - Test-only change with no impact on production code.
   
   ### Documentation Update
   
   None
   
   ### Contributor's checklist
   
   - [x] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [x] Enough context is provided in the sections above
   - [x] 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]

Reply via email to