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


##########
flink/v1.16/flink/src/main/java/org/apache/iceberg/flink/source/FlinkSource.java:
##########
@@ -220,7 +212,7 @@ public FlinkInputFormat buildFormat() {
           
readableConfig.get(FlinkConfigOptions.TABLE_EXEC_ICEBERG_WORKER_POOL_SIZE));
 
       return new FlinkInputFormat(
-          tableLoader, icebergSchema, io, encryption, contextBuilder.build());
+          (SerializableTable) SerializableTable.copyOf(table), 
contextBuilder.build());

Review Comment:
   Is there a place where we specifically can not work with tables, just 
SerializedTables?
   I usually try to stick to the lowest requirements in method arguments, so we 
can have higher reusability.



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