Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyiceberg/partitioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ def _to_partition_representation(type: IcebergType, value: Any) -> Any:
can return date that still needs to be transformed into an int (days
since epoch).
"""
return TypeError(f"Unsupported partition field type: {type}")
raise TypeError(f"Unsupported partition field type: {type}")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No other same mistake as far as I checked.



@_to_partition_representation.register(TimestampType)
Expand Down