Skip to content

Commit dd175aa

Browse files
ZENOTMEFokkokevinjqliu
authored
Fix requirements handling (#1631)
Resolve #1628. --------- Co-authored-by: ZENOTME <[email protected]> Co-authored-by: Fokko Driesprong <[email protected]> Co-authored-by: Kevin Liu <[email protected]>
1 parent 826a006 commit dd175aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyiceberg/table/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def _apply(self, updates: Tuple[TableUpdate, ...], requirements: Tuple[TableRequ
269269
existing_requirements = {type(requirement) for requirement in self._requirements}
270270
for new_requirement in requirements:
271271
if type(new_requirement) not in existing_requirements:
272-
self._requirements = self._requirements + requirements
272+
self._requirements = self._requirements + (new_requirement,)
273273

274274
self.table_metadata = update_table_metadata(self.table_metadata, updates)
275275

0 commit comments

Comments
 (0)