harshilv17 commented on issue #2520: URL: https://github.com/apache/iceberg-go/issues/2520#issuecomment-6791902285
I'd like to take this. Plan: in `RowDelta.Commit`, resolve each added delete file that names a data file (DVs, and v2 position deletes with `referenced_data_file`) against that data file's live manifest entry, or the data file added in the same row delta, and reject the commit when the spec ID or partition differs. Today the commit path only checks paths (`headDataFiles`), so this needs the entries themselves. Tests in `row_delta_test.go`: a DV written with the current spec after partition evolution (rejected), matching spec and partition (accepted), a v2 position delete with a mismatched `referenced_data_file` (rejected), and a DV for a data file added in the same commit. -- 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]
