-
Notifications
You must be signed in to change notification settings - Fork 350
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels