diff --git a/pyiceberg/table/__init__.py b/pyiceberg/table/__init__.py index c27c9999c5..221a609e5c 100644 --- a/pyiceberg/table/__init__.py +++ b/pyiceberg/table/__init__.py @@ -2120,7 +2120,7 @@ def map(self, map_type: MapType, map_partner_id: Optional[int], key_missing: boo return False def primitive(self, primitive: PrimitiveType, primitive_partner_id: Optional[int]) -> bool: - return primitive_partner is None + return primitive_partner_id is None class PartnerIdByNameAccessor(PartnerAccessor[int]):