bryanck commented on code in PR #8701: URL: https://github.com/apache/iceberg/pull/8701#discussion_r1344405778
########## core/src/main/java/org/apache/iceberg/data/avro/DecoderResolver.java: ########## @@ -51,6 +51,10 @@ public static <T> T resolveAndRead( return value; } + public static void clearCache() { + DECODER_CACHES.get().clear(); + } Review Comment: In the sink, decoders were accumulating, so this was added so it could be cleared after an event was deserialized. -- 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