Abacn commented on code in PR #37168:
URL: https://github.com/apache/beam/pull/37168#discussion_r2641066865
##########
sdks/java/io/iceberg/src/main/java/org/apache/beam/sdk/io/iceberg/RecordWriter.java:
##########
@@ -72,12 +74,14 @@ class RecordWriter {
}
OutputFile outputFile;
EncryptionKeyMetadata keyMetadata;
- try (FileIO io = table.io()) {
Review Comment:
Could another occurrence of this pattern experience similar issue? If so
also fix there:
https://github.com/apache/beam/blob/c511260907188aef46e9088ab4ce5eb5ee5b0adf/sdks/java/io/iceberg/src/main/java/org/apache/beam/sdk/io/iceberg/AppendFilesToTables.java#L190
--
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]