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
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]