Skip to content

Commit ac66149

Browse files
authored
Update pyiceberg/partitioning.py
1 parent e12f66e commit ac66149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyiceberg/partitioning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def check_compatible(self, schema: Schema, allow_missing_fields: bool = False) -
269269

270270
source_type = source_field.field_type
271271
if not source_type.is_primitive:
272-
raise ValidationError(f"Cannot partition by non-primitive source field: {source_type}")
272+
raise ValidationError(f"Cannot partition by non-primitive source field: {source_field}")
273273
if not field.transform.can_transform(source_type):
274274
raise ValidationError(f"Invalid source type {source_type} for transform: {field.transform}")
275275

0 commit comments

Comments
 (0)