This is an automated email from the ASF dual-hosted git repository. github-merge-queue[bot] pushed a commit to branch gh-readonly-queue/main/pr-4139-e55718f89ff0626ad1172fff344d9af8e8ed03ce in repository https://gitbox.apache.org/repos/asf/iceberg-python.git
commit dabfec54b6e5352b559fcc2720d9f4b62160c1f8 Author: Fokko Driesprong <[email protected]> AuthorDate: Sun Oct 25 19:07:44 2026 +0000 Remove unreachable timestamp-micros from `LOGICAL_FIELD_TYPE_MAPPING` (#4139) timestamp-micros is handled by an explicit branch in _convert_logical_type that also honors adjust-to-utc, so the mapping entry was never used. --- pyiceberg/utils/schema_conversion.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pyiceberg/utils/schema_conversion.py b/pyiceberg/utils/schema_conversion.py index f19ff6026..732439d34 100644 --- a/pyiceberg/utils/schema_conversion.py +++ b/pyiceberg/utils/schema_conversion.py @@ -75,7 +75,6 @@ PRIMITIVE_FIELD_TYPE_MAPPING: dict[str, PrimitiveType] = { LOGICAL_FIELD_TYPE_MAPPING: dict[tuple[str, str], PrimitiveType] = { ("date", "int"): DateType(), ("time-micros", "long"): TimeType(), - ("timestamp-micros", "long"): TimestampType(), ("uuid", "fixed"): UUIDType(), ("uuid", "string"): UUIDType(), }
