pvary commented on code in PR #8555:
URL: https://github.com/apache/iceberg/pull/8555#discussion_r1323987118


##########
flink/v1.17/flink/src/main/java/org/apache/iceberg/flink/sink/RowDataTaskWriterFactory.java:
##########
@@ -108,7 +130,10 @@ public RowDataTaskWriterFactory(
   @Override
   public void initialize(int taskId, int attemptId) {
     this.outputFileFactory =
-        OutputFileFactory.builderFor(table, taskId, 
attemptId).format(format).build();
+        OutputFileFactory.builderFor(initTable, taskId, attemptId)
+            .format(format)
+            .ioSupplier(() -> tableSupplier.get().io())

Review Comment:
   Could it be that the table io is changing during the lifetime of the table? 
Do we plan to accommodate those changes?



-- 
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]

Reply via email to