We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9908ed commit 07efc93Copy full SHA for 07efc93
1 file changed
pyiceberg/table/update/snapshot.py
@@ -445,8 +445,10 @@ def _deleted_entries(self) -> List[ManifestEntry]:
445
446
def _cleanup_commit_failure(self) -> None:
447
super()._cleanup_commit_failure()
448
- del self.partition_filters
449
- del self._compute_deletes
+ if "partition_filters" in self.__dict__:
+ del self.partition_filters
450
+ if "_compute_deletes" in self.__dict__:
451
+ del self._compute_deletes
452
453
@property
454
def rewrites_needed(self) -> bool:
0 commit comments