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

   `FileScanTaskParser` wrote and read every delete file with the task's 
partition spec, so serializing a task failed with "Invalid partition spec id 
from content file" when it carried a global equality delete from another, 
unpartitioned spec. Flink hits this when serializing splits after a partition 
field is removed and equality deletes are written with the new spec. 
`DeleteFileIndex` applies deletes across specs only for global equality 
deletes, so the parser now handles a delete file of another spec as 
unpartitioned, keeping its spec ID. The JSON format is unchanged, so existing 
Flink checkpoints still deserialize.
   
   Test: a `TestFileScanTaskParser` round trip of a task whose deletes come 
from the task's spec and from another, unpartitioned spec, checking spec IDs.
   
   ---
   **AI Disclosure**
   - Model: Claude Opus 5.5
   - Platform/Tool: Claude Code
   - Human Oversight: fully reviewed
   - Prompt Summary: Find why Flink split serialization fails for global 
equality deletes of another partition spec, and fix `FileScanTaskParser` in 
core with a unit test.


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