We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7fc8a5 commit b52ef72Copy full SHA for b52ef72
1 file changed
crates/iceberg/src/arrow/reader.rs
@@ -870,6 +870,10 @@ impl ArrowReader {
870
) if requested_precision >= file_precision && file_scale == requested_scale => true,
871
// Uuid will be store as Fixed(16) in parquet file, so the read back type will be Fixed(16).
872
(Some(PrimitiveType::Fixed(16)), Some(PrimitiveType::Uuid)) => true,
873
+ // Some Parquet writers (e.g. Snowflake) store FIXED_LEN_BYTE_ARRAY as
874
+ // Arrow Binary rather than FixedSizeBinary. Allow Binary -> Fixed(N)
875
+ // since the underlying bytes are the same.
876
+ (Some(PrimitiveType::Binary), Some(PrimitiveType::Fixed(_))) => true,
877
_ => false,
878
}
879
0 commit comments