From fd54fba57a4854b9f6c8798286499ee34ce225fd Mon Sep 17 00:00:00 2001 From: Divjot Arora Date: Tue, 18 Aug 2026 20:50:41 +0000 Subject: [PATCH] Add file with an incompatible logical/physical type combination --- data/README.md | 1 + data/int32_with_uuid_logical_type.parquet | Bin 0 -> 353 bytes 2 files changed, 1 insertion(+) create mode 100644 data/int32_with_uuid_logical_type.parquet diff --git a/data/README.md b/data/README.md index ea93558..cd6e105 100644 --- a/data/README.md +++ b/data/README.md @@ -58,6 +58,7 @@ | repeated_primitive_no_list.parquet | REPEATED INT32 and BYTE_ARRAY fields without LIST annotation. See [note](#REPEATED-primitive-fields-with-no-LIST-annotation) | | map_no_value.parquet | MAP with null values, MAP with INT32 keys and no values, and LIST column with same values as the MAP keys. See [map_no_value.md](map_no_value.md) | | page_v2_empty_compressed.parquet | An INT32 column with DataPageV2, all values are null, the zero-sized data is compressed using ZSTD. This is a valid non-zero bytes ZSTD stream that uncompresses into 0 bytes. | +| int32_with_uuid_logical_type.parquet | A single required INT32 column `int32_uuid` (10 rows, values 0..9) annotated with the UUID logical type, which is only applicable to FIXED_LEN_BYTE_ARRAY(16). This is an unrecognized/incompatible logical-physical type combination; a reader should tolerate it by ignoring the annotation (reading the column as its physical INT32 type) and ignoring its statistics, rather than failing the whole file. | | datapage_v2_empty_datapage.snappy.parquet | A compressed FLOAT column with DataPageV2, a single row, value is null, the file uses Snappy compression, but there is no data for uncompression (see [related issue](https://github.com/apache/arrow-rs/issues/7388)). The zero bytes must not be attempted to be uncompressed, as this is an invalid Snappy stream. | | unknown-logical-type.parquet | A file containing a column annotated with a LogicalType whose identifier has been set to an abitrary high value to check the behaviour of an old reader reading a file written by a new writer containing an unsupported type (see [related issue](https://github.com/apache/arrow/issues/41764)). | | int96_from_spark.parquet | Single column of (deprecated) int96 values that originated as Apache Spark microsecond-resolution timestamps. Some values are outside the range typically representable by 64-bit nanosecond-resolution timestamps. See [int96_from_spark.md](int96_from_spark.md) for details. | diff --git a/data/int32_with_uuid_logical_type.parquet b/data/int32_with_uuid_logical_type.parquet new file mode 100644 index 0000000000000000000000000000000000000000..400136461a0eceb28df8092e106e4973d9ec36cb GIT binary patch literal 353 zcmYk2yH3L}6o#D?Xkb996kD<6Aq!EFXjGS85~)kKP7o1xl#7cZC2dKQ!juW|5=^`U zkHyNw!k@BW>$A`0*Ez=y7I%^o8esptzkZwxYQi|J4bU`aQ1-z$o zt4$JIZGh^W!4b@$4UE>mT6T)vBh_J3n-c3RTUXbkhq}(v{0kCha>0c|1hf~#;Qs{_ zS=O+|G3Ha!KXmwOhZdL>CCMBWJ~e8xH;uXkV$(5LW41$Bz2`EkROuF*RORkEDwNe# zFHy106|ur?R6fVZ}07XTxWS|ul&h4nvG_19Q%=< gcoQ#Hkrxl;G)|=Fr%J_>p