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

   Readers can load an equality delete file once per task and share it across 
the task's data files, but planning still adds its size to every data file it 
applies to, so tasks end up smaller than the target split size. This adds a 
scan option, `read.split.share-equality-deletes.enabled`, that makes planning 
count each equality delete file once per task. It is off by default and ignored 
as a table property: only an engine whose reader shares deletes should set it, 
since other readers would get tasks larger than the target. Position deletes 
are still counted per data file. Extracted from PR #16956, where the generic 
and Spark readers share equality deletes and set this option.
   
   Test plan: `TestTableScanUtil` checks that `planTasks` and both 
`planTaskGroups` variants count a shared equality delete once per task only 
with the flag on. `TestSplitPlanning` checks that the scan option reaches 
planning through `BaseTableScan`.
   
   ---
   **AI Disclosure**
   - Model: Claude Opus 5.5
   - Platform/Tool: Claude Code
   - Human Oversight: fully reviewed
   - Prompt Summary: Extract task planning changes from PR #16956


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