We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae2e310 commit 2a65eb7Copy full SHA for 2a65eb7
pyiceberg/table/sorting.py
@@ -179,9 +179,7 @@ def check_compatible(self, schema: Schema) -> None:
179
if not source_field.field_type.is_primitive:
180
raise ValidationError(f"Cannot sort by non-primitive source field: {source_field}")
181
if not field.transform.can_transform(source_field.field_type):
182
- raise ValidationError(
183
- f"Invalid source type {source_field.field_type} for transform: {field.transform} on source field {source_field}"
184
- )
+ raise ValidationError(f"Invalid source field {source_field} type for transform {field.transform}")
185
186
187
UNSORTED_SORT_ORDER_ID = 0
0 commit comments