Anton-Tarazi opened a new issue, #2344:
URL: https://github.com/apache/iceberg-python/issues/2344

   ### Feature Request / Improvement
   
   I think it would be valuable if `Table` operations like `append` or `delete` 
returned some summaries of the operation such as the number of data files 
edited, similar to how `upsert` returns an `UpsertResult`. Something I believe 
would be particularly useful is if `delete`/ `override` returned information 
about whether it was an efficient metadata-only delete or whether data files 
had to be rewritten. 
   
   For example `delete` could return something like:
   ```
   @dataclass
   class DeleteResult:
       files_removed: int = 0
       files_rewritten: int = 0
       rows_deleted: int = 0
   ```
   I'd be happy to work on this but wanted to get the community's feedback 
given that this would be a (nonbreaking) public API change. 
   


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