From b6884cfcd6edb0e988570a1eb793a9d8ff0bca6f Mon Sep 17 00:00:00 2001 From: Fokko Driesprong Date: Fri, 13 Oct 2023 23:27:08 +0200 Subject: [PATCH] Fix fixed type Should be `FIXED_LEN_BYTE_ARRAY` --- pyiceberg/io/pyarrow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyiceberg/io/pyarrow.py b/pyiceberg/io/pyarrow.py index 139965d6cf..29d4a4b170 100644 --- a/pyiceberg/io/pyarrow.py +++ b/pyiceberg/io/pyarrow.py @@ -1120,7 +1120,7 @@ def map(self, map_type: MapType, key_result: str, value_result: str) -> str: raise ValueError(f"Expected primitive-type, got: {map_type}") def visit_fixed(self, fixed_type: FixedType) -> str: - return "BYTE_ARRAY" + return "FIXED_LEN_BYTE_ARRAY" def visit_decimal(self, decimal_type: DecimalType) -> str: return "FIXED_LEN_BYTE_ARRAY"