Skip to content

Commit

Permalink
Fix name collision
Browse files Browse the repository at this point in the history
  • Loading branch information
grihabor committed Jan 30, 2025
1 parent b9c912d commit d515e74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyiceberg/table/update/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,8 @@ def _(update: RemoveSnapshotsUpdate, base_metadata: TableMetadata, context: _Tab
)
updates = itertools.chain(remove_ref_updates, remove_statistics_updates)
new_metadata = base_metadata
for update in updates:
new_metadata = _apply_table_update(update, new_metadata, context)
for upd in updates:
new_metadata = _apply_table_update(upd, new_metadata, context)

context.add_update(update)
return new_metadata.model_copy(update={"snapshots": snapshots})
Expand Down

0 comments on commit d515e74

Please sign in to comment.