namrathamyske commented on code in PR #10973: URL: https://github.com/apache/iceberg/pull/10973#discussion_r1823154559
########## core/src/main/java/org/apache/iceberg/avro/AvroFileAppender.java: ########## @@ -113,6 +114,8 @@ private static <D> DataFileWriter<D> newAvroWriter( writer.setMeta(entry.getKey(), entry.getValue()); } + writer.setEncoder(b -> EncoderFactory.get().blockingDirectBinaryEncoder(b, null)); Review Comment: Should we also do it here: https://github.com/apache/iceberg/blob/f4b36a5e553cc8a14208890da2a3adc91ceefbda/core/src/main/java/org/apache/iceberg/data/avro/IcebergEncoder.java#L101 and https://github.com/apache/iceberg/blob/f4b36a5e553cc8a14208890da2a3adc91ceefbda/core/src/main/java/org/apache/iceberg/avro/AvroEncoderUtil.java#L57 -- 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