adiranjan25 commented on PR #18876:
URL: https://github.com/apache/iceberg/pull/18876#issuecomment-7243087372

   Thanks @timothyw553 for the detailed review and for identifying the 
position-delete ordering and URI normalization edge cases.
   
   I've addressed the three review concerns in the latest update:
   
   - Changed local URI normalization to expand `file:/` to `file:///`, 
preserving authority-bearing URIs and avoiding the identified false prefix 
matches.
   - Added streaming validation of rewritten position-delete ordering using 
Iceberg's native character-sequence comparator and row positions. The rewrite 
now fails explicitly if the resulting ordering decreases, without buffering the 
entire delete file.
   - Extended Spark 4.1 and 4.2 integration coverage to include mixed stored 
local URI spellings, physical file copying, relocated-table reads, position 
deletes, deletion vectors, and source/target row equality.
   
   I also added regression tests covering URI authority boundaries, decreasing 
paths, decreasing positions, increasing paths and positions, and equal 
positions.
   
   Local validation completed successfully:
   
   - Core: 47 tests, 45 passed, 2 skipped.
   - Spark 4.1: 6 passed.
   - Spark 4.2: 6 passed.
   - Spotless and Git diff checks passed.
   
   Thanks again for highlighting these correctness concerns. Please let me know 
if you see any remaining issues with the implementation or test coverage.


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