williamhyun opened a new pull request, #17497:
URL: https://github.com/apache/iceberg/pull/17497

   Motivation: Scan planning responses index delete files by position in the 
delete-files array. 
   The index map was keyed on the delete file location alone, but a single 
Puffin file can hold a deletion vector for each of several data files. Every DV 
in that file shares a location, so each new DV entry overwrote the previous one 
and every task referencing a DV in that Puffin file resolved to the same last 
index.
   
   Changes: Extract DeleteFileSet's private wrapper into a public 
DeleteFileWrapper, mirroring CharSequenceWrapper, and key the index map on it 
so serialization uses the same delete file identity that builds the 
delete-files array. 
   Fail with a clear message when a task references a delete file that is not 
in that array.


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