Anurag-S1ngh opened a new pull request, #4487:
URL: https://github.com/apache/iceberg-python/pull/4487

   # Rationale for this change
   
   `POSITION_DELETES` is the last unchecked metadata table in #1053.
   
   This adds `Table.inspect.position_deletes()`, which reads the live position 
delete files in a snapshot and returns one row per deleted position. Each row 
includes the target data file path, position, nullable row struct, partition, 
partition spec ID, and the path of the delete file. Deleted manifest entries 
and equality delete files are skipped.
   
   The `row` column stays null because position delete files are not required 
to store the deleted row.
   
   Part of #1053. The remaining `ALL_ENTRIES` table is added in #4481.
   
   ## Are these changes tested?
   
   Yes. Added tests for the empty-table result and for reading a real position 
delete file, including skipping deleted manifest entries.
   
   - `pytest tests/table`: 693 passed
   - `ruff check` and `ruff format --check` pass
   - `ty check` reports nothing for the new methods
   
   ## Are there any user-facing changes?
   
   Yes. New public API: `Table.inspect.position_deletes()`.
   


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