From 4c1481262e7fec25914870fbd043555128d94d32 Mon Sep 17 00:00:00 2001 From: Martin Durant Date: Tue, 17 Oct 2023 10:56:04 -0400 Subject: [PATCH] Be more defensve about inplace decompression in V2 --- fastparquet/converted_types.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/fastparquet/converted_types.py b/fastparquet/converted_types.py index 1e248978..cd8858e7 100644 --- a/fastparquet/converted_types.py +++ b/fastparquet/converted_types.py @@ -142,8 +142,6 @@ def converts_inplace(se): if getattr(se.logicalType, "TIMESTAMP", None) is not None: # this will be nanos, since micro and milli hit block above return True - if se.type == parquet_thrift.Type.FIXED_LEN_BYTE_ARRAY: - return ctype != parquet_thrift.ConvertedType.UTF8 return False