rdblue commented on code in PR #11904: URL: https://github.com/apache/iceberg/pull/11904#discussion_r1924342038
########## parquet/src/main/java/org/apache/iceberg/data/parquet/BaseParquetWriter.java: ########## @@ -239,6 +269,12 @@ public Optional<ParquetValueWriters.PrimitiveWriter<?>> visit( LogicalTypeAnnotation.BsonLogicalTypeAnnotation bsonType) { return Optional.of(ParquetValueWriters.byteBuffers(desc)); } + + @Override + public Optional<ParquetValueWriters.PrimitiveWriter<?>> visit( + LogicalTypeAnnotation.UUIDLogicalTypeAnnotation uuidLogicalType) { + return Optional.ofNullable(uuidWriter(desc)); Review Comment: I don't think there's any need to make this more flexible. It makes sense to support the new `UUIDWriter` to ensure the tests pass with all primitive types, but this doesn't need to introduce a way to override the writer and representation (same for the read side). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org